import type { ReasonerMessage } from "./reasoner.js"; /** * Durable per-session reasoner conversation history. `save` persists the full * (already bounded) history snapshot — snapshot semantics, not append, because * barge-in truncation rewrites earlier messages to the heard prefix (G25). */ export interface ReasonerSessionStore { load(sessionId: string): Promise | readonly ReasonerMessage[]; save(sessionId: string, messages: readonly ReasonerMessage[]): Promise | void; clear(sessionId: string): Promise | void; } export declare class InMemoryReasonerSessionStore implements ReasonerSessionStore { private readonly sessions; load(sessionId: string): readonly ReasonerMessage[]; save(sessionId: string, messages: readonly ReasonerMessage[]): void; clear(sessionId: string): void; } //# sourceMappingURL=reasoner-session-store.d.ts.map