/**
 * Scroll to hook
 *
 * @param {number|Element} to Final destination in px or html element
 * @param {number} speed Scroll speed, bigger numbers makes the animation slower
 * @param {string} easing Animation easing, has to be defined in the easing object
 *
 */
export declare const useScrollTo: (to?: HTMLElement | number, speed?: number, easing?: string) => {
    scrollTo: (toOverride: HTMLElement | number) => void;
    isScrolling: boolean;
    stopScroll: () => void;
};
export declare function scrollIt(destination: HTMLElement | number, duration?: number, easing?: string, callback?: () => void): void;
