import { CacheEntry, CacheStore } from '../client'; export class MemoryCacheStore implements CacheStore { private store = new Map(); get(key: string): CacheEntry | null { return this.store.get(key) ?? null; } set(key: string, entry: CacheEntry): void { this.store.set(key, entry); } delete(key: string): void { this.store.delete(key); } clear(): void { this.store.clear(); } }