import { EventEmitter, JSX } from '../../stencil-public-runtime'; import { ModalFocusWrapping } from './modal-focus-wrapping'; /** * @slot footerContent - Slot for a custom footer content */ export declare class ModusModal { /** Reference to host HTML element. */ el: HTMLElement; /** (optional) The modal's aria-label. */ ariaLabel: string | null; /** (optional) The modal's primary button text. */ headerText: string; /** (optional) The modal's primary button aria-label. */ primaryButtonAriaLabel: string | null; /** (optional) Disable primary button. */ primaryButtonDisabled: boolean; /** (optional) The modal's primary button text. */ primaryButtonText: string; /** (optional) The modal's secondary button aria-label. */ secondaryButtonAriaLabel: string | null; /** (optional) Disable secondary button. */ secondaryButtonDisabled: boolean; /** (optional) The modal's secondary button text. */ secondaryButtonText: string; /** (optional) The modal's z-index. */ zIndex: string; /** (optional) The modal's backdrop. Specify 'static' for a backdrop that doesn't close the modal when clicked outside the modal content */ backdrop: 'default' | 'static'; /** (optional) Show full screen toggle. */ showFullscreenToggle: boolean; /** (optional) The modal's full screen view. */ fullscreen: boolean; /** An event that fires on modal close. */ closed: EventEmitter; /** An event that fires on modal open. */ opened: EventEmitter; /** An event that fires on primary button click. */ primaryButtonClick: EventEmitter; /** An event that fires on secondary button click. */ secondaryButtonClick: EventEmitter; /** A state that checks if content is scrollable. */ isContentScrollable: boolean; ignoreOverlayClick: boolean; startTrapRef: HTMLElement; focusWrapping: ModalFocusWrapping; modalContentRef: HTMLDivElement; tabbableNodes: HTMLElement[]; modalBodyRef: HTMLDivElement; resizeObserver: ResizeObserver; /** Closes the Modal */ close(): Promise; /** Opens the Modal */ open(): Promise; visible: boolean; toggleFullscreen(): void; handleModalContentMouseDown(): void; documentKeyHandler(event: KeyboardEvent): void; handleOverlayClick(event: MouseEvent): void; handleEnterKeydown(event: KeyboardEvent, callback: () => void): void; handlePrimaryClick(): void; handleSecondaryClick(): void; componentDidRender(): void; disconnectedCallback(): void; checkContentScrollable(): void; renderModal(): JSX.Element[]; renderModalHeader(): JSX.Element[]; renderModalFooter(): JSX.Element[]; render(): unknown; }