/// import * as ts from 'typescript'; import { HostBase } from './hosts-base'; import { RawSourceMap } from 'source-map'; export declare class MultipleFilesHost extends HostBase implements ts.CompilerHost { private _resolutionHosts; private _compilerOptions; private syntacticErrors; constructor(_resolutionHosts: ts.ModuleResolutionHost[], _compilerOptions?: ts.CompilerOptions); getCurrentDirectory(): string; directoryExists(directoryName: string): boolean; getDirectories(path: string): string[]; fileExists(fileName: string): boolean; readFile(fileName: string): string; getSourceFile(fileName: string): ts.SourceFile; getSyntacticErrors(): ts.Diagnostic[]; private getParserErrors(sourceFile); } export declare class SingleFileHost extends HostBase implements ts.CompilerHost { private _ast; private _output; private _map; private _declaration; constructor(_ast: ts.SourceFile); readonly output: string; readonly declaration: string; readonly sourceMap: RawSourceMap; fileExists(fileName: string): boolean; readFile(fileName: string): string; getSourceFile(fileName: string): ts.SourceFile; writeFile(name: string, text: string, writeByteOrderMark: boolean): void; }