import type { ComputedRef, Ref } from 'vue'; import type { ColumnKey, DataTableSetupProps, MainTableRef, TableColumn } from './interface'; export declare function useScroll(props: DataTableSetupProps, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef, maxHeightRef, mergedTableLayoutRef }: { maxHeightRef: Ref; bodyWidthRef: Ref; mainTableInstRef: Ref; mergedCurrentPageRef: ComputedRef; mergedTableLayoutRef: Ref<'auto' | 'fixed'>; }): { 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; explicitlyScrollableRef: ComputedRef; xScrollableRef: ComputedRef; };