import { type ComponentType, type ReactNode } from "react"; type PortalTarget = Element | DocumentFragment; export declare function PortalContainerProvider(props: { container: PortalTarget | null; children?: ReactNode; }): import("react").JSX.Element; /** The provided portal target, or null for . */ export declare function usePortalContainer(): PortalTarget | null; /** * The overlays of a component that stands alone in a host page, such as a * panel in the host's own dialog. Its menus, dialogs and tooltips portal into * one `og-root` under that carries the component's effective `--og-*` * tokens (`source` is the component's root), so the scoped stylesheet styles * them, they keep the host's theme, and the host's layout never clips them. * Inside an app that already provides a container, that container is used. */ export declare function StandaloneOverlayRoot(props: { source: HTMLElement | null; children?: ReactNode; }): import("react").JSX.Element; type PortalProps = { container?: PortalTarget | null | undefined; children?: ReactNode; }; /** A Radix `Portal` that targets the provided container unless given its own. */ export declare function containedPortal

(Portal: ComponentType

): ComponentType

; export {};