import { NgZone, OnDestroy } from '@angular/core'; import { IndividualConfig, ToastPackage } from '../../interfaces/toastr-interface'; import { UtilsToastrService } from '../../services/utils-toastr.service'; import * as i0 from "@angular/core"; export declare class UtilsToastr implements OnDestroy { protected toastrService: UtilsToastrService; toastPackage: ToastPackage; protected ngZone?: NgZone | undefined; message?: string | null; title?: string; options: IndividualConfig; duplicatesCount: number; originalTimeout: number; /** width of progress bar */ width: number; /** a combination of toast type and options.toastClass */ toastClasses: string; /** controls animation */ state: any; /** hides component when waiting to be displayed */ get displayStyle(): string | undefined; private timeout; private intervalId; private hideTime; private sub; private sub1; private sub2; private sub3; constructor(toastrService: UtilsToastrService, toastPackage: ToastPackage, ngZone?: NgZone | undefined); ngOnDestroy(): void; /** * activates toast and sets timeout */ activateToast(): void; /** * updates progress bar width */ updateProgress(): void; resetTimeout(): void; /** * tells toastrService to remove this toast after animation time */ remove(): void; tapToast(): void; stickAround(): void; delayedHideToast(): void; outsideTimeout(func: () => any, timeout: number): void; outsideInterval(func: () => any, timeout: number): void; private runInsideAngular; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }