/**
 * Copyright IBM Corp. 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
import CDSModal from '../modal/modal';
/**
 * Dialog.
 *
 * @see This component is in {@link https://web-components.carbondesignsystem.com/?path=/docs/preview-about-preview--about-preview|preview status}
 *
 * @element cds-dialog
 * @fires cds-dialog-beingclosed
 *   The custom event fired before this dialog is being closed upon a user gesture.
 *   Cancellation of this event stops the user-initiated action of closing this dialog.
 * @fires cds-dialog-closed - The custom event fired after this dialog is closed upon a user gesture.
 */
declare class CDSDialog extends CDSModal {
    /**
     * Reference to the native dialog element
     */
    private _dialogElement?;
    /**
     * Handles `click` event on this element.
     *
     * @param event The event.
     */
    protected _handleClick: (event: MouseEvent) => void;
    loadingStatus: 'inactive' | 'active' | 'finished' | 'error';
    /**
     * Specifies whether the dialog is modal or non-modal
     */
    modal: boolean;
    /**
     * Specify text for the accessibility label of the dialog
     */
    ariaLabel: string | null;
    /**
     * Specify the ID of an element that labels this dialog
     */
    ariaLabelledBy: string | null;
    /**
     * Specify the ID of an element that describes this dialog
     */
    ariaDescribedBy: string | null;
    /**
     * Specify the role of the dialog for accessibility
     */
    role: 'dialog' | 'alertdialog';
    /**
     * Prevent closing on click outside of dialog
     * Only applies to modal dialogs.
     */
    preventCloseOnClickOutside: boolean;
    /**
     * Handles `slotchange` event.
     */
    protected _handleSlotChange(): void;
    /**
     * Gets footer elements.
     */
    protected _getFooterElements(): {
        footer: Element | null;
        primaryButton: HTMLElement | null;
        secondaryButtons: HTMLElement[];
    };
    /**
     * Do not inherit hostKeyDown handling from modal
     */
    protected _handleHostKeydown: () => void;
    protected _handleKeydown: (event: KeyboardEvent) => void;
    updated(changedProperties: any): Promise<void>;
    render(): import("lit-html").TemplateResult<1>;
    /**
     * A selector selecting buttons that should close this dialog.
     */
    static get selectorCloseButton(): string;
    /**
     * A selector selecting the nodes that should be focused when dialog gets open.
     */
    static get selectorPrimaryFocus(): string;
    /**
     * A selector selecting the dialog body component
     */
    static get selectorModalBody(): string;
    /**
     * The name of the custom event fired before this dialog is being closed upon a user gesture.
     * Cancellation of this event stops the user-initiated action of closing this dialog.
     */
    static get eventBeforeClose(): string;
    /**
     * The name of the custom event fired after this dialog is closed upon a user gesture.
     */
    static get eventClose(): string;
    static styles: any;
}
export default CDSDialog;
//# sourceMappingURL=dialog.d.ts.map