import { EventEmitter } from '../../stencil-public-runtime'; export declare class DnnModal { el: HTMLDnnModalElement; /** * @deprecated boolean props should always default to being false per html specs, use preventBackdropDismiss instead, will be removed in v0.28.0. * Pass false to remove the backdrop click auto-dismiss feature. */ backdropDismiss?: boolean; /** * Pass true to remove the backdrop click auto-dismiss feature. * Defaults to false. */ preventBackdropDismiss?: boolean; /** * Optionally pass the aria-label text for the close button. * Defaults to "Close modal" if not provided. */ closeText?: string; /** * If set to true, the modal becomes resizable. */ resizable?: boolean; /** * @deprecated boolean props should always default to being false per html specs, use hideCloseButton instead, will be removed in v0.28.0. * Optionally you can pass false to not show the close button. * If you decide to do so, you should either not also prevent dismissal by clicking the backdrop * or provide your own dismissal logic in the modal content. */ showCloseButton?: boolean; /** * Optionally you can pass true to not show the close button. * If you decide to do so, you should either not also prevent dismissal by clicking the backdrop * or provide your own dismissal logic in the modal content. */ hideCloseButton: boolean; /** * Reflects the visible state of the modal. */ visible: boolean; /** * Shows the modal */ show(): Promise; /** * Hides the modal */ hide(): Promise; /** * Fires when the modal is dismissed. */ dismissed: EventEmitter; componentWillLoad(): void; componentDidLoad(): void; disconnectedCallback(): void; private modal; private seDrag; private mouseX; private mouseY; private w; private h; private handleDismiss; private handleBackdropClick; private handleResizeMouseMove; private handleResizeMouseDown; private handleResizeMouseUp; render(): any; }