import type { RAGDocumentChunkPreview } from '../../../types/ai';
export declare const useRAGChunkPreview: (path: string) => {
    clear: () => void;
    error: import("vue").Ref<string | null, string | null>;
    inspect: (id: string) => Promise<{
        ok: true;
    } & RAGDocumentChunkPreview>;
    isLoading: import("vue").Ref<boolean, boolean>;
    preview: import("vue").Ref<{
        document: {
            source: string;
            id: string;
            kind?: string | undefined;
            title: string;
            format?: import("../..").RAGContentFormat | undefined;
            chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
            chunkSize?: number | undefined;
            chunkCount?: number | undefined;
            createdAt?: number | undefined;
            updatedAt?: number | undefined;
            metadata?: Record<string, unknown> | undefined;
        };
        normalizedText: string;
        chunks: {
            chunkId: string;
            text: string;
            title?: string | undefined;
            source?: string | undefined;
            metadata?: Record<string, unknown> | undefined;
            embedding?: number[] | undefined;
        }[];
    } | null, RAGDocumentChunkPreview | {
        document: {
            source: string;
            id: string;
            kind?: string | undefined;
            title: string;
            format?: import("../..").RAGContentFormat | undefined;
            chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
            chunkSize?: number | undefined;
            chunkCount?: number | undefined;
            createdAt?: number | undefined;
            updatedAt?: number | undefined;
            metadata?: Record<string, unknown> | undefined;
        };
        normalizedText: string;
        chunks: {
            chunkId: string;
            text: string;
            title?: string | undefined;
            source?: string | undefined;
            metadata?: Record<string, unknown> | undefined;
            embedding?: number[] | undefined;
        }[];
    } | null>;
};
export type UseRAGChunkPreviewResult = ReturnType<typeof useRAGChunkPreview>;
