import type { Ref, ShallowRef } from 'vue'; import type { FlatRecord, Key, SurelyTableProps } from '../components/interface'; import type { RangeCell } from './RangeInterface'; export default function useData(_props: SurelyTableProps, rowPosition: Ref, flattenData: Ref, startIndex: Ref, endIndex: Ref, draggingRowKey: Ref, draggingRowKeys: Ref>, useAnimate: Ref, getRowFlattenIndexByKey: (key: Key) => number | undefined, latestRangeStartCell: ShallowRef, preserveRows: Ref>): { data: Ref; pos: Ref; };