import React, { CSSProperties } from 'react'; interface IModal extends Omit, 'children'> { triggerButton?: React.ReactNode; title?: string; style?: CSSProperties; children: (({ closeModal, openModal }: { closeModal: () => void; openModal: () => void; }) => JSX.Element) | JSX.Element; width?: string | number; maxWidth?: 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl'; onOpen?: () => void; onClose?: () => void; } export type IRefModal = { closeModal: () => void; openModal: () => void; }; declare const Modal: React.ForwardRefExoticComponent>; export default Modal;