import type React from "react"; interface ModalProps { children?: React.ReactNode; isOpen?: boolean; title?: string; ariaLabel?: string; onRequestClose?: () => void; closeAriaLabel?: string; onAfterOpen?: () => void; shouldFocusAfterRender?: boolean; shouldReturnFocusAfterClose?: boolean; ariaDescribedBy?: string; maxWidth?: string; /** @deprecated No-op. Radix handles portal class automatically. */ portalClassName?: string; /** @deprecated No-op. Use className for the modal content element. */ overlayClassName?: string; className?: string; id?: string; /** @deprecated No-op. Radix handles aria-modal automatically. */ appElement?: JSX.Element; /** @deprecated No-op. Radix handles aria hiding automatically. */ ariaHideApp?: boolean; footerContent?: React.ReactNode; parentSelector?: () => HTMLElement; } declare function Modal({ isOpen, shouldFocusAfterRender, shouldReturnFocusAfterClose, maxWidth, children, title, onRequestClose, onAfterOpen, ariaLabel, ariaDescribedBy, className, id, footerContent, closeAriaLabel, parentSelector, portalClassName: _portalClassName, overlayClassName: _overlayClassName, appElement: _appElement, ariaHideApp: _ariaHideApp, }: ModalProps): import("react/jsx-runtime").JSX.Element; declare namespace Modal { var setAppElement: (_appElement?: string | HTMLElement) => void; } export default Modal;