export declare const useScrollingParentsEffect: (targetRef: React.RefObject>, setTargetRect: (rect: DOMRect | undefined) => void) => void; export declare const useResizingParentEffect: (targetRef: React.RefObject>, setTargetRect: (rect: DOMRect | undefined) => void) => void; /** * Memoizes the list of scrolling parent elements for a target element. * This avoids expensive DOM traversals and getComputedStyle calls on every render. * Returns an empty array if the target element is not available. */ export declare const useScrollingParents: (targetRef: React.RefObject) => HTMLElement[];