/** @format */
export interface ScrollToParams {
    el: HTMLElement;
    to: number;
    duration?: number;
    callback?: () => any;
}
export declare function useScrollTo({ el, to, duration, callback }: ScrollToParams): {
    start: () => void;
    stop: () => void;
};
