import React, { ReactNode } from "react"; type WithChildren = T & { children?: ReactNode; }; type ModalRootProps = { open: boolean; onClose: () => void; initialFocus?: React.MutableRefObject; className?: string; }; type ModalComponentProps = (props: WithChildren) => React.ReactElement | null; type PanelProps = { className?: string; }; type TitleProps = { children?: ReactNode; className?: string; }; declare const Modal: ModalComponentProps & { Backdrop: ({ className, onClose, }: { className?: string | undefined; onClose?: (() => void) | undefined; }) => React.JSX.Element; Title: ({ children, className }: TitleProps) => React.JSX.Element; Panel: ({ children, className }: WithChildren) => React.JSX.Element; }; export default Modal; //# sourceMappingURL=Modal.d.ts.map