/** * @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{RawSourceMap}from'source-map';import*astsfrom'typescript';exportinterfaceTransformJavascriptOptions{content:string;inputFilePath?:string;outputFilePath?:string;emitSourceMap?:boolean;strict?:boolean;typeCheck?:boolean;getTransforms:Array<(program?:ts.Program)=>ts.TransformerFactory<ts.SourceFile>>;}exportinterfaceTransformJavascriptOutput{content:string|null;sourceMap:RawSourceMap|null;emitSkipped:boolean;}exportdeclarefunctiontransformJavascript(options:TransformJavascriptOptions):TransformJavascriptOutput;