import { CSSProperties, RefObject } from 'react'; /** * Computes a fixed-position style for a portaled dropdown anchored to a * wrapper element. Re-evaluates when the dropdown opens, on scroll, and on * resize. Picks the side (above/below) with the most available space. */ export declare function useDropdownPosition(wrapperRef: RefObject, isOpen: boolean, dropdownGap: number): CSSProperties;