///
import { DataMap, LczPointTimelineProps } from '../type';
interface Props extends LczPointTimelineProps {
data: DataMap[];
currIndex: React.MutableRefObject;
setCurrIndex: (index: number) => void;
timelineRef: React.RefObject;
}
export default function useScroll(props: Props): {
pointCenterByIndex: (index: number, upData?: boolean) => void;
cancelAnimation: (type?: string) => void;
startCarousel: (type?: string) => void;
};
export {};