import { Type, ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core'; import { Modal } from './modal.component'; import { ModalOptions, ModalResult } from './modal.model'; import { Observable } from 'rxjs'; import { Surveyori18nService } from "../i18n/shared/i18n.service"; import * as i0 from "@angular/core"; export declare class ModalService { private resolver; private injector; private i18nService; private rootViewContainerRef; constructor(resolver: ComponentFactoryResolver, injector: Injector, i18nService: Surveyori18nService); setRootViewContainerRef(rootViewContainerRef: ViewContainerRef): void; getRootViewContainerRef(): ViewContainerRef; open(modal: Type, options?: ModalOptions): ModalResult; confirm(message: string, messageToken?: string): Observable; status(message: string, messageToken?: string): ModalResult; loading(message: string, messageToken?: string): ModalResult; message(message: string, messageToken?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }