/** * Impact Analysis Handler * * Handles change impact analysis and dependency graph operations */ import type { MCPToolResult } from "../../types/mcp-types.js"; /** * MCP handler for change impact analysis tools. * * Provides tools to build dependency graphs, analyze change impact, * preview affected files, and understand code dependencies. */ export declare class ImpactAnalysisHandler { private projectRoot; private impactAnalyzer; /** * @param projectRoot - Root directory of the project to analyze */ constructor(projectRoot: string); /** * Build dependency graph */ handleBuildGraph(args: { forceRebuild?: boolean; }): Promise; /** * Analyze impact of changing files */ handleAnalyzeImpact(args: { files: string[]; includeTests?: boolean; maxDepth?: number; excludePatterns?: string[]; }): Promise; /** * Preview impact before making changes */ handlePreviewImpact(args: { files: string[]; }): Promise; /** * Validate changes didn't break dependencies */ handleValidateChanges(args: { files: string[]; }): Promise; /** * Get dependency graph statistics */ handleGraphStats(): Promise; /** * Group files by directory for display */ private groupByDirectory; /** * Get emoji for impact level */ private getImpactEmoji; /** * Get emoji for severity */ private getSeverityEmoji; } //# sourceMappingURL=impact-analysis-handler.d.ts.map