/** * CLI Error Handler Utility * Provides consistent error handling with context-specific guidance * @requirement CLI-MESSAGES-REVIEW-001 - Standardized error handling * @requirement REPAIR-INSTRUCTIONS-005 - Extend ErrorContext interface */ import type { CompleteValidationResult } from '../../core/validator.js'; export interface ErrorContext { command: string; operation: string; suggestions?: string[]; currentState?: string; attemptedState?: string; validationResults?: CompleteValidationResult; taskId?: string; hasActiveTask?: boolean; } /** * Handle CLI errors with context-specific messages and repair instructions * @requirement REPAIR-INSTRUCTIONS-006 - Refactor handleCliError to use detectErrorType and getRepairActions */ export declare function handleCliError(error: unknown, context: ErrorContext): void;