import { CacheOptions, LruCache } from "./LruCache"; export type PromiseCacheOptions = CacheOptions> & { expireRejectedPromiseValues?: boolean; rejectedPromiseValueTtl?: number; }; export declare class PromiseLruCache extends LruCache> { protected expireRejectedPromiseValues: boolean; protected rejectedPromiseValueTtl: number; constructor(options: PromiseCacheOptions); set(key: K, value: Promise, ttl?: number): void; }