import ts from 'typescript'; import type { AsyncCompilers, SyncCompilers } from '../compilers/types.js'; interface SourceFileManagerOptions { isSkipLibs: boolean; compilers: [SyncCompilers, AsyncCompilers]; } export declare class SourceFileManager { isSkipLibs: boolean; sourceFileCache: Map; snapshotCache: Map; scriptVersions: Map; syncCompilers: SyncCompilers; asyncCompilers: AsyncCompilers; constructor({ compilers, isSkipLibs }: SourceFileManagerOptions); createSourceFile(filePath: string, contents: string): ts.SourceFile; getSourceFile(filePath: string): ts.SourceFile | undefined; getSnapshot(filePath: string): ts.IScriptSnapshot | undefined; getScriptVersion(filePath: string): number; invalidate(filePath: string): void; compileAndAddSourceFile(filePath: string): Promise; } export {};