/** * @fileoverview Error Modal Component - Displays errors with friendly messages and debug details * * This component provides a user-friendly error modal that appears when the vowel client * encounters an error. It shows a simple error message with an expandable debug section * for technical details. * * @module @vowel.to/client/components * @author vowel.to * @license Proprietary */ /** * Props for ErrorModal component */ export interface ErrorModalProps { /** Whether the modal is open */ isOpen: boolean; /** Close handler */ onClose: () => void; /** Error message to display */ errorMessage: string; /** Optional error details (object or string) */ errorDetails?: string | object; /** Optional timestamp */ timestamp?: Date; } /** * Error Modal Component * * Displays a friendly error message with an expandable debug section. * * @example * ```tsx * setHasError(false)} * errorMessage="Connection failed" * errorDetails={{ code: "ECONNREFUSED", stack: "..." }} * /> * ``` */ export declare function ErrorModal({ isOpen, onClose, errorMessage, errorDetails, timestamp, }: ErrorModalProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ErrorModal.d.ts.map