import { ApplicationRef, ComponentRef, NgZone, Type } from '@angular/core'; import { ConfirmationData, ModalConfig, ModalRef } from './modal.model'; import * as i0 from "@angular/core"; export declare class ModalService { private appRef; private zone; hasModalOpened: boolean; modals: ComponentRef[]; constructor(appRef: ApplicationRef, zone: NgZone); openConfirm(data: ConfirmationData): ModalRef; openModal(component: Type, config?: ModalConfig): ModalRef; private closeModal; private getModalInstance; private freezeBackground; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }