import { RefObject } from 'react'; interface OnScrollParams { atStartX: boolean; atEndX: boolean; } interface UseScrollableOptions { scrollableElement: RefObject; scrollByPercent: number; onScroll(params: OnScrollParams): void; } interface UseScrollableReturns { scrollToLeft(): void; scrollToRight(): void; } /** * Support only horizontal scroll for now */ export declare function useScrollable({ scrollableElement, scrollByPercent, onScroll, }: UseScrollableOptions): UseScrollableReturns; export {};