import type { CacheBackend } from "../types.js"; export declare class MemoryCacheBackend implements CacheBackend { readonly type: "memory"; private store; private globCache; private maxEntries; private readonly maxSizeBytes; private currentSizeBytes; constructor(maxEntries?: number, options?: { maxSizeBytes?: number; }); private estimateSize; private evictOldest; get(key: string): Promise; getWithinLimit(key: string, maximumBytes: number): Promise; getRemainingTtlSeconds(key: string): Promise; getBatch(keys: string[]): Promise>; set(key: string, value: string, ttlSeconds?: number): Promise; setBatch(entries: Array<{ key: string; value: string; ttl?: number; }>): Promise; del(key: string): Promise; delByPattern(pattern: string): Promise; clear(): void; get size(): number; get sizeBytes(): number; } //# sourceMappingURL=memory.d.ts.map