export declare class Cache { visited: Record; persisted: Record; pathToFile: string; constructor(docId: string, cacheDir?: any); save(noPrune?: boolean): void; getKey(key: string): any; setKey(key: string, value: any): void; private prune; } export declare function readJSON(filePath: string): JSON;