import { StateBaseElement } from '../Abstracts/StateBaseElement'; import { IErrorStateElementProps } from './IErrorStateElementProps'; declare const ErrorStateElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & typeof StateBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * ErrorState - An error handling component that displays failure states and recovery options for users. * * @description * The ErrorState component presents clear error messaging with contextual information and actionable * recovery steps when operations fail or exceptions occur. It helps users understand what went wrong * and provides pathways to resolve issues or retry failed actions. The component supports customizable * error icons, primary and detailed error messages, technical error codes for debugging, and action * buttons for recovery operations such as retry, refresh, or contact support. It's designed to * transform frustrating error experiences into opportunities for resolution and support. * * @name ErrorState * @element mosaik-error-state * @category States * * @slot - Default content area for additional error information or custom content * @slot actions - Action buttons for error recovery (retry, refresh, contact support, go back, etc.) * * @csspart icon - The icon container for error state visual indicators * @csspart header - The header text container for primary error messaging * @csspart content - The content text container for detailed error explanation * @csspart code - The code container for technical error details or error codes * @csspart innerStack - The internal stack container for action slot elements * * @cssprop {String} --error-state-foreground-color - The text color for error state content * @cssprop {String} --error-state-gap - The spacing between icon, text, and action elements * @cssprop {String} --error-state-header-font-family - The font family for header text * @cssprop {String} --error-state-header-font-size - The font size for header text * @cssprop {String} --error-state-header-font-line-height - The line height for header text * @cssprop {String} --error-state-header-font-weight - The font weight for header text * @cssprop {String} --error-state-header-font-letter-spacing - The letter spacing for header text * @cssprop {String} --error-state-header-font-text-decoration - The text decoration style for header text * @cssprop {String} --error-state-header-font-text-transform - The text transformation style for header text * @cssprop {String} --error-state-padding-top - The top padding inside the error state container * @cssprop {String} --error-state-padding-right - The right padding inside the error state container * @cssprop {String} --error-state-padding-bottom - The bottom padding inside the error state container * @cssprop {String} --error-state-padding-left - The left padding inside the error state container * * @dependency {IconElement} - For displaying error icons and warning indicators * @dependency {TextElement} - For rendering header, content, and code text messages * @dependency {StackElement} - For layout management and content arrangement * * @example * Error state with recovery action: * ```html * * Retry * * ``` * * @example * Error state with code and support action: * ```html * * Contact Support * Go Back * * ``` * * @example * Error state with header and content set via JavaScript: * ```html * * * ``` * * @public */ export declare class ErrorStateElement extends ErrorStateElement_base implements IErrorStateElementProps { private _icon; private _header; private _code; /** * Constructs a new instance of the `ErrorStateElement` class. * * @public */ constructor(); /** * Returns the `is` property. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `icon` property. * The icon SVG path data for the error state visual indicator. * The default value is an empty string, which displays a default error circle icon. * * @public */ get icon(): string; set icon(value: string); /** * Gets or sets the `header` property. * The primary error message displayed to users. * The default value is an empty string, which means no header is displayed. * * @public */ get header(): string; set header(value: string); /** * Gets or sets the `code` property. * The technical error code or additional error details for debugging. * The default value is an empty string, which means no error code is displayed. * * @public * @attr */ get code(): string; set code(value: string); } /** * @public */ export declare namespace ErrorStateElement { type Props = IErrorStateElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-error-state': ErrorStateElement; } } export {}; //# sourceMappingURL=ErrorStateElement.d.ts.map