import { OnDestroy, OnInit } from '@angular/core'; import { TerraAlertInterface } from './data/terra-alert.interface'; import { AlertService } from './alert.service'; import * as i0 from "@angular/core"; /** * @author mkunze */ export declare class TerraAlertPanelComponent implements OnInit, OnDestroy { private _service; /** List of alerts that are currently shown in the panel. */ _alerts: Array; /** A stream that emits when this component is destroyed. */ private _destroyed; constructor(_service: AlertService); ngOnInit(): void; ngOnDestroy(): void; /** * Closes the alert at the given index. * @private */ _closeAlertByIndex(index: number): void; /** Closes the first alert that matches the given identifier. */ private _closeAlertByIdentifier; /** Closes a given alert reference. */ private _closeAlert; /** Adds an alert and sets up a timeout to dismiss the alert automatically if needed. */ private _add; /** * Creates an Observable that emits whenever the given observable emits or a custom window event with the given #eventName occurs. * @param obs * @param eventName */ private _createEventObservable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }