import type { ILLMProvider } from "../llm/ILLMProvider.ts"; import type { IVectorStore } from "../memory/VectorStore.ts"; import type { IGraphStore } from "./KnowledgeGraphStore.ts"; export interface RetrievalOptions { topK?: number; minScore?: number; metadataFilter?: Record; resolveParents?: boolean; } export interface RetrievalResult { content: string; score: number; source: string; chunkIndex: number; metadata?: Record; graphContext?: string; } export declare class Retriever { private embedder; private vectorStore; private knowledgeGraphStore?; private parentStorePath; private parentCache; private parentCacheTime; private readonly parentCacheTTL; constructor(embedder: ILLMProvider, vectorStore: IVectorStore, knowledgeGraphStore?: IGraphStore, parentStorePath?: string); retrieve(query: string, options?: RetrievalOptions): Promise; private loadParents; } //# sourceMappingURL=Retriever.d.ts.map