import { ReactNode } from 'react'; import { HTMLMotionProps } from 'framer-motion'; interface Props extends Omit, 'title'> { open: boolean; title: ReactNode; tip?: string; width?: number; onClose: () => void; } declare function Modal({ open, title, tip, width, children, onClose, className, ...rest }: Props): import("react").ReactPortal; export default Modal;