import { UseScrollConfig, Handler, EventTypes } from '../types'; /** * Scroll hook. * * @param handler - the function fired every time the scroll gesture updates * @param [config={}] - the config object including generic options and scroll options */ export declare function useScroll(handler: Handler<'scroll', K>, config?: UseScrollConfig | {}): (...args: any[]) => import("../types").ReactEventHandlers;