import * as React from 'react'; import type { ScrollbarRef } from '../../../../scrollbar'; export default function useScrollTo(scrollbarRef: React.RefObject, value: number | string | undefined): [syncScroll: VoidFunction, clearScroll: VoidFunction, isScrolling: () => boolean];