export declare class RefCountCache<CacheValue, CounterValue> {
    private cacheStore;
    onRefAdded(ref: CounterValue): void;
    has(key: string): boolean;
    put(key: string, item: CacheValue, ref: CounterValue): boolean;
    get(key: string, ref: CounterValue): CacheValue;
    update(key: string, value: CacheValue, ref: CounterValue): boolean;
    release(key: string, ref: CounterValue): boolean;
    releaseRef(ref: CounterValue): void;
    getSize(): number;
    clear(): void;
}
//# sourceMappingURL=RefCountCache.d.ts.map