import type { RetrievalResult } from "./Retriever.ts"; import type { RetrievalOptions } from "./Retriever.ts"; import type { IGraphStore } from "./KnowledgeGraphStore.ts"; import type { ILLMProvider } from "../llm/ILLMProvider.ts"; import type { IVectorStore } from "../memory/VectorStore.ts"; import type { ExecutionContext } from "../core/ExecutionContext.ts"; import { RetrievalClassifier } from "../tools/rag/RetrievalClassifier.ts"; import type { RetrievalStrategy } from "../tools/rag/RetrievalClassifier.ts"; export interface AgenticRetrievalResult extends RetrievalResult { strategy: RetrievalStrategy; vectorMatches: number; graphHops: number; sourcePaths: string[]; } export interface AgenticRAGOptions { embedder: ILLMProvider; vectorStore: IVectorStore; knowledgeGraphStore?: IGraphStore; parentStorePath?: string; decisionSkill?: RetrievalClassifier; graphHops?: number; } export declare class AgenticRAG { private retriever; private knowledgeGraphStore?; private decisionSkill; private embedder; private graphHops; constructor(options: AgenticRAGOptions); retrieve(query: string, context: ExecutionContext, retrievalOptions?: RetrievalOptions): Promise; private executeGraphStrategy; private decideStrategy; private resolveGraphNodes; } //# sourceMappingURL=AgenticRAG.d.ts.map