import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from "@absolutejs/ai";
export declare const createRAGIngest: (path: string) => {
    clearIndex: () => Promise<{
        ok: boolean;
    }>;
    error: import("svelte/store").Writable<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: import("svelte/store").Writable<boolean>;
    lastDocumentCount: import("svelte/store").Writable<number | null>;
    lastIngestCount: import("svelte/store").Writable<number | null>;
    lastResponse: import("svelte/store").Writable<RAGIngestResponse | null>;
    reset: () => void;
};
