import { Direction, Sizes } from './types';
export declare function getThumbSize(sizes: Sizes): number;
export declare function getThumbRatio(viewportSize: number, contentSize: number): number;
export declare function addUnlinkedScrollListener(node: HTMLElement, handler?: () => void): () => void;
export declare function getThumbOffsetFromScroll(scrollPos: number, sizes: Sizes, dir?: Direction): number;
export declare function toInt(value?: string): number;
export declare function getScrollPositionFromPointer(pointerPos: number, pointerOffset: number, sizes: Sizes, dir?: Direction): number;
export declare function isScrollingWithinScrollbarBounds(scrollPos: number, maxScrollPos: number): boolean;
