import { RefObject } from 'intact-vue'; import { ShouldFixParam } from '../affix'; import { State } from '../../hooks/useState'; import type { useScroll } from './useScroll'; export declare function useStickyScrollbar(elementRef: RefObject, { scrollRef, callbacks }: ReturnType, tableRef: RefObject, tableScroll: (scrollLeft: number) => void): { shouldStickScrollbar: ({ offsetBottom, viewportHeight }: ShouldFixParam) => boolean; stick: State; style: State | null>; scrollbarRef: RefObject; onScroll: (e: Event) => void; tableActualWidth: State; };