import type { AIAttachment } from "@absolutejs/ai";
export declare const createRAGStream: (path: string, conversationId?: string) => {
    citations: import("svelte/store").Readable<import("@absolutejs/ai").RAGCitation[]>;
    groundedAnswer: import("svelte/store").Readable<import("@absolutejs/ai").RAGGroundedAnswer>;
    groundingReferences: import("svelte/store").Readable<import("@absolutejs/ai").RAGGroundingReference[]>;
    error: import("svelte/store").Readable<string | null>;
    hasRetrieved: import("svelte/store").Readable<boolean>;
    hasSources: import("svelte/store").Readable<boolean>;
    isAnswerStreaming: import("svelte/store").Readable<boolean>;
    isComplete: import("svelte/store").Readable<boolean>;
    isRetrieved: import("svelte/store").Readable<boolean>;
    isRetrieving: import("svelte/store").Readable<boolean>;
    isStreaming: import("svelte/store").Readable<boolean>;
    latestAssistantMessage: import("svelte/store").Readable<import("@absolutejs/ai").AIMessage | undefined>;
    messages: import("svelte/store").Readable<import("@absolutejs/ai").AIMessage[]>;
    progress: import("svelte/store").Readable<import("../presentation/presentation").RAGStreamProgress>;
    query: (content: string, attachments?: AIAttachment[]) => void;
    retrieval: import("svelte/store").Readable<import("@absolutejs/ai").RAGRetrievedState | null>;
    sourceGroups: import("svelte/store").Readable<import("@absolutejs/ai").RAGSourceGroup[]>;
    sourceSummaries: import("svelte/store").Readable<import("@absolutejs/ai").RAGSourceSummary[]>;
    sources: import("svelte/store").Readable<import("@absolutejs/ai").RAGSource[]>;
    stage: import("svelte/store").Readable<import("@absolutejs/ai").RAGStreamStage>;
    workflow: import("svelte/store").Readable<import("@absolutejs/ai").RAGAnswerWorkflowState>;
    branch: (messageId: string, content: string) => void;
    cancel: () => void;
    destroy: () => void;
    send: (content: string, attachments?: AIAttachment[]) => void;
    subscribe: (callback: () => void) => () => void;
};
export type CreateRAGStreamResult = ReturnType<typeof createRAGStream>;
