import { Observable } from 'rxjs' ; import { ModalComponent } from './modal.component' ; export abstract class ModalRef < T = any , R = any > { abstract afterOpen : Observable < void > ; abstract afterClose : Observable < R > ; abstract close ( result ? ) ; abstract destroy ( result ? ) ; abstract triggerOk ( ) ; abstract triggerCancel ( ) ; abstract getElement ( ) ; abstract getInstance ( ) ; }