interface ErrorContext { command?: string; args?: string[]; workingDirectory?: string; timestamp: Date; stackTrace?: string; } export declare class ErrorRecovery { private contextualHelp; private statusIndicator; private errorCodes; constructor(); private initializeErrorCodes; handleError(error: Error, context?: ErrorContext): Promise; private detectErrorCode; private displayStructuredError; private displayGenericError; private getSeverityIcon; private getCategoryColor; attemptRecovery(errorCode: string): Promise; reportError(error: Error, context?: ErrorContext): Promise; performHealthCheck(): Promise<{ healthy: boolean; issues: string[]; }>; } export {};