/** * Calculates the scroll progress percentage for an element or the window. * * @param target - The scroll container. Defaults to `window`. * @returns The scroll percentage between 0 and 100. * * @example * getScrollPercentage(document.documentElement) * // => 45 * * @since 1.0.0 */ declare const getScrollPercentage: (target?: HTMLElement | Window) => number; export default getScrollPercentage;