import type { RAGDocumentsResponse, RAGIndexedDocument } from "@absolutejs/ai";
export declare const createRAGDocuments: (path: string) => {
    documents: import("svelte/store").Writable<RAGIndexedDocument[]>;
    error: import("svelte/store").Writable<string | null>;
    isLoading: import("svelte/store").Writable<boolean>;
    lastResponse: import("svelte/store").Writable<RAGDocumentsResponse | null>;
    load: (kind?: string) => Promise<RAGDocumentsResponse>;
    reset: () => void;
};
export type CreateRAGDocumentsResult = ReturnType<typeof createRAGDocuments>;
