/*!
 * Copyright 2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Component that displays the error message only if a non empty errorMessage is passed in
 */
export declare class ErrorBannerComponent {
    private _errorMessage;
    closed: boolean;
    /**
     * Emits events when the error banner is dismissed.
     */
    dismissed: EventEmitter<void>;
    /**
     * Two way bound errorMessage, will be cleared when the user dismisses the alert
     */
    get errorMessage(): string;
    /**
     * Sets clr-alert type
     */
    alertType: 'danger' | 'warning' | 'info' | 'success';
    /**
     * Marks clr-alert as closable or not
     */
    alertClosable: boolean;
    /**
     * Sets the error message displayed by this error banner.
     */
    set errorMessage(val: string);
    /**
     * Emits an event when the error message is changed.
     */
    errorMessageChange: EventEmitter<string>;
    /**
     * Clears the error message when the alert is closed.
     */
    onAlertClosedChange(closed: boolean): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ErrorBannerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ErrorBannerComponent, "vcd-error-banner", never, { "errorMessage": "errorMessage"; "alertType": "alertType"; "alertClosable": "alertClosable"; }, { "dismissed": "dismissed"; "errorMessageChange": "errorMessageChange"; }, never, never, false, never>;
}
