/** * RAG Module Index - Export all RAG utilities * * Python parity with praisonaiagents/rag/__init__.py */ export { RetrievalStrategy, type RetrievalStrategyType, type Citation, createCitation, formatCitation, type ContextPack, createContextPack, hasCitations, formatContextPackForPrompt, type RAGResult, createRAGResult, formatAnswerWithCitations, type RAGConfig, DEFAULT_RAG_TEMPLATE, createRAGConfig, } from './models'; export { RetrievalPolicy, type RetrievalPolicyType, CitationsMode, type CitationsModeType, type RetrievalConfig, createRetrievalConfig, createSimpleRetrievalConfig, createSmartRetrievalConfig, } from './retrieval-config'; export declare class RAG { private config; private knowledge; constructor(options?: { knowledge?: any; config?: Partial; }); /** * Query the RAG pipeline. */ query(question: string): Promise; /** * Retrieve context without generating an answer. */ retrieve(question: string): Promise; /** * Get the current configuration. */ getConfig(): import('./models').RAGConfig; } /** * Create a RAG instance. */ export declare function createRAG(options?: { knowledge?: any; config?: Partial; }): RAG;