/** * Error UI Display Component * * Renders user-friendly error messages based on unified error context */ import type { ErrorDisplayConfig } from '../types'; export declare class ErrorDisplay { private container; private errorOverlay?; private events; private autoHideTimer?; constructor(container: HTMLElement); private customMessages?; /** * Display an error with appropriate UI based on context */ show(config: ErrorDisplayConfig): void; /** * Hide the error display */ hide(): void; /** * Create error overlay element */ private createErrorOverlay; /** * Get user-friendly error content based on context */ private getErrorContent; /** * Get error icon based on severity */ private getErrorIcon; /** * Create actions HTML */ private createActionsHTML; /** * Get default actions based on error context */ private getDefaultActions; /** * Apply inline styles to error overlay */ private applyStyles; /** * Get error color based on severity */ private getErrorColor; /** * Listen to error display events */ on(event: 'errorDisplayed' | 'errorDismissed' | 'retryRequested', handler: (data?: any) => void): void; /** * Remove event listener */ off(event: 'errorDisplayed' | 'errorDismissed' | 'retryRequested', handler: (data?: any) => void): void; /** * Emit event to listeners */ private emit; /** * Cleanup */ destroy(): void; } //# sourceMappingURL=ErrorDisplay.d.ts.map