import type { AIConversation, AIMessage, AIProviderMessage } from "../../types/ai"; export declare const createConversationManager: () => { abort: (conversationId: string) => void; appendMessage: (conversationId: string, message: AIMessage) => void; branch: (fromMessageId: string, sourceConversationId: string) => `${string}-${string}-${string}-${string}-${string}` | null; edit: (messageId: string, sourceConversationId: string) => `${string}-${string}-${string}-${string}-${string}` | null; get: (conversationId: string) => AIConversation | undefined; getAbortController: (conversationId: string) => AbortController; getHistory: (conversationId: string) => AIProviderMessage[]; getMessages: (conversationId: string) => AIMessage[]; getOrCreate: (conversationId?: string) => AIConversation; list: () => { createdAt: number; id: string; lastMessageAt: number | undefined; messageCount: number; title: string; }[]; remove: (conversationId: string) => boolean; };