import { AotCompiler, StaticReflector, StaticSymbol } from '@angular/compiler'; import { CompilerOptions, ParsedCommandLine, Program, SourceFile } from 'typescript'; import { Host } from './host'; import { AotContext } from './context'; import { AngularCompilerOptions, AotCompilerHost } from './compiler'; export interface AotConfig { entryModule?: string; tsConfig: string; } export interface GeneratedFile { genFileUrl: string; source: string; srcFileUrl: string; } export declare class AotPlugin { private config; context: AotContext; files: string[]; componentDependencies: Map; moduleDependencies: Map; parentDependencies: Map; compilePromise: Promise; ranInitialCompile: boolean; entryModule: { path: string; module: string; }; prevTimestamps: Map; startTime: number; resources: Map; resourcesDependencies: Map; sourceFileCache: Map; symbols: StaticSymbol[]; parsedConfig: ParsedCommandLine; tsConfig: { angularCompilerOptions?: AngularCompilerOptions; compilerOptions: CompilerOptions; }; aotCompiler: { compiler: AotCompiler; reflector: StaticReflector; }; host: Host; program: Program; ngCompilerHost: AotCompilerHost; constructor(config: AotConfig); apply(compiler: any): void; calculateEmitPath(filePath: string): string; compileFiles(files: string[], checkDependencies?: boolean): Promise; createSourceFiles(files: string[], compilation: any): void; getModuleDependencies(sourceFile: SourceFile, file: string): { loadChildren: string[]; fileDependencies: string[]; }; findLocalDependencies(sourceFile: SourceFile): string[]; registerResources(from: string, resources: string[]): void; removeDeletedFiles(files: string[]): string[]; }