import { EventEmitter } from '../../stencil-public-runtime'; /** * @deprecated Use `RuxDialog` instead. * @part wrapper - the modal wrapper overlay ! DEPRECATED IN FAVOR OF CONTAINER ! * @part container - the modal container * @part dialog - the native dialog element * @part header - the header of the modal * @part message - the message of the modal * @part confirm-button - the modal's confirm button * @part deny-button - the modal's deny button * @part footer - the footer of the modal * * @slot header - the header of the modal * @slot (default) - the modal's message or content * @slot footer - the footer of the modal */ export declare class RuxModal { /** * Shows and hides modal */ open: boolean; /** * Modal body message */ modalMessage?: string; /** * Modal header title */ modalTitle?: string; /** * Text for confirmation button */ confirmText: string; /** * Text for close button */ denyText: string; /** * Event that is fired when modal opens */ ruxModalOpened: EventEmitter; /** * Event that is fired when modal closes. If modal is closed by clicking on the default confirm or deny buttons (when no footer slot is provided), then true or false will be emitted respectively. */ ruxModalClosed: EventEmitter; element: HTMLRuxModalElement; hasFooter: boolean; hasHeader: boolean; hasMessage: boolean; private _userInput; handleKeyDown(ev: KeyboardEvent): void; handleClick(ev: MouseEvent): void; handleOpen(isOpen: boolean): void; componentWillLoad(): void; private _handleModalChoice; private _getDefaultButton; private _getWrapper; connectedCallback(): void; componentDidRender(): void; private _handleSlotChange; render(): any; }