import * as i0 from "@angular/core"; import { EventEmitter } from "@angular/core"; type MojAlertType = 'success' | 'warning' | 'information' | 'error'; export declare class MojAlertComponent { /** * Accessible label used for live announcements. * * Required when `enableLiveAnnouncement` is true. */ ariaLabel?: string; /** * Controls whether the alert creates a live-region announcement. * * Defaults to `true`. When enabled, `ariaLabel` must be provided. */ enableLiveAnnouncement: boolean; type: MojAlertType; showDismiss: boolean; dismissed: EventEmitter; /** * Controls the visibility of the alert. * * Defaults to `true` and is set to `false` when the alert is dismissed. */ isVisible: boolean; get hostClass(): string; dataModule: string; /** * Returns the message used for the live-region announcement. * * @returns The alert type and accessible label formatted as an announcement message. * @throws {Error} If `ariaLabel` is missing, empty, or contains only whitespace. */ get announcementMessage(): string; get announcementRole(): 'alert' | 'status'; /** * Dismisses the alert component. * * This method emits the dismissed event to its parent and * sets the component's visibility state to false, * effectively hiding the alert from view. */ dismiss(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MojAlertIconComponent { type: MojAlertType; applyColour: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MojAlertHeadingComponent { hostClass: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MojAlertContentComponent { hostClass: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class MojAlertTextComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }