import React from 'react'; import ReactModal from 'react-modal'; import { ModalContentType } from './ModalContent'; export interface ModalProps { children: React.ReactNode; open: boolean; onClose: () => void; shouldCloseOnOverlayClick?: boolean; className?: string; closeButton?: boolean; parentSelector?(): HTMLElement; 'aria-labelledby'?: string; 'aria-describedby'?: string; 'aria-modal'?: boolean; 'aria-label'?: string; } interface ModalComponent extends ModalLifecycle, React.ForwardRefExoticComponent> { Content: ModalContentType; } type ModalLifecycle = { setAppElement?: (element: any) => void; }; export declare const Modal: ModalComponent; export default Modal;