import { AlertDialogConfig } from './types';
export type { AlertDialogConfig, AlertDialogVariant } from './types';
export declare class AlertDialog {
    private overlayEl;
    private dialogEl;
    private confirmBtn;
    private cancelBtn;
    private confirmInput;
    private readonly config;
    private isLoading;
    private readonly titleId;
    private readonly descId;
    /** Bound handler for cleanup */
    private readonly handleKeyDown;
    private constructor();
    /** Factory method: create and show an alert dialog */
    static open(config: AlertDialogConfig): AlertDialog;
    /** Close the dialog and remove from DOM */
    close(): void;
    /** Build and show the alert dialog DOM */
    private show;
    /** Check if the confirm input matches the required text */
    private isConfirmTextValid;
    /** Enable or disable the confirm button based on input match */
    private updateConfirmButtonState;
    /** Set loading state on both buttons */
    private setLoading;
    /** Handle the confirm button click, supporting async callbacks */
    private handleConfirm;
    /** Handle cancel button click */
    private handleCancel;
    /** Handle keyboard events for focus trapping (no escape dismissal) */
    private onKeyDown;
}
//# sourceMappingURL=index.d.ts.map