import type { GeneralWindow } from './shared/types'; interface ScrollInfo { x: number; y: number; xMax: number; yMax: number; xPct: number; yPct: number; } /** * Gather the current scroll position information of a DOM element or the window * * @param elm - The element to find the scrolling position from * @return The scroll information */ export default function scrollInfo(elm?: Element | GeneralWindow): ScrollInfo; export {};