import * as React from "react"; export interface OverlayPortalProviderProps { /** * The element overlays are rendered into. Pass the shadow root, or any element inside it. * `undefined` restores the default, so a subtree can opt back out. */ container: Element | undefined; children: React.ReactNode; } export declare function OverlayPortalProvider({ container, children }: OverlayPortalProviderProps): React.JSX.Element; /** * The container this overlay should render into. An explicit prop wins, so one panel can be placed * elsewhere without unmounting the provider around it. * * Not exported from the public barrel: this is a contract between the provider and the overlays * this library ships, not a knob for consumers — a consumer that needs the value has a provider. */ export declare function useOverlayPortalContainer(override?: Element): Element | undefined;