import { type Readable } from "svelte/store";
import type { AIMessage } from "@absolutejs/ai";
export declare const createRAGSources: (messages: Readable<AIMessage[]>) => {
    citationReferenceMap: Readable<import("@absolutejs/ai").RAGCitationReferenceMap>;
    chunkGraph: Readable<import("@absolutejs/ai").RAGChunkGraph>;
    hasSources: Readable<boolean>;
    latestAssistantMessage: Readable<AIMessage | undefined>;
    navigationForChunk: (chunkId?: string | null) => import("@absolutejs/ai").RAGChunkGraphNavigation;
    sectionDiagnostics: Readable<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic[]>;
    sourceGroups: Readable<import("@absolutejs/ai").RAGSourceGroup[]>;
    sources: Readable<import("@absolutejs/ai").RAGSource[]>;
    sourceSummaries: Readable<import("@absolutejs/ai").RAGSourceSummary[]>;
};
export type CreateRAGSourcesResult = ReturnType<typeof createRAGSources>;
