import { ts } from './typescript'; export interface NgParserHost { program: ts.Program; } export interface DefaultNgParserHostOptions { tsConfigPath?: string; fileGlobs?: string; rootDir?: string; watch?: boolean; watcher?: (event: string, filename: string) => void; fsHost?: { fileExists: (path: string) => boolean; readFile: (path: string) => string; writeFile: (path: string, data: string, writeByteOrderMark?: boolean) => void; readDirectory: (rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[], depth?: number) => readonly string[]; }; } export declare class DefaultNgParserHost implements NgParserHost { private options; private rootFileNames; private compileOptions; private tsProgram; private allResolvedModules; private moduleWatchersMap; private latestFileContents; private rootDir; static create(options: DefaultNgParserHostOptions): NgParserHost; get program(): ts.Program; constructor(options: DefaultNgParserHostOptions); private createProgram; private initialize; private watchResolvedModules; private getSourceFile; private createCompilerHost; private resolveModuleNames; } export declare function createNgParserHost(options: DefaultNgParserHostOptions): DefaultNgParserHost; //# sourceMappingURL=ng-parser-host.d.ts.map