/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import { TemplateResult } from 'lit'; import '../nile-icon-button/nile-icon-button'; import type { CSSResultGroup } from 'lit'; import NileElement from '../internal/nile-element'; /** * Nile icon component. * * @tag nile-modal * */ export declare class NileDialog extends NileElement { static styles: CSSResultGroup; private readonly hasSlotController; private modal; private originalTrigger; dialog: HTMLElement; panel: HTMLElement; overlay: HTMLElement; /** * Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can * use the `show()` and `hide()` methods and this attribute will reflect the dialog's open state. */ open: boolean; /** * The dialog's label as displayed in the header. You should always include a relevant label even when using * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead. */ label: string; sublabel: string; /** * Disables the header. This will also remove the default close button, so please ensure you provide an easy, * accessible way for users to dismiss the dialog. */ noHeader: boolean; preventOverlayClose: boolean; /** * Added to resolve conflicts between Angular Material's mat-drawer components. */ private drawerStyle; connectedCallback(): void; firstUpdated(): void; disconnectedCallback(): void; private requestClose; private addOpenListeners; private removeOpenListeners; private handleDocumentKeyDown; handleOpenChange(): Promise; /** Shows the dialog. */ show(): Promise; /** Hides the dialog */ hide(): Promise; render(): TemplateResult<1>; } export default NileDialog; declare global { interface HTMLElementTagNameMap { 'nile-dialog': NileDialog; } }