export interface CachedDiagnostics {
    diagnostics: any;
    timestamp: number;
    filesMtime: number;
}
export declare class DiagnosticsCache {
    private cache;
    private defaultTTL;
    get(directory: string, file?: string): Promise<any | null>;
    set(directory: string, file: string | undefined, diagnostics: any): Promise<void>;
    private getCacheKey;
    private getFilesMtime;
}
export declare const diagnosticsCache: DiagnosticsCache;
