import type { CompiledDefinition, ConceptIR, Finding } from './types.js'; export interface IndexEdit { index: string; kind: 'add-entry' | 'update-count' | 'add-domain'; line: string; detail: string; } export interface IndexPlan { edits: IndexEdit[]; /** updated file contents for every index that changes */ contents: Map; } export declare function planIndexUpdates(files: Map, indexPaths: string[], concepts: ConceptIR[], def: CompiledDefinition): IndexPlan; export declare function indexFindingsFromPlan(plan: IndexPlan, findings: Finding[]): void;