import { OnInit, AfterViewInit } from '@angular/core'; import { IModalService } from './interfaces'; export declare class ModalComponent implements OnInit, AfterViewInit { private _modalService; wrapper: any; constructor(_modalService: IModalService); ngOnInit(): void; modalService(): IModalService; /** * Initializes the modal service with this component * as the wrapper element */ ngAfterViewInit(): void; /** * Sets the visibility of the modal * @param {boolean} isVisible True if visible, otherwise false */ setVisibility(isVisible: boolean): void; /** * Click event bound to the overlay which causes the modal to close. * @param {any} event Default javascript click event object */ overlayClick(event: any): void; /** * Click handler which calls the modal service's close method. */ close(): void; }