import * as ts from 'typescript'; export interface CompilerHostWithExternals extends ts.CompilerHost { getExternals(): ts.ResolvedModuleFull[]; getRelocated(): RelocatedModule[]; } export interface RelocatedModule { moduleName: string; originalPath: string; } export declare function createCompilerHost(options: ts.CompilerOptions, rootDir: string): CompilerHostWithExternals;