import { AnimationEvent } from "@angular/animations";
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from "@angular/core";
import { Subject } from "rxjs";
import * as i0 from "@angular/core";
export declare class MessageComponent implements OnInit, OnDestroy {
    private element;
    private renderer;
    static ICON_MAP: {
        [id: string]: string;
    };
    static UNKNOWN_ICON: string;
    isHidden: boolean;
    type: null | "ok" | "info" | "critical" | "warning";
    allowDismiss: boolean;
    manualControl: Subject<boolean>;
    /**
     * emits value when user closed message by clicking (x) button
     */
    dismiss: EventEmitter<any>;
    dismissState: "initial" | "dismissed";
    private dismissSubscription;
    get role(): string;
    constructor(element: ElementRef, renderer: Renderer2);
    ngOnInit(): void;
    ngOnDestroy(): void;
    dismissMessage(): void;
    animationFinished(event: AnimationEvent): void;
    animationStart(event: AnimationEvent): void;
    get messageClass(): string;
    get icon(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "nui-message", never, { "type": "type"; "allowDismiss": "allowDismiss"; "manualControl": "manualControl"; }, { "dismiss": "dismiss"; }, never, ["*"]>;
}
