/** * @license * Copyright Google LLC 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 * as ts from 'typescript'; export declare function createTypescriptContext(content: string, additionalFiles?: Record, useLibs?: boolean, extraCompilerOptions?: ts.CompilerOptions, jsxFile?: boolean): { compilerHost: ts.CompilerHost; program: ts.Program; }; export declare function transformTypescript(content: string | undefined, transformers: ts.TransformerFactory[], program?: ts.Program, compilerHost?: ts.CompilerHost): string | undefined;