import { ViewContainerRef } from '@angular/core'; import { Toast, ToastsManager } from 'ng2-toastr'; import { Observable } from 'rxjs'; export declare class ToastHelper { private _toastr; parentView: ViewContainerRef; isProcessingObservable: Observable; private _isProcessingSubject; private _toastTimeout; constructor(_toastr: ToastsManager); updateIsProcessing(isProcessing: boolean): void; createSpinner(message: string): Promise; showSpinner(toastRef: Toast): Promise; hideSpinner(toastRef: Toast, message?: string, isErrorMessage?: boolean): void; clearSpinner(toastRef: Toast, message?: string, isErrorMessage?: boolean): void; showToast(message: string, title?: string): void; showSuccess(message: string, title?: string): void; showWarning(message: string, title?: string): void; showAlert(message: string, title?: string): void; private _dismissToast(toastRef); private getInstance(); }