import { RefObject } from 'react';
export type TargetType = Window | Document | HTMLBodyElement | HTMLElement | Element | React.ReactElement | RefObject<HTMLElement>;
/**
 * A custom hook that tracks the scroll position of a target element.
 *
 * @param target The target element for scroll position tracking.
 * @returns The current scroll position of the target element.
 */
declare const useScrollPosition: (target?: TargetType) => number;
export default useScrollPosition;
