/** * Return a ref that can be used to subscribe to scroll events. * @param onScroll Scroll event handler * @param extractHTMLElement Optional extraction handler to get the HTML element * to subscribe to scroll events. If no extraction handler is given, the argument * passed to the callback will be subscribed to if it is an HTML element. */ export declare function useOnScrollRef(onScroll: (event: Event) => void, extractHTMLElement?: (ref: T | null) => HTMLElement | null): (element: T | null) => void; export default useOnScrollRef; //# sourceMappingURL=useOnScrollRef.d.ts.map