export declare class GenericCache { private _keyLookupFunction?; /** @remarks Using a keyLoopupFunction makes the cache much much slower! */ constructor(_keyLookupFunction?: ((key1: Key, key2: Key) => boolean) | undefined); _cache: Map; get(key: Key, createMissing: () => Item): Item; delete: (key: Key) => boolean; clear: () => void; /** * This might seem unnecessary, but for non-primitive datatypes equality is compared on * reference, not value, so finding the right key is a thing that must be done. */ findExistingKeyOrReturnInput(key: Key, keyLookupFunction: (key1: Key, key2: Key) => boolean): Key; } //# sourceMappingURL=GenericCache.d.ts.map