import { type FC, type PropsWithChildren } from "react"; import type { UIContextFactory } from "./UIContextFactory"; /** * Properties for the UIContextRoot component. */ export type UIContextRootProps = PropsWithChildren<{ /** * Creates a new UI context. */ contextFactory: UIContextFactory; }>; /** * A component that provides UI context and theme support. Normally this is * provided at the root of the React hierarchy by the layout, but in rare cases * you might need to render a separate React hierarchy with ReactDom.render(). * In that case, use this component as the root. */ declare const UIContextRoot: FC; export default UIContextRoot;