/** * Change impact analysis. * Given changed files/functions, find all affected callers, dependents, and tests. * Builds on dependency_graph + git + symbol search. */ export interface ChangedSymbol { name: string; file: string; changeType: 'added' | 'modified' | 'removed' | 'renamed'; oldName?: string; } export interface ImpactResult { changedFiles: string[]; changedSymbols: ChangedSymbol[]; affectedFiles: string[]; affectedSymbols: { symbol: string; file: string; line: number; reason: string; }[]; affectedTests: string[]; breakingChanges: string[]; riskLevel: 'low' | 'medium' | 'high' | 'critical'; summary: string; } /** * Parse a git diff to extract changed symbols. * @param diff - The raw git diff output * @returns Array of changed symbols with change types */ export declare function parseDiffForSymbols(diff: string): ChangedSymbol[]; /** * Analyze the impact of changes on the codebase. * @param cwd - The working directory * @param changedFiles - List of changed file paths * @param diff - Optional raw git diff output * @returns Impact analysis with affected files, symbols, tests, and risk level */ export declare function analyzeImpact(cwd: string, changedFiles: string[], diff?: string): Promise; /** * Categorize changes as refactor/bugfix/feature/breaking. * @param diff - The raw git diff output * @returns Category, confidence score, and indicators */ export declare function categorizeChanges(diff: string): { category: string; confidence: number; indicators: string[]; }; //# sourceMappingURL=impact.d.ts.map