import { RefObject } from 'react'; export interface ScrollEdges { /** Content is scrolled out of view past the element's top (or left) edge. */ hasStart: boolean; /** Content continues past the element's bottom (or right) edge. */ hasEnd: boolean; } export interface ScrollEdgesOptions { /** Which axis to measure. Default `'vertical'`. */ axis?: 'vertical' | 'horizontal'; /** Measure at all. Default `true`; pass `false` while the element is hidden. */ isEnabled?: boolean; } /** * Reports which edges of a scroll container currently hide content, so a caller can mark the * boundary, most often by fading it: see `styles/scrollFade.module.pcss`. */ export declare function useScrollEdges(ref: RefObject, options?: ScrollEdgesOptions): ScrollEdges;