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, needed if component may be rendered in ShadowDOM.
 * @returns void.
 */
declare const useItemIntersection: (containerRef: RefObject<HTMLElement>, offset: number, cb: () => void, itemSelector: string, boundingRef?: RefObject<HTMLElement>) => void;
export default useItemIntersection;
//# sourceMappingURL=useItemIntersection.d.ts.map