import '@a11y/focus-trap'; import { LitElement } from 'lit-element'; import 'lithium-ui/icon'; /** * Modal, to intercept or pause user for a specific blocking task. * * @noInheritDoc * @element li-modal * @slot li-modal-content - Content slot for modal body * @slot li-modal-header - Content slot for modal header * @slot li-modal-actions - Content slot for modal actions * @event openChange - Notify when the modal has been opened or closed. * @cssprop --border * @cssprop --background * @cssprop --color * @cssprop --max-width * @cssprop --max-height * @cssprop --margin * @cssprop --border-radius * @cssprop --backdrop-background */ export declare class LithiumModal extends LitElement { static readonly styles: import("lit-element").CSSResult[]; /** Toggle if modal should be open or closed. */ open: boolean; /** Option to set the modal size */ size: '' | 'lg'; /** Option to set if modal can be closed by clicking the X or backdrop */ closable: boolean; /** Option to set if modal can be closed by clicking the modal backdrop */ backdropClosable: boolean; private focusedElementBeforeOpen; private _open; connectedCallback(): void; disconnectedCallback(): void; protected render(): import("lit-element").TemplateResult; private removeOnEscape; private backdropClose; private closeModal; private openChange; } declare global { interface HTMLElementTagNameMap { 'li-modal': LithiumModal; } }