interface DocumentChunk { id: string; filePath: string; content: string; embedding: number[]; } interface ResearcherOptions { persistent?: boolean; dbPath?: string; } export declare class Researcher { private chunks; private options; constructor(options?: ResearcherOptions); private cosineSimilarity; private chunkText; loadPersistentDB(): Promise; savePersistentDB(): Promise; indexFile(filePath: string, content: string): Promise; search(query: string, topK?: number): Promise; } export declare const researcher: Researcher; export {}; //# sourceMappingURL=researcher.d.ts.map