import { ModuleWithProviders } from '@angular/core'; /** * @howToUse: * * Import IcsToastModule in app.module.ts * * imports:[ * ... * IcsToastModule.forRoot() * ... * ] * Add to app.component.html at any where. * * At required component get the instance of IcsToastService * * constructor( * ... * private toastService: IcsToastService, * ..) {} * * onSuccess() { * this.toastService.success('some text'); * } * onError() { * this.toastService.error('some text'); * } * onLoading() { * this.toastService.loading('some text'); * } * * @description * Creates a toast at top right of the screen subscribed from IcsToastService.toast$. * * * * @author Harsha * */ export declare class IcsToastModule { static forRoot(): ModuleWithProviders; }