export interface CacheItem<T> {
    count: number;
    data: T;
}
export declare class CountedCache<T = any> {
    private caches;
    private count;
    get length(): number;
    getAll(): Array<[string, CacheItem<T>]>;
    clear(): void;
    has(key: string): boolean;
    set(key: string, value: T): void;
    get(key: string): T | null;
    remove(key: string): void;
}
