import type { AIAttachment } from "../../../types/ai"; export declare const useAIStream: (path?: string, conversationId?: string) => { branch: (messageId: string, content: string) => void; cancel: () => void; edit: (messageId: string, content: string) => void; error: string | null; isStreaming: boolean; messages: import("../../ai").AIMessage[]; send: (content: string, attachments?: AIAttachment[]) => void; };