import type { RAGBackendsResponse, RAGMutationResponse } from '../../../types/ai';
export declare const useRAGIndexAdmin: (path: string) => {
    backends: RAGBackendsResponse | null;
    clearIndex: () => Promise<{
        ok: boolean;
    }>;
    createDocument: (input: {
        id?: string;
        title?: string;
        source?: string;
        text: string;
        format?: "text" | "markdown" | "html";
        metadata?: Record<string, unknown>;
        chunking?: {
            maxChunkLength?: number;
            chunkOverlap?: number;
            minChunkLength?: number;
            strategy?: "paragraphs" | "sentences" | "fixed" | "source_aware";
        };
    }) => Promise<RAGMutationResponse>;
    deleteDocument: (id: string) => Promise<RAGMutationResponse>;
    error: string | null;
    isLoading: boolean;
    lastMutation: RAGMutationResponse | null;
    loadBackends: () => Promise<RAGBackendsResponse>;
    reseed: () => Promise<RAGMutationResponse>;
    reset: () => Promise<RAGMutationResponse>;
    resetState: () => void;
};
export type UseRAGIndexAdminResult = ReturnType<typeof useRAGIndexAdmin>;
