import ts from 'typescript';
export interface CachedSourceFile {
    sourceCode: string;
    sourceFile: ts.SourceFile;
}
export declare function getCachedSourceFile(filePath: string): CachedSourceFile;
/** Like getCachedSourceFile, but returns undefined when the file cannot be read. */
export declare function tryGetCachedSourceFile(filePath: string): CachedSourceFile | undefined;
export declare function clearSourceFileCache(): void;
export declare function sourceFileCacheSize(): number;
//# sourceMappingURL=sourceFileCache.d.ts.map