import type { ConversationThread, FetchHistoryOptions, IConversationHistoryProvider, Platform } from './types'; export declare class SqliteConversationProvider implements IConversationHistoryProvider { private readonly dbPath; constructor(dbPath?: string); private getThreadRepo; updateThread(id: string, patch: { title?: string; }): void; ensureThread(threadId: string, platform: Platform, workspaceId?: string): Promise<{ created: boolean; }>; fetchHistory(threadId: string, options?: FetchHistoryOptions): Promise; saveUserMessage(threadId: string, text: string, _userId?: string, _metadata?: Record): Promise<{ id: string; firstMessage: boolean; }>; saveAssistantMessage(threadId: string, text: string, _agentId: string, _metadata?: Record): Promise<{ id: string; }>; close(): void; private normalizeStatus; private rowsToMessages; }