import type { CachePayload, CacheStore, CacheStoreStats } from "../types.js"; interface CacheLike { get(key: K): V | undefined; set(key: K, value: V): void; delete(key: K): void; keys(): IterableIterator; clear(): void; destroy?(): void; } export interface MemoryCacheStoreOptions { maxEntries?: number; ttlMs?: number; /** Disable store-level TTL when callers classify payload expiration themselves. */ enforceStoreTtl?: boolean; /** Optional cache implementation for testing */ cache?: CacheLike; } export declare class MemoryCacheStore implements CacheStore { private cache; constructor(options?: MemoryCacheStoreOptions); get(key: string): Promise; set(key: string, value: CachePayload): Promise; delete(key: string): Promise; deleteIfUnchanged(key: string, expected: CachePayload): Promise; deleteByPrefix(prefix: string): Promise; clear(): Promise; destroy(): Promise; size(): number; getStats(): CacheStoreStats; } export {}; //# sourceMappingURL=memory-store.d.ts.map