import { type RefObject } from "react"; export interface AutoScrollOptions { /** * If an element is blocking part of the top area of the scroller, * set scrollTopOffset to its height so the scroll behavior takes it into account. */ scrollOffsetTop?: number; } export declare function useAutoScroll(ref: RefObject, options?: AutoScrollOptions): { start: () => void; stop: () => void; };