import type { Store } from './store.ts'; export interface MemoryStoreOptions { /** maximum number of items the store can hold */ maxSize?: number; /** time-to-live in milliseconds */ ttl?: number; /** whether to automatically purge expired entries */ ttlAutopurge?: boolean; } /** * in-memory store with optional LRU eviction and TTL expiration. * * suitable for development, testing, or single-instance deployments. * for production with multiple instances, use a shared store (e.g., Redis). */ export declare class MemoryStore implements Store, Disposable { #private; /** * creates a new in-memory store. * * @param options store configuration */ constructor(options?: MemoryStoreOptions); /** @inheritdoc */ get(key: K): V | undefined; /** @inheritdoc */ set(key: K, value: V): void; /** @inheritdoc */ delete(key: K): void; /** @inheritdoc */ clear(): void; /** * stops background timers and releases resources. */ dispose(): void; [Symbol.dispose](): void; } //# sourceMappingURL=memory-store.d.ts.map