import type { RAGDocumentChunkPreview } from "@absolutejs/ai";
export declare const createRAGChunkPreview: (path: string) => {
    activeChunkId: import("svelte/store").Writable<string | null>;
    activeSectionDiagnostic: import("svelte/store").Readable<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic | null>;
    clear: () => void;
    chunkGraph: import("svelte/store").Readable<import("@absolutejs/ai").RAGChunkGraph | null>;
    error: import("svelte/store").Writable<string | null>;
    inspect: (id: string) => Promise<{
        ok: true;
    } & RAGDocumentChunkPreview>;
    isLoading: import("svelte/store").Writable<boolean>;
    navigation: import("svelte/store").Readable<import("@absolutejs/ai").RAGChunkGraphNavigation | null>;
    preview: import("svelte/store").Writable<RAGDocumentChunkPreview | null>;
    sectionDiagnostics: import("svelte/store").Readable<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic[]>;
    selectChildSection: (sectionId: string) => void;
    selectChunk: (id: string | null) => void;
    selectParentSection: () => void;
    selectSiblingSection: (sectionId: string) => void;
};
export type CreateRAGChunkPreviewResult = ReturnType<typeof createRAGChunkPreview>;
