import type { RefObject } from "react"; import type { MenuPlacement } from "./Menu.js"; interface Options { popoverRef: RefObject; triggerRef: RefObject; open: boolean; placement: MenuPlacement; anchorName: string; } /** Placement for Menu (D53). Above the anchor floor this hook only declares * anchor-name / position-anchor and lets CSS position the popover. Below it, * a top-layer element's containing block is the viewport — there is no * declarative way to place it near its trigger — so this sets `inset` from * the trigger rect and keeps it current. That branch is dead code above the * anchor floor and is deletable outright once the floor rises. */ export declare function useMenuPlacement({ popoverRef, triggerRef, open, placement, anchorName }: Options): void; export {}; //# sourceMappingURL=useMenuPlacement.d.ts.map