import { Component } from 'react'; export interface ModalProps { type: string; } declare class Modal extends Component { constructor(props: ModalProps); onOk: (event: Object) => void; onCancel: (event: Object) => void; onClose: (trigger: String, event: Object) => void; show: () => void; open: () => void; hide: () => void; close: () => void; render(): JSX.Element; } export default Modal;