import type { Session, SessionCacheConfig } from '../types/index.js'; import type { SessionStore } from '../session/SessionStore.js'; /** * LRU session cache wrapping a SessionStore. * Reduces repeated store lookups for same-process reads (~10-90ms per warm turn). */ export declare class SessionCache { private cache; private maxEntries; private ttlMs; constructor(config?: SessionCacheConfig); getOrLoad(id: string, store: SessionStore): Promise; put(session: Session): void; invalidate(id: string): void; }