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