/** * Architecture Handler * * Handles architecture validation and governance operations */ import type { MCPToolResult } from "../../types/mcp-types.js"; import type { ViolationSeverity } from "../../types/architecture.js"; /** * MCP handler for architecture validation and governance tools. * * Provides tools to validate code against architectural rules, * check layer dependencies, and suggest appropriate layers for new files. */ export declare class ArchitectureHandler { private projectRoot; private archService; /** * @param projectRoot - Root directory of the project to analyze */ constructor(projectRoot: string); /** * Validate architecture rules */ handleValidate(args: { layers?: string[]; minSeverity?: ViolationSeverity; maxViolations?: number; }): Promise; /** * Check a single file */ handleCheck(args: { file: string; }): Promise; /** * Suggest correct placement */ handleSuggest(args: { file: string; }): Promise; /** * Get severity emoji */ private getSeverityEmoji; /** * Get confidence emoji */ private getConfidenceEmoji; /** * Format confidence level */ private formatConfidence; /** * Format violation type */ private formatViolationType; /** * Get import status indicator */ private getImportStatus; /** * Truncate string with ellipsis */ private truncate; } //# sourceMappingURL=architecture-handler.d.ts.map