import { nothing } from 'lit'; import { EnchantedAcBaseElement } from './enchanted-ac-base-element'; import './enchanted-svg-icon'; import './enchanted-button'; import { DialogSizes } from '../../types/enchanted-dialog'; import '@hcl-software/enchanted-icons-web-component/dist/carbon/es/close'; export declare class EnchantedDialog extends EnchantedAcBaseElement { private static readonly FOCUSABLE_SELECTOR; private static readonly MAX_FOCUS_DEPTH; open: boolean; size: DialogSizes; dialogTitle: string; overrideTitle: boolean; removeBorder: boolean; disableBackdropClick: boolean; connectedCallback(): void; disconnectedCallback(): void; updated(changedProperties: Map): Promise; /** * Finds and focuses the first focusable element in the dialog. * Searches slotted content first, then falls back to shadow DOM. */ private _focusFirstElement; /** * Type guard to check if an element has a shadowRoot property. * @param element - The element to check * @returns true if the element has a valid shadowRoot */ private _hasShadowRoot; /** * Type guard to check if an element has a renderRoot property (Lit components). * @param element - The element to check * @returns true if the element has a valid renderRoot */ private _hasRenderRoot; /** * Recursively searches through web component shadow DOMs to find the deepest focusable element. * @param element - The element to start searching from * @param depth - Current depth in the shadow DOM tree (used internally for recursion limiting) */ private _focusElement; /** * Public method to re-focus the dialog. * Useful when returning to the dialog from a different view (e.g., search results). */ refocusDialog(): Promise; handleClose(event: Event): void; private handleBackdropClick; private _debounceBackdropClick; private handleCloseByEnterKey; private getContainerPart; private getPaperPart; private getContentPart; private getPaginationPart; private getActionPart; render(): import("lit-html").TemplateResult | typeof nothing; }