import type { RAGDocumentChunkPreview } from '../../../types/ai';
export declare const createRAGChunkPreview: (path: string) => {
    clear: () => void;
    error: import("svelte/store").Writable<string | null>;
    inspect: (id: string) => Promise<{
        ok: true;
    } & RAGDocumentChunkPreview>;
    isLoading: import("svelte/store").Writable<boolean>;
    preview: import("svelte/store").Writable<RAGDocumentChunkPreview | null>;
};
export type CreateRAGChunkPreviewResult = ReturnType<typeof createRAGChunkPreview>;
