export interface ModalContextType { parentSelector?: () => HTMLElement; ariaHideApp?: boolean; } export declare const ModalContext: React.Context; export interface ModalProps { /** * Modal open/close state, typically the state from `useState` in your component. */ isOpen: boolean; /** * Callback to invoke when closing of the modal is requested. * * Example modal close requests: * - Clicking the close button * - Hitting `ESC` on the keyboard * - Clicking outside of the modal */ closeModal: () => void; /** * Additional class name(s) to pass to the modal root DOM node. Optional. */ className?: string; /** * Modal content. */ children?: React.ReactNode; } declare const Modal: React.FC; export default Modal;