import { NgZone, OnDestroy } from "@angular/core";
import { SafeHtml } from "@angular/platform-browser";
import { IToastConfig } from "./public-api";
import { ToastPackage } from "./toast-package";
import { ToastServiceBase } from "./toast.servicebase";
import * as i0 from "@angular/core";
/**
 * /**
 * __Name : __
 * Toast Component
 *
 * __Usage :__
 * Used to show toast, handle animation and events. Handles progress bar animation.
 * This component is created dynamically in ToastContainerService
 */
export declare class ToastComponent implements OnDestroy {
    private toastService;
    private toastPackage;
    private ngZone;
    body?: string | SafeHtml | null;
    title?: string;
    options: IToastConfig;
    /** width of progress bar */
    width: number;
    toastIcon: string;
    closeButton?: boolean;
    get role(): string;
    /** a combination of toast type and options.toastClass */
    toastClasses: string;
    fadeOut: boolean;
    display: string;
    /** controls animation */
    private state;
    private timeout;
    private intervalId;
    private hideTime;
    private subscriptions;
    private animationFadeOutLength;
    private toastTypeToSeverityIcon;
    constructor(toastService: ToastServiceBase, toastPackage: ToastPackage, ngZone: NgZone);
    /**
     * triggers fade in animation and sets timeout till the toast will be dismissed
     */
    activateToast(): void;
    /**
     * tells toastService to remove this toast after animation time
     */
    remove(): void;
    /**
     * handles click on toast itself
     */
    clickToast(): void;
    /**
     * disables progressBar and prevents toast from closing
     */
    stickAround(): void;
    /**
     *  using extendedTimeOut value to delay toast's closure
     */
    delayedHideToast(): void;
    private repeatProgressBarChange;
    /**
     * updates progress bar width
     */
    private updateProgress;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "nui-toast-component", never, {}, {}, never, never>;
}
