import { EventEmitter } from '../../stencil-public-runtime'; export type ModalWidth = 'sm' | 'md' | 'lg'; export type ModalCloseReason = 'close-button' | 'escape' | 'backdrop'; export interface ModalCloseDetail { reason: ModalCloseReason; originalEvent: Event; } export declare class Modal { el: HTMLElement; open: boolean; heading: string; /** Optional supporting copy shown below the heading. */ description: string; closeAriaLabel: string; modalWidth: ModalWidth | string; /** Optional id reference for explanatory content in the default slot. */ ariaDescribedby: string | undefined; private closing; private hasFooter; /** Emitted when an internal dismissal control requests that the modal close. */ dsClose: EventEmitter; /** Emitted after exit motion completes, the top layer closes, and focus is restored. */ dsAfterClose: EventEmitter; private titleId; private descriptionId; private dialogEl; private previousFocus; private closeTimer; componentDidLoad(): void; componentDidRender(): void; disconnectedCallback(): void; onOpenChange(isOpen: boolean): void; private focusClose; private clearCloseTimer; private requestClose; private updateFooterPresence; private handleCancel; private handleBackdropPointerDown; private handleKeyDown; private get resolvedWidth(); private get describedBy(); private get closeAnimationMs(); private finishClose; render(): any; } //# sourceMappingURL=Modal.d.ts.map