export declare class Cache { private cacheFilePath; private cache; private dirty; constructor(cacheFilePath: string); get(key: string): T; getMtime(key: string): number; put(key: string, content: T, mtime: number): void; remove(key: string): void; commit(): Promise; } export declare class FSCacheAccessor { private cache; private dataFactory; constructor(cache: Cache, dataFactory: (path: string) => Promise); getFileData(path: string): Promise; updateCache(): Promise; } export declare class FSCacheAccessError extends Error { }