import { ComponentRef, Type } from '@angular/core'; import { InjectionService } from '../../injections/injection/injection.service'; import { Observable } from 'rxjs'; import { AbstractModal } from './abstract-modal'; export declare class ModalService { private injectionService; modalComponent: ComponentRef; constructor(injectionService: InjectionService); /** * Create and configure the modal component. * @param type * @param properties */ create(type: Type, properties: object): Observable>; /** * Remove the modal from the DOM. */ destroy(): void; /** * Display the created modal, subscribe to standard event emissions and * triage the actions accordingly. */ load(): Observable>; /** * Hide the instance but don't yet remove it from the DOM. This helps * with keeping the modal in memory for later use or fading out elegantly. */ unload(): Observable>; }