import { StyleType } from '../../common/types'; import Message from '../base/Message'; import ModalTypes from './ModalTypes'; export type ModalAbstractProps = any & { backdropOpacity?: number; hasCloseButton?: boolean; id: string; intent?: string; isPredictionScreen?: boolean; style?: StyleType; url?: string; visible?: boolean; }; export default class ModalAbstract extends Message { backdropOpacity?: number; hasCloseButton?: boolean; modalType: ModalTypes; style?: StyleType; url?: string; visible?: boolean; constructor(props: ModalAbstractProps, modalType: ModalTypes); }