import { EventEmitter } from "../../stencil-public-runtime"; import { StzhDialogOpenEvent, StzhDialogCloseEvent } from "../../index"; import { StzhDialogLocalizedText } from "./stzh-dialog.localization"; /** * @slot actions - Slot for actions element * @slot - Slot for any content inside the dialog */ export declare class StzhDialog { /** Translation strings */ localization: StzhDialogLocalizedText; /** Close dialog when pressing ESC */ closeOnEscapeKey: boolean; /** Close dialog when clicking outside of it */ closeOnBackdropClick: boolean; /** Open status */ open: boolean; /** Stay in original position (true) or move to body (false) */ stay: boolean; /** Size */ size: "default" | "small"; /** Whether to hide close button */ hideClose: boolean; /** Heading text * *mandatory* since DESI 4.0 * */ heading: string; /** Accessibility role */ a11yRole: "dialog" | "alertdialog"; /** * For Adobe Analytics. * Will be rendered as value of `s-object-id` attribute to the close button element. * Default value will be taken from translations. */ closeAnalyticsId: string; /** Dialog open event */ stzhOpen: EventEmitter; /** Dialog close event */ stzhClose: EventEmitter; element: HTMLStzhDialogElement; handleOutsideClick(event: MouseEvent): void; handleKeydown(event: KeyboardEvent): void; handleOpenTriggerClick(event: MouseEvent): void; show(): Promise; hide(): Promise; private observer; private readonly uid; private trap; private containerElement; private dialogElement; private handleDialogClick; private handleCloseButtonClick; private init; private getSiblings; private disableSiblings; private enableSiblings; private dialogShown; private dialogHidden; componentWillLoad(): Promise; componentDidRender(): void; componentDidUpdate(): void; componentDidLoad(): void; connectedCallback(): void; disconnectedCallback(): void; render(): any; }