import type { RAGBackendsResponse, RAGDocumentChunksResponse, RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentsResponse, RAGIngestResponse, RAGMutationResponse, RAGSearchRequest, RAGSource, RAGStatusResponse } from '../../../types/ai';
export declare class RAGClientService {
    private clients;
    private client;
    ingest(path: string, chunks: RAGDocumentChunk[]): Promise<RAGIngestResponse>;
    ingestDocuments(path: string, input: RAGDocumentIngestInput): Promise<RAGIngestResponse>;
    search(path: string, input: RAGSearchRequest): Promise<RAGSource[]>;
    status(path: string): Promise<RAGStatusResponse>;
    documents(path: string, kind?: string): Promise<RAGDocumentsResponse>;
    documentChunks(path: string, id: string): Promise<RAGDocumentChunksResponse>;
    createDocument(path: string, input: RAGDocumentIngestInput['documents'][number]): Promise<RAGMutationResponse>;
    deleteDocument(path: string, id: string): Promise<RAGMutationResponse>;
    reseed(path: string): Promise<RAGMutationResponse>;
    reset(path: string): Promise<RAGMutationResponse>;
    backends(path: string): Promise<RAGBackendsResponse>;
    clearIndex(path: string): Promise<{
        ok: boolean;
    }>;
}
