import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core'; import { DIALOG_BUTTONS } from '../components/modal/dialog.component'; import { BsModalService } from 'ngx-bootstrap/modal'; import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; import * as i0 from "@angular/core"; export interface DialogComponentExtras { theme?: string; } /** * * Displays a Modal window or a type of Notification (based on choice the color changes) * @export * @class ModalService */ export declare class ModalService { private componentFactoryResolver; private appRef; private injector; private modalService; modalRef: any; config: { ignoreBackdropClick: boolean; keyboard: boolean; initialState: any; class: string; }; constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, modalService: BsModalService); showDialog(title: string, message: string, buttons?: DIALOG_BUTTONS, extras?: DialogComponentExtras): Promise; showWarningDialog(title: string, message: string, buttons?: DIALOG_BUTTONS): Promise; showSuccessDialog(title: string, message: string, buttons?: DIALOG_BUTTONS): Promise; showErrorDialog(title: string, message: string, buttons?: DIALOG_BUTTONS): Promise; showInfoDialog(title: string, message: string, buttons?: DIALOG_BUTTONS): Promise; openModal(template: any, customClass?: string): BsModalRef; openModalComponent(template: any, options?: any): BsModalRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }