import type { CacheData, CacheOptionsInput } from './type';
export declare class CacheClient {
    private readonly options;
    constructor(input?: string | boolean | CacheOptionsInput);
    save(data: CacheData): Promise<string | undefined>;
    get(sourceFilesSize: number): Promise<CacheData | undefined>;
    /**
     * At a 10% chance, clear all cache files :)
     */
    clear(): Promise<void>;
    private buildFilePath;
    private buildFileName;
    protected serialize(input: unknown): string;
}
//# sourceMappingURL=client.d.ts.map