import ts from 'typescript'; export interface CompilerHost { readonly getAllTypescriptFilesInDir: (dir: string) => Promise>; readonly createSnippetFile: (fileName?: string) => string; readonly getSmartContractPath: (file: string) => string; readonly getSmartContractLibPath: (file: string) => string; readonly createLanguageServiceHost: (rootNames: ReadonlyArray, options: ts.CompilerOptions, withTestHarness?: boolean) => ts.LanguageServiceHost; }