import { type CSSProperties } from 'styled-components'; import type { DSHookFloatingContextT } from './react-desc-prop-types.js'; import type { PopoverArrowT } from './parts/PopoverArrow.js'; type UseComputedPositionStylesT = { /** Prevent computing when closed (optimization + avoids unnecessary frames) */ preventComputing?: boolean; reference: Element | null; floating: HTMLElement | null; placement: DSHookFloatingContextT.PopperPlacementsT; placementOrderPreference?: DSHookFloatingContextT.PopperPlacementsT[]; customOffset: [number, number]; withoutPortal: boolean; /** Debounce ms for scroll/resize/observer events */ debounceMs?: number; }; export declare const useComputedPositionStyles: (config: UseComputedPositionStylesT) => { arrowStyles: PopoverArrowT; floatingStyles: CSSProperties; hasComputedOnce: boolean; updateStyles: () => void; debouncedUpdateStyles: import("lodash").DebouncedFunc<() => void>; mutableUpdateStyles: import("react").MutableRefObject<() => void>; resetVisibilityOnly: () => void; }; export {};