import { RefObject } from 'react'; type ScrollDirection = 'vertical' | 'horizontal' | 'both'; interface ScrollState { vertical: boolean; horizontal: boolean; } export declare const useHasScroll: (ref: RefObject, direction?: ScrollDirection, observeResize?: boolean) => ScrollState | boolean; export {};