import { ComputedRef, Ref } from 'vue'; import { DataTableSetupProps } from './DataTable'; import type { ColumnKey, MainTableRef, TableColumn } from './interface'; export declare function useScroll(props: DataTableSetupProps, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef, scrollPartRef }: { scrollPartRef: Ref<'head' | 'body'>; bodyWidthRef: Ref; mainTableInstRef: Ref; mergedCurrentPageRef: ComputedRef; }): { styleScrollXRef: ComputedRef; fixedColumnLeftMapRef: ComputedRef>; fixedColumnRightMapRef: ComputedRef>; leftFixedColumnsRef: ComputedRef[]>; rightFixedColumnsRef: ComputedRef[]>; leftActiveFixedColKeyRef: Ref; rightActiveFixedColKeyRef: Ref; syncScrollState: () => void; handleTableBodyScroll: () => void; handleTableHeaderScroll: () => void; setHeaderScrollLeft: (left: number) => void; };