import { Type } from '@angular/core'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { AlertInterface } from './alert.interface'; import { ConfirmInterface } from './confirm.interface'; import { ModalSizeEnum } from './modal-size-enum'; import { ModalSizeType } from './modal-size.type'; import * as i0 from "@angular/core"; type SizeType = ModalSizeEnum | ModalSizeType; export declare class ModalService { private modalService; constructor(modalService: NgbModal); openT(content: Type>, size: SizeType, data: T, backdrop?: 'static' | 'removal', modalComponentInstance?: { instance: any; }): Promise; open(content: any, size: SizeType, data?: any, backdrop?: 'static' | 'removal', modalComponentInstance?: { instance: any; }): Promise; private openModal; showConfirm(params: ConfirmInterface): Promise; showAlert(params: AlertInterface): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export interface ModalComponentInterface { data: T; } export {};