import { RefObject } from 'react'; interface ScrollPosition { x: number; y: number; } type ScrollTarget = Window | Document | HTMLElement | RefObject; /** * A hook that tracks scroll position of a target element or window. * @param target Optional target element (defaults to window) * @param throttleMs Optional throttle delay in milliseconds * @returns Object containing current scroll position (x, y) */ export declare function useScroll(target?: ScrollTarget, throttleMs?: number): ScrollPosition; export {};