import { CSSProperties, RefObject } from 'react'; export interface UseAnchoredPanelArgs { open: boolean; triggerRef: RefObject; panelRef: RefObject; /** Pin the panel width to the trigger width (Select); else natural width (DatePicker). */ matchTriggerWidth?: boolean; /** Floor for `matchTriggerWidth` — the panel tracks the trigger but never goes below this. */ minWidth?: number; /** The panel's own CSS min-width may exceed the pinned width — clamp against the measured width. */ clampToContentWidth?: boolean; /** Trigger↔panel offset. @default 4 */ gap?: number; } export declare function useAnchoredPanel({ open, triggerRef, panelRef, matchTriggerWidth, minWidth, clampToContentWidth, gap, }: UseAnchoredPanelArgs): { style: CSSProperties; }; //# sourceMappingURL=useAnchoredPanel.d.ts.map