import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from "@absolutejs/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>;
    ingestUploads: (input: RAGDocumentUploadIngestInput) => Promise<RAGIngestResponse>;
    ingestUrls: (input: RAGDocumentUrlIngestInput) => Promise<RAGIngestResponse>;
    isIngesting: boolean;
    lastDocumentCount: number | null;
    lastIngestCount: number | null;
    lastResponse: RAGIngestResponse | null;
    reset: () => void;
};
export type UseRAGIngestResult = ReturnType<typeof useRAGIngest>;
