import React, { PropsWithChildren } from "react"; export declare function useModal(): { show: boolean; setShowModal: React.Dispatch>; openModal(): void; closeModal(): void; }; export interface ModalProps extends Record { show?: boolean; closeModal?: () => void; onClose?: () => void; footer?: any; title?: string; } export declare function Modal({ show, children, closeModal, onClose, title, footer: ModalFooter, style, className, ...props }: PropsWithChildren): JSX.Element;