/** * In-Memory Cache Store * * Simple implementation for development and testing. * Not suitable for production (no persistence, single-instance only). * * @internal This is reserved for future extensibility. * For segment caching, use MemorySegmentCacheStore instead. */ import type { CacheStore, CacheEntry, CacheValue, CachePutOptions } from "./types.js"; /** * In-memory cache store implementation */ export declare class MemoryCacheStore implements CacheStore { private cache; match(key: string): Promise | undefined>; put(key: string, value: T, options?: CachePutOptions): Promise; delete(key: string): Promise; /** * Clear all entries (useful for testing) */ clear(): void; /** * Get current cache size (useful for testing/debugging) */ get size(): number; /** * Manually purge expired entries */ purgeExpired(): number; /** * Prepare a value for storage * Converts streams and responses to ArrayBuffer, detects type */ private prepareForStorage; /** * Reconstruct original value type from stored entry */ private reconstructValue; } //# sourceMappingURL=memory-store.d.ts.map