import type { CacheInterface } from './cache-interface.js';
export declare class FileCache<RESULT extends object = object> implements CacheInterface<RESULT> {
    private cacheFile;
    private tapped;
    private cached?;
    private originalCache?;
    private versionHash?;
    constructor(cacheFile: string);
    get<KEY extends string>(uniqueContents: KEY, generator: () => RESULT): RESULT;
    persist(): void;
    private sortByKey;
    private readCache;
    private getVersionHash;
    private getCacheFile;
}
