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