import type { RefObject } from 'react'; /** * @example useItemIntersection(listRef,offset,() => { do_some_thing; }); * @param containerRef The ref of the List. * @param offset Index of the list item which needs to be observed. * @param cb Callback that needs to be fired on intersect * @param itemSelector Selector used to get the node list of items * @param boundingRef Ref to use as the bounding root for querying items. Required for use when selected items are rendered within a ShadowRoot. * @returns void. */ declare const useItemIntersection: (containerRef: RefObject, offset: number, cb: () => void, itemSelector: string, boundingRef?: RefObject) => void; export default useItemIntersection; //# sourceMappingURL=useItemIntersection.d.ts.map