/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */import{ParseSourceSpan}from'@angular/compiler';import*astsfrom'typescript';import{Diagnostic}from'../transformers/api';exportinterfaceTypeCheckHost{parseSourceSpanOf(fileName:string,line:number,character:number):ParseSourceSpan|null;}exportdeclarefunctiontranslateDiagnostics(host:TypeCheckHost,untranslatedDiagnostics:ReadonlyArray<ts.Diagnostic>):{ts:ts.Diagnostic[];ng:Diagnostic[];};