import { Observable } from 'rxjs'; import { ICommonsDialog } from '../interfaces/icommons-dialog'; export declare class CommonsDialogService { private static generate; private onDialog; observable(): Observable; ok(title: string, message: string, callback: () => void): void; cancel(title: string, message: string, callback: () => void): void; confirm(title: string, message: string, ok: () => any, cancel: () => void, countdown?: number): void; deleteConfirm(title: string, message: string, deleteCallback: () => (void | Promise), // the word delete is a reserved word cancel: () => void, countdown?: number): void; yesno(title: string, message: string, yes: () => any, no: () => void, countdown?: number): void; }