/** * Conversation store - persists conversations to JSON files */ import type { Conversation, Message, ConversationSpec } from "./types.js"; export interface ConversationStore { getConversation(id: string): Promise; getConversationsByRepo(userId: string, repoId: string): Promise; getConversationsByUser(userId: string): Promise; createConversation(userId: string, repoId: string): Promise; updateConversation(id: string, updates: Partial): Promise; addMessage(conversationId: string, message: Message): Promise; addSpec(conversationId: string, spec: ConversationSpec): Promise; updateSpec(conversationId: string, specId: string, updates: Partial): Promise; forkConversation(id: string, userId: string, newTitle?: string): Promise; deleteConversation(id: string): Promise; } export declare function createConversationStore(dataDir: string): ConversationStore; //# sourceMappingURL=store.d.ts.map