import { type ResolvedControlProps } from "../../renderingRules"; import type { SelectControlConfig } from "../../types"; type MenuSelectProps = Readonly<{ config: SelectControlConfig; customPortalId?: string; isFullScreen: boolean; resolved: ResolvedControlProps; }>; /** * Renders a select control within a menu context. * Purely presentational -- all rendering decisions come from resolved props. * `data-testid` (when set) is on the menu-item wrapper only — not duplicated on the inner `SelectField`. * * The dropdown portals outside the menu's clipped/scrolled chrome (`overflow-clip`/`overflow-y-auto` * on `PopoverContent`/`MenuContent`) so long option lists are never truncated -- same default * behavior as the standalone toolbar `Select`. In fullscreen mode it portals into the map's own * `customPortalId` element instead of `document.body`, since real `document.body` content is * invisible while the map container is in the Fullscreen API (mirrors `PopoverContent`'s * `portalId={isFullScreen ? customPortalId : undefined}` pattern). * * The dropdown portal always stacks at the `z-popover` layer (`SelectField`'s default), the same * layer as the menu's own `PopoverContent` -- so it reliably paints on top rather than underneath * the menu wherever their bounds overlap, since both portal near the top of the DOM tree outside * the menu's own clipped subtree. * * @internal */ export declare const MenuSelect: ({ config, customPortalId, isFullScreen, resolved: _resolved }: MenuSelectProps) => import("react/jsx-runtime").JSX.Element; export {};