export default class CacheHolder { private static TEMP_TASK_DIR; static getTempDir(...paths: string[]): string; static read(repoName: string, token: string): Promise>; static write(repoName: string, token: string, files: Map): Promise; private static isValid; /** * Clears cached files by repo name and token */ static delete(...paths: string[]): void; /** * Clears all cached files */ static clear(): void; private static deleteDir; static clearOutdatedExcept(repoName?: string, maxAgeMs?: number): Promise; } export declare function cached(): (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => void;