import type { ComponentRef, RefObject } from "react"; import type { ControlOverlaySide } from "./controlOverlaySide"; import { type AvailableSpace } from "./renderingRules"; import type { ControlConfig } from "./types"; type ControlRendererProps = Readonly<{ availableSpace: AvailableSpace; /** Ref to the controls overlay container, used to compute popover placement */ containerRef: RefObject | null>; control: ControlConfig; customPortalId?: string; overlaySide?: ControlOverlaySide; }>; /** * Renders a control based on its type using exhaustive switch. * Calls resolveControl to compute rendering decisions, then passes * both the config and resolved props to the presentational renderer. * * @internal */ export declare const ControlRenderer: ({ availableSpace, containerRef, control, customPortalId, overlaySide, }: ControlRendererProps) => import("react/jsx-runtime").JSX.Element; export {};