export declare class Cache<T> {
    private static readonly defaultCache;
    private static readonly namespaces;
    private readonly cache;
    private constructor();
    static getInstance<T>(namespace?: string): Cache<T>;
    set(key: string, value: any): void;
    get(key?: string, defaults?: any): any;
    clear(key?: string): void;
}
