import { MessageBoxButtons } from '../../../Types/MessageBoxButtons'; import { OverlayElement } from '../Abstracts/OverlayElement'; import type { IMessageBoxElementProps } from './IMessageBoxElementProps'; declare const MessageBoxElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & typeof OverlayElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * MessageBox - A modal dialog that presents information and prompts for a user response. * * @description * Displays alerts, confirmations, or informational prompts. The set of displayed buttons * is controlled by the `buttons` attribute (the only HTML-reflected property). * Header, message, icon, and labels must be set via JavaScript. * * @name MessageBox * @element mosaik-message-box * @category Overlays * * @example * Confirmation message box with Yes/No buttons: * ```html * * ``` * * @example * Alert message box with OK button: * ```html * * ``` * * @public */ export declare class MessageBoxElement extends MessageBoxElement_base implements IMessageBoxElementProps { private _header; private _subHeader; private _message; private _buttons; private _labels; private _icon; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `header` property. * * @public */ get header(): string; set header(value: string); /** * Gets or sets the `subHeader` property. * * @public */ get subHeader(): string; set subHeader(value: string); /** * Gets or sets the `message` property. * * @public */ get message(): string; set message(value: string); /** * Gets or sets the `buttons` property. * * @public * @attr */ get buttons(): MessageBoxButtons; set buttons(value: MessageBoxButtons); /** * Gets or sets the `labels` property. * * @public */ get labels(): { readonly ok?: string; readonly cancel?: string; readonly yes?: string; readonly no?: string; }; set labels(value: { readonly ok?: string; readonly cancel?: string; readonly yes?: string; readonly no?: string; }); /** * Gets or sets the `icon` property. * * @public */ get icon(): string; set icon(value: string); onDialogResult(result: 'ok' | 'cancel' | 'yes' | 'no'): void; } /** * @public */ export declare namespace MessageBoxElement { type Props = IMessageBoxElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-message-box': MessageBoxElement; } } export {}; //# sourceMappingURL=MessageBoxElement.d.ts.map