/** * Impact Analysis Module * * Analyzes code dependencies and impact of changes */ import type { ChangeImpactResult, BreakingChange, ImpactAnalysisOptions, DependencyGraph } from "../../types/change-impact.js"; /** * ImpactAnalyzer - Facade class for backward compatibility * * Maintains the same public API as the original ImpactAnalyzer class * while delegating to specialized sub-modules. */ /** * Service for analyzing the impact of code changes. * * Builds dependency graphs, calculates affected files, detects breaking * changes, and provides risk assessments for proposed modifications. */ export declare class ImpactAnalyzer { private graphBuilder; private calculator; private breakingChangeDetector; /** * @param projectRoot - Root directory of the project */ constructor(projectRoot: string); /** * Build or refresh the dependency graph */ buildGraph(forceRebuild?: boolean): Promise; /** * Analyze impact of changing specific files */ analyzeImpact(targetFiles: string[], options?: ImpactAnalysisOptions): Promise; /** * Detect breaking changes between old and new versions */ detectBreakingChanges(file: string, oldContent: string, newContent: string): Promise; /** * Get graph statistics */ getGraphStats(): { fileCount: number; totalImports: number; totalExports: number; lastBuilt: Date | null; }; } //# sourceMappingURL=index.d.ts.map