import type { Cache } from '../types.js';
/**
 * Create a new cache that ignores all values.
 * @returns A void cache implementation.
 */
export declare function voidCache(): Cache;
/**
 * Create a new cache that uses an LRU eviction policy.
 * @param options Cache options.
 * @param options.max Maximum number of cache entries.
 * @param options.ttl Time-to-live for cache entries.
 * @returns An LRU cache implementation.
 */
export declare function lruCache({ max, // max entries
ttl }?: {
    max?: number;
    ttl?: number;
}): Cache;
//# sourceMappingURL=cache.d.ts.map