import { ComponentRef, ApplicationRef, NgZone, ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; import { ToastOptions } from './toast-options'; import { Toast } from './toast'; import { Observable } from 'rxjs/Observable'; export declare class ToastsManager { private componentFactoryResolver; private ngZone; private appRef; private options; container: ComponentRef; private index; private toastClicked; private _rootViewContainerRef; constructor(componentFactoryResolver: ComponentFactoryResolver, ngZone: NgZone, appRef: ApplicationRef, options: ToastOptions); setRootViewContainerRef(vRef: ViewContainerRef): void; onClickToast(): Observable; show(toast: Toast, options?: Object): Promise; createTimeout(toast: Toast): any; setupToast(toast: Toast, options?: any): Toast; private _onToastClicked(toast); dismissToast(toast: Toast): void; clearToast(toast: Toast): void; clearAllToasts(): void; dispose(): void; error(message: string, title?: string, options?: any): Promise; info(message: string, title?: string, options?: any): Promise; success(message: string, title?: string, options?: any): Promise; warning(message: string, title?: string, options?: any): Promise; custom(message: string, title?: string, options?: any): Promise; }