import React from 'react'; export declare function trapScroll({ current: scrollTrap, }: React.RefObject): ReturnType; export declare function useScrollTrap(ref: React.RefObject): void; declare type Orientation = 'horizontal' | 'vertical'; export interface Scroll { showScroll: boolean; clickFore?: () => void; clickBack?: () => void; offset: number; currentIndex: number; } export declare type GetScrollInfo = (e: HTMLElement) => { listWrapper: HTMLElement; buttonWidth: number; listItems: HTMLElement[]; }; export declare function useScroll(orientation: Orientation, isVisible: boolean, getScrollInfo: GetScrollInfo): [React.RefObject, Scroll]; export declare const BUTTON_WIDTH = 34; export declare const ScrollButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, { 'aria-disabled': true | undefined; 'aria-hidden': true; }, "aria-disabled" | "aria-hidden">; export {};