import type { AgentSession } from "../types.js"; import type { WorkingMemoryBufferConfig } from "../buffer/working-memory-buffer.js"; import { PgSynapseSessionStore } from "./session-store-pg.js"; export interface SessionStore { save(session: AgentSession): void; load(sessionId: string): AgentSession | null; delete(sessionId: string): void; recordAccess(sessionId: string, memoryId: string, count: number): void; ensureReady(): Promise; } /** Test double; production always instantiates PgSynapseSessionStore. */ export declare class MemorySessionStore implements SessionStore { save(): void; load(): AgentSession | null; delete(): void; recordAccess(): void; ensureReady(): Promise; } export declare function getSessionStore(): PgSynapseSessionStore; export declare function resetSessionStore(): void; export type { WorkingMemoryBufferConfig }; export declare function tokenize(text: string): Set; //# sourceMappingURL=session-store.d.ts.map