import type { RAGDocumentChunkPreview } from "@absolutejs/ai";
export declare const useRAGChunkPreview: (path: string) => {
    activeChunkId: import("vue").Ref<string | null, string | null>;
    activeSectionDiagnostic: import("vue").ComputedRef<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic | null>;
    clear: () => void;
    chunkGraph: import("vue").ComputedRef<import("@absolutejs/ai").RAGChunkGraph | null>;
    error: import("vue").Ref<string | null, string | null>;
    inspect: (id: string) => Promise<{
        ok: true;
    } & RAGDocumentChunkPreview>;
    isLoading: import("vue").Ref<boolean, boolean>;
    navigation: import("vue").ComputedRef<import("@absolutejs/ai").RAGChunkGraphNavigation | null>;
    preview: import("vue").Ref<{
        document: {
            source: string;
            title: string;
            id: string;
            kind?: string | undefined;
            format?: import("@absolutejs/ai").RAGContentFormat | undefined;
            corpusKey?: string | undefined;
            chunkCount?: number | undefined;
            labels?: {
                contextLabel?: string | undefined;
                locatorLabel?: string | undefined;
                provenanceLabel?: string | undefined;
            } | undefined;
            createdAt?: number | undefined;
            chunkStrategy?: import("@absolutejs/ai").RAGChunkingStrategy | undefined;
            chunkSize?: number | undefined;
            updatedAt?: number | undefined;
            metadata?: Record<string, unknown> | undefined;
        };
        normalizedText: string;
        chunks: {
            chunkId: string;
            corpusKey?: string | undefined;
            text: string;
            title?: string | undefined;
            source?: string | undefined;
            metadata?: Record<string, unknown> | undefined;
            embedding?: number[] | undefined;
            embeddingVariants?: {
                id: string;
                label?: string | undefined;
                text?: string | undefined;
                metadata?: Record<string, unknown> | undefined;
                embedding?: number[] | undefined;
            }[] | undefined;
            structure?: {
                section?: {
                    title?: string | undefined;
                    path?: string[] | undefined;
                    depth?: number | undefined;
                    kind?: "markdown_heading" | "html_heading" | "office_heading" | "office_block" | "pdf_block" | "spreadsheet_rows" | "presentation_slide" | undefined;
                } | undefined;
                sequence?: {
                    sectionChunkId?: string | undefined;
                    sectionChunkIndex?: number | undefined;
                    sectionChunkCount?: number | undefined;
                    previousChunkId?: string | undefined;
                    nextChunkId?: string | undefined;
                } | undefined;
            } | undefined;
            labels?: {
                contextLabel?: string | undefined;
                locatorLabel?: string | undefined;
                provenanceLabel?: string | undefined;
            } | undefined;
            excerpts?: {
                chunkExcerpt: string;
                windowExcerpt: string;
                sectionExcerpt: string;
            } | undefined;
            excerptSelection?: {
                mode: import("@absolutejs/ai").RAGExcerptMode;
                reason: import("@absolutejs/ai").RAGExcerptPromotionReason;
            } | undefined;
        }[];
    } | null, RAGDocumentChunkPreview | {
        document: {
            source: string;
            title: string;
            id: string;
            kind?: string | undefined;
            format?: import("@absolutejs/ai").RAGContentFormat | undefined;
            corpusKey?: string | undefined;
            chunkCount?: number | undefined;
            labels?: {
                contextLabel?: string | undefined;
                locatorLabel?: string | undefined;
                provenanceLabel?: string | undefined;
            } | undefined;
            createdAt?: number | undefined;
            chunkStrategy?: import("@absolutejs/ai").RAGChunkingStrategy | undefined;
            chunkSize?: number | undefined;
            updatedAt?: number | undefined;
            metadata?: Record<string, unknown> | undefined;
        };
        normalizedText: string;
        chunks: {
            chunkId: string;
            corpusKey?: string | undefined;
            text: string;
            title?: string | undefined;
            source?: string | undefined;
            metadata?: Record<string, unknown> | undefined;
            embedding?: number[] | undefined;
            embeddingVariants?: {
                id: string;
                label?: string | undefined;
                text?: string | undefined;
                metadata?: Record<string, unknown> | undefined;
                embedding?: number[] | undefined;
            }[] | undefined;
            structure?: {
                section?: {
                    title?: string | undefined;
                    path?: string[] | undefined;
                    depth?: number | undefined;
                    kind?: "markdown_heading" | "html_heading" | "office_heading" | "office_block" | "pdf_block" | "spreadsheet_rows" | "presentation_slide" | undefined;
                } | undefined;
                sequence?: {
                    sectionChunkId?: string | undefined;
                    sectionChunkIndex?: number | undefined;
                    sectionChunkCount?: number | undefined;
                    previousChunkId?: string | undefined;
                    nextChunkId?: string | undefined;
                } | undefined;
            } | undefined;
            labels?: {
                contextLabel?: string | undefined;
                locatorLabel?: string | undefined;
                provenanceLabel?: string | undefined;
            } | undefined;
            excerpts?: {
                chunkExcerpt: string;
                windowExcerpt: string;
                sectionExcerpt: string;
            } | undefined;
            excerptSelection?: {
                mode: import("@absolutejs/ai").RAGExcerptMode;
                reason: import("@absolutejs/ai").RAGExcerptPromotionReason;
            } | undefined;
        }[];
    } | null>;
    sectionDiagnostics: import("vue").ComputedRef<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic[]>;
    selectChildSection: (sectionId: string) => void;
    selectChunk: (id: string | null) => void;
    selectParentSection: () => void;
    selectSiblingSection: (sectionId: string) => void;
};
export type UseRAGChunkPreviewResult = ReturnType<typeof useRAGChunkPreview>;
