import { LitElement } from 'lit'; export interface WsDialogCloseDetail { returnValue: string; } /** * A modal dialog with Workshop Expressive styling and a blurred backdrop. * * @slot icon - Optional icon shown beside the heading. * @slot - Dialog body content. * @slot actions - Dialog action controls. * @fires ws-dialog-cancel - Fired when the native dialog is cancelled, such as with Escape. * @fires ws-dialog-close - Fired whenever the dialog closes. */ export declare class WsDialog extends LitElement { static styles: import("lit").CSSResult; /** Opens the dialog in the modal top layer. */ open: boolean; /** Primary dialog heading. */ heading: string; /** Optional supporting text shown below the heading. */ description: string; /** Accessible label used when a visible heading is not provided. */ accessibleLabel: string; private hasIcon; private hasActions; render(): import("lit-html").TemplateResult<1>; protected updated(changed: Map): void; /** Opens the dialog as a modal and moves it into the browser top layer. */ showModal(): void; /** Closes the dialog with an optional return value. */ close(returnValue?: string): void; private get dialogElement(); private syncOpenState; private onIconSlotChange; private onActionsSlotChange; private onDialogClick; private onNativeCancel; private onNativeClose; } declare global { interface HTMLElementTagNameMap { 'ws-dialog': WsDialog; } interface HTMLElementEventMap { 'ws-dialog-cancel': CustomEvent; 'ws-dialog-close': CustomEvent; } } //# sourceMappingURL=ws-dialog.d.ts.map