export interface ContextQuery { text: string; topK?: number; minScore?: number; } export interface ContextResult { filePath: string; chunkIndex: number; snippet: string; score: number; } /** * Deduplicate results by file — keep the best-scoring chunk per file. */ export declare function deduplicateByFile(results: ContextResult[]): ContextResult[]; /** * Format context results for agent injection. */ export declare function formatContextForAgent(results: ContextResult[], format: 'paths' | 'snippets' | 'full', cwd?: string): string; //# sourceMappingURL=context.d.ts.map