import React from 'react'; export interface ModalProps { /** The contents of the modal */ children: React.ReactNode | React.ReactNode[]; /** Whether clicking outside the modal closes the modal */ closeOnClickOutside?: boolean; /** Whether clicking the escape key closes the modal */ closeOnEsc?: boolean; /** Callback on modal close */ onClose: Function; /** Width of the modal */ height?: number; /** Width of the modal */ width?: number; /** Styles to apply to modal container */ style?: React.CSSProperties; } declare const Modal: ({ onClose, children, height, width, style, closeOnClickOutside, closeOnEsc, ...other }: ModalProps) => JSX.Element; export default Modal;