/*! * Copyright 2021 Cognite AS */ /** * A cache that keeps values that is most frequently used (MFU) rather than a more common * least recently used (LRU) approach. */ export declare class MostFrequentlyUsedCache { private readonly _capacity; private readonly _cache; private readonly _retrieves; private readonly _disposeCallback; constructor(capacity: number, disposeCallback?: (value: TValue) => void); get(key: TKey): TValue | undefined; set(key: TKey, value: TValue): boolean; remove(key: TKey): boolean; clear(): void; private ensureWithinCapacity; }