import { Injector, RendererFactory2 } from '@angular/core'; import { SomaAbstractDialogService } from './abstract-dialog.service'; /** * */ export declare class SomaWaiting extends SomaAbstractDialogService { private myDocument; private injector; private renderer2; private scheduledTimeout; constructor(rendererFactory: RendererFactory2, myDocument: any, injector: Injector); /** * Exibe uma tela de waiting. * * __Receibe a object of:__ * * ```typescript * { delay?: number, progressBar?: any } * ``` * * __delay:__ time that will waiting to show the dialog. default 1000 * * __progressBar:__ boolean or string. If not null, will show a progress bar with a mesasge. If true, will * show the default message. If a string, will make a translateService.isntant(config.progressBar) */ show(config?: { delay?: number; progressBar?: any; }): SomaWaitingInstance; /** * Fecha todos os modais existentes e os que ainda poderĂ£o abrir */ closeAllWaitingModal(): void; } export interface SomaWaitingInstance { close: () => any; }