import type { AIAttachment } from '../../../types/ai';
export declare const useRAGStream: (path?: string, conversationId?: string) => {
    citations: import("../..").RAGCitation[];
    hasSources: boolean;
    latestAssistantMessage: import("../..").AIMessage | undefined;
    query: (content: string, attachments?: AIAttachment[]) => void;
    sourceGroups: import("../..").RAGSourceGroup[];
    sources: import("../..").RAGSource[];
    stage: import("../..").RAGStreamStage;
    branch: (messageId: string, content: string) => void;
    cancel: () => void;
    error: string | null;
    isStreaming: boolean;
    messages: import("../..").AIMessage[];
    send: (content: string, attachments?: AIAttachment[]) => void;
};
export type UseRAGStreamResult = ReturnType<typeof useRAGStream>;
