import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { TelemetryService } from '../../../core/telemetry.service';
import { ToastEvent, ToastItem } from '../toast-types';
import { ToastService } from '../toast.service';
import * as i0 from "@angular/core";
export declare class ToasterComponent implements OnInit, OnDestroy {
    private toastService;
    private telemetryService;
    currentTimedToast?: ToastItem;
    currentDismissibleToast?: ToastItem;
    dismissibleToastBottom: number;
    timedToastEl?: ElementRef<HTMLElement>;
    private pendingToasts;
    private destroyed;
    constructor(toastService: ToastService, telemetryService: TelemetryService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    updateVisibleToast(event: ToastEvent): void;
    private addToast;
    /** Returns the next pending toast of the specified type and removes it from the list of pending toasts. */
    private getNextToast;
    /** Add a toast to the list of pending toasts */
    private addPendingToast;
    /** Removes the specified toast from the list of pending toasts */
    private removePendingToast;
    /**
     * If the timed toast is present, sets the bottom height of the dismissible toast to
     * the current height of the timed toast plus .5rem for spacing.
     * Returns 0 if there isn't a visible timed toast.
     */
    private updateDismissibleToastBottom;
    private trackEvent;
    static ɵfac: i0.ɵɵFactoryDeclaration<ToasterComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "ec-toaster", never, {}, {}, never, never, false, never>;
}
