export interface TurnRecord { role: "user" | "assistant"; content: string; ts: string; } export declare class ConversationStore { private readonly projectRoot; private readonly sessionId; constructor(projectRoot: string, sessionId: string); /** * Append a turn record to the session JSONL file. * Creates the .bober/chat/ directory if it does not yet exist. */ append(record: TurnRecord): Promise; /** * Load the most recent `limit` turns from the session JSONL. * Returns records newest-last (chronological order). * Skips any malformed (non-parseable) lines silently. */ loadRecent(limit: number): Promise; } //# sourceMappingURL=conversation-store.d.ts.map