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