import * as React from "react"; import { ModalRootProps } from "../types"; /** * Memoized component for rendering modals within a modal root. * @param modals An object containing modal components to render. * @param container The DOM element to render modals into. * @param RootComponent The root component to wrap modal content. * @returns JSX element representing the modal root. */ export declare const ModalRoot: React.MemoExoticComponent<({ modals, container, component: RootComponent }: ModalRootProps) => React.ReactPortal | null>;