export interface UseScrollFadeOptions { /** * Scroll direction to track * @default 'vertical' */ direction?: 'vertical' | 'horizontal'; /** * Called when element is scrolled to start (top or left) */ onScrollToStart?: () => void; /** * Called when element is scrolled to end (bottom or right) */ onScrollToEnd?: () => void; } export interface UseScrollFadeReturn { /** * Callback ref to attach to the scrollable element. * Sets up ResizeObserver and initial measurement. */ scrollRef: React.RefCallback; /** * Whether content can be scrolled towards the start (top or left) */ canScrollStart: boolean; /** * Whether content can be scrolled towards the end (bottom or right) */ canScrollEnd: boolean; /** * Scroll event handler to attach to the scrollable element's onScroll */ handleScroll: React.UIEventHandler; } export declare const useScrollFade: (options?: UseScrollFadeOptions) => UseScrollFadeReturn;