import { NDataTable } from 'naive-ui'; import { Ref } from 'vue'; import { FullQueryState } from '../types/shared'; export declare function useTableScroll(params: { tableId: string; tableWrapperRef: Ref; tableRef: Ref | undefined>; horizontalScrollbarHandleRef: Ref; topViewportOffset: Ref; paginationState: FullQueryState['paginationState']; }): { xScrollable: Ref; scrollbarVisible: Ref; teleportActive: Ref; scrollbarWidth: Ref; scrollbarOffset: Ref; isDragScrolling: Ref; dragScrollStart: Ref; scrollX: Ref; tableElementExists: Ref; tableHover: globalThis.ShallowRef; updateScrollbarState: () => void; persistScrollPosition: (e: Event) => void; };