import { ChangeDetectorRef, ComponentFactoryResolver, Injector, OnInit } from '@angular/core'; import { ModalService } from './service'; export declare class ModalComponent implements OnInit { private _modal; private _componentFactoryResolver; private _injector; private _detectorRef; private _header; private _body; private _footer; private _modalWrapper; private _curtain; private _childComponentRef; implicitDismiss: boolean; size: 'small' | 'large' | 'fullscreen'; private _absoluteHeight; modalHeight: { height?: string; maxHeight?: string; width?: string; }; loading: boolean; loadingTimeout: any; longLoading: boolean; opened: boolean; constructor(_modal: ModalService, _componentFactoryResolver: ComponentFactoryResolver, _injector: Injector, _detectorRef: ChangeDetectorRef); ngOnInit(): void; /** * Close the modal on press 'escape' */ onKeyUp(e: KeyboardEvent): void; /** * Close the modal on click outside */ onClickOutside(e: MouseEvent): void; /** * Resize the modal depending of the configuration and the screen size */ resize(): void; /** * Close the modal */ close(): void; /** * Force close modal */ private forceClose(); /** * Destroy the current component injected in the modal */ private destroyCurrentChild(); /** * Show the modal curtain */ private openCurtain(); /** * Open a modal */ private open(event); }