import { ModalBody } from "./ModalBody"; import { ModalCloseButton, type ModalCloseButtonProps } from "./ModalCloseButton"; import { ModalContent } from "./ModalContent"; import { ModalHeader } from "./ModalHeader"; import { ModalOverlay, type ModalOverlayProps } from "./ModalOverlay"; import { ModalRoot, type ModalRootProps } from "./ModalRoot"; import { ModalTitle } from "./ModalTitle"; export interface ModalProps extends ModalRootProps { /** Modal title */ title?: React.ReactNode; /** Determines whether the overlay should be rendered, `true` by default */ withOverlay?: boolean; /** Props passed down to the `Overlay` component, use to configure opacity, `background-color`, styles and other properties */ overlayProps?: ModalOverlayProps; /** Determines whether the close button should be rendered, `true` by default */ withCloseButton?: boolean; /** Props passed down to the close button */ closeButtonProps?: ModalCloseButtonProps; /** Modal content */ children?: React.ReactNode; } export declare function Modal(props: ModalProps): import("react").JSX.Element; export declare namespace Modal { var Root: typeof ModalRoot; var Overlay: typeof ModalOverlay; var Content: typeof ModalContent; var Body: typeof ModalBody; var Header: typeof ModalHeader; var Title: typeof ModalTitle; var CloseButton: typeof ModalCloseButton; }