export interface Keyable { toKey(): string; } export interface CacheResult { value: V; cacheHit: boolean; isPositive: boolean; } export declare class EntitlementCache { private readonly negativeCache; private readonly positiveCache; constructor(options?: { positiveCacheTTLSeconds: number; negativeCacheTTLSeconds: number; positiveCacheSize?: number; negativeCacheSize?: number; }); executeUsingCache(keyable: K, onCacheMiss: (k: K) => Promise>): Promise>; } //# sourceMappingURL=EntitlementCache.d.ts.map