import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGIngestResponse } from '../../../types/ai';
export declare const useRAGIngest: (path: string) => {
    clearIndex: () => Promise<void>;
    error: string | null;
    ingest: (chunks: RAGDocumentChunk[]) => Promise<RAGIngestResponse>;
    ingestChunks: (chunks: RAGDocumentChunk[]) => Promise<RAGIngestResponse>;
    ingestDocuments: (input: RAGDocumentIngestInput) => Promise<RAGIngestResponse>;
    isIngesting: boolean;
    lastDocumentCount: number | null;
    lastIngestCount: number | null;
    lastResponse: RAGIngestResponse | null;
    reset: () => void;
};
export type UseRAGIngestResult = ReturnType<typeof useRAGIngest>;
