export interface ClientCacheOptions { prefix?: string[]; cache?: Map; } export declare class ClientCache { #private; constructor({ prefix, cache }?: ClientCacheOptions); read(key: [string, ...string[]], load: () => T | Promise): T | Promise; readSync(key: [string, ...string[]], load: () => T): T; clear(prefix?: string[]): void; scope(prefix: string | string[]): ClientCache; }