export declare class KnowledgeBase { private store; private storePath; constructor(baseDir?: string); private load; private save; addFile(filePath: string): Promise<{ chunks: number; }>; addText(text: string, source?: string): Promise<{ chunks: number; }>; search(query: string, topK?: number): Promise>; /** Build context string for injection into LLM calls */ getContext(query: string, topK?: number, minScore?: number): Promise; /** * Query DeepBrain for semantic search enhancement. * Activated when OPC_DEEPBRAIN_ENABLED=true and deepbrain CLI is globally installed. */ private queryDeepBrain; getStats(): { totalEntries: number; sources: string[]; updatedAt: string; }; clear(): void; removeSource(source: string): number; } //# sourceMappingURL=knowledge.d.ts.map