import React from "react"; import { OverlayChildrenProps } from "../overlay"; import { ConfirmPopupProps } from "../popup/confirm"; type ModalScrollType = "paper" | "body"; export interface ModalProps { children: string | React.ReactElement | ((props: OverlayChildrenProps) => React.ReactElement); title?: string | React.ReactElement; show: boolean; onClose: () => void; scrollType?: ModalScrollType; closeConfirmPopup?: ConfirmPopupProps; } declare const Modal: ({ children, title, show, scrollType, closeConfirmPopup, onClose, }: ModalProps) => React.JSX.Element; export default Modal;