import { AlertConfig } from './types';
export type { AlertConfig, AlertVariant } from './types';
export declare class Alert {
    readonly el: HTMLDivElement;
    private readonly alertId;
    private descriptionEl;
    private dismissBtn;
    private readonly dismissHandler;
    private readonly dismissBtnClickHandler;
    private readonly transitionEndHandler;
    constructor(config: AlertConfig);
    /** Update the alert description text */
    setDescription(text: string): void;
    /** Dismiss the alert with a fade-out animation */
    dismiss(): void;
    /** Remove the alert from the DOM and clean up */
    destroy(): void;
    private buildClassName;
}
//# sourceMappingURL=index.d.ts.map