import React from 'react'; import type { RowDataType } from '../types'; interface PositionProps { data: readonly RowDataType[]; height: number; tableWidth: React.MutableRefObject; tableRef: React.RefObject; prefix: (str: string) => string; setCssPosition: React.MutableRefObject; wheelWrapperRef: React.RefObject; headerWrapperRef: React.RefObject; affixHeaderWrapperRef: React.RefObject; tableHeaderRef: React.RefObject; scrollX: React.MutableRefObject; scrollY: React.MutableRefObject; contentWidth: React.MutableRefObject; shouldFixedColumn: boolean; } /** * Update the position of the table according to the scrolling information of the table. * @param props * @returns */ declare const usePosition: (props: PositionProps) => { forceUpdatePosition: (nextDuration?: number, nextBezier?: string) => void; deferUpdatePosition: (nextDuration?: number, nextBezier?: string) => void; }; export default usePosition;