import { ErrorCode, ErrorContext } from './error-types.util.js'; /** * Create user-friendly error messages based on error type and context * @param code The error code * @param context Context information for better error messages * @param originalMessage The original error message * @returns User-friendly error message */ export declare function createUserFriendlyErrorMessage(code: ErrorCode, context?: ErrorContext, originalMessage?: string): string; /** * Format an error for CLI output in the same Markdown style as successful responses * @param error The error to format * @param context Additional context for formatting * @returns Markdown formatted error message */ export declare function formatCliError(error: unknown, context?: { title?: string; accountId?: string; roleName?: string; region?: string; command?: string; instanceId?: string; }): string;