import { ColumnKey, DataTableSetupProps, MainTableRef, TableColumn } from "./interface.js"; import { ComputedRef, Ref } from "vue"; //#region src/data-table/src/use-scroll.d.ts type ScrollSyncSource = 'head' | 'body' | 'layout'; declare function useScroll(props: DataTableSetupProps, { mainTableInstRef, mergedCurrentPageRef, bodyWidthRef, maxHeightRef, mergedTableLayoutRef, mergedEmptyRef }: { maxHeightRef: Ref; bodyWidthRef: Ref; mainTableInstRef: Ref; mergedCurrentPageRef: ComputedRef; mergedTableLayoutRef: Ref<'auto' | 'fixed'>; mergedEmptyRef: ComputedRef; }): { styleScrollXRef: ComputedRef; fixedColumnLeftMapRef: ComputedRef>; fixedColumnRightMapRef: ComputedRef>; leftFixedColumnsRef: ComputedRef[]>; rightFixedColumnsRef: ComputedRef[]>; leftActiveFixedColKeyRef: Ref; leftActiveFixedChildrenColKeysRef: Ref; rightActiveFixedColKeyRef: Ref; rightActiveFixedChildrenColKeysRef: Ref; syncScrollState: (source: ScrollSyncSource) => void; handleTableBodyScroll: (e: Event) => void; handleTableHeaderScroll: () => void; setHeaderScrollLeft: (left: number) => void; explicitlyScrollableRef: ComputedRef; xScrollableRef: ComputedRef; }; //#endregion export { useScroll };