import { CompilerHost, CompilerHostContext } from '@angular/compiler-cli'; import { CompilerOptions, Program, SourceFile } from 'typescript'; export interface AngularCompilerOptions extends CompilerOptions { basePath?: string; genDir?: string; entryModule?: string; debug?: boolean; } export declare class AotCompilerHost extends CompilerHost { protected program: Program; protected options: AngularCompilerOptions; protected context: CompilerHostContext; protected sourceFileCache: Map; constructor(program: Program, options: AngularCompilerOptions, context: CompilerHostContext, sourceFileCache: Map); getSourceFile(fileName: string): SourceFile; }