import { type Readable } from 'svelte/store';
import type { AIMessage } from '../../../types/ai';
export declare const createRAGSources: (messages: Readable<AIMessage[]>) => {
    hasSources: Readable<boolean>;
    latestAssistantMessage: Readable<AIMessage | undefined>;
    sourceGroups: Readable<import("../..").RAGSourceGroup[]>;
    sources: Readable<import("../..").RAGSource[]>;
};
export type CreateRAGSourcesResult = ReturnType<typeof createRAGSources>;
