import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { ToastEvent, ToastItem } from '../toast-types';
import { ToastService } from '../toast.service';
import * as i0 from "@angular/core";
export declare class ToastComponent implements OnChanges, OnInit, OnDestroy {
    private toastService;
    toastItem?: ToastItem;
    id?: string;
    open: boolean;
    TOAST_ANIMATION_DURATION: number;
    closed: EventEmitter<ToastEvent>;
    private readonly TIMED_TOAST_DURATION;
    private destroyed;
    constructor(toastService: ToastService);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    closeClicked(): void;
    private close;
    private closeAfterTimer;
    static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ec-toast", never, { "toastItem": { "alias": "toastItem"; "required": false; }; }, { "closed": "closed"; }, never, never, false, never>;
}
