import { type UseWindowScrollOptions, type UseWindowScrollReturn } from '@vueuse/core'; import { type Ref } from 'vue'; export type UseReseeWindowScrollReturn = UseWindowScrollReturn & { source: Ref; }; /** * A specialized implementation of the Vueuse {@link useWindowScroll} composable, which adds * the new property `source` to the returned object. * * The purpose of `source` is to provide a best-effort attempt at identifying _why_ the scroll * was initiated. To do this, a series of common user interaction events - _wheel_, _touchmove_, * etc. are listened to and correlated with the scroll event. * * In the case of a scroll **not** being initiated by direct user interaction - e.g. invocation of * `window.scrollTo` or the user agent scrolling the page in response to a URL hash change - then * `source` will be undefined. */ export declare function useReseeWindowScroll(options?: UseWindowScrollOptions): UseReseeWindowScrollReturn;