import { CSSProperties, RefObject } from 'react';
export interface TinyScrollbarState {
    hasOverflowY: boolean;
    hasOverflowX: boolean;
    scrollTop: number;
    scrollLeft: number;
    scrollHeight: number;
    scrollWidth: number;
    clientHeight: number;
    clientWidth: number;
}
export interface TinyScrollbarResult {
    handleVStyle: CSSProperties;
    handleHStyle: CSSProperties;
    hasOverflowY: boolean;
    hasOverflowX: boolean;
    isScrolling: boolean;
    /** Whether scroll is at the start edge (top for Y, left for X) */
    isAtStartX: boolean;
    isAtStartY: boolean;
    /** Whether scroll is at the end edge (bottom for Y, right for X) */
    isAtEndX: boolean;
    isAtEndY: boolean;
}
export declare function useTinyScrollbar(ref: RefObject<HTMLElement | null>, enabled: boolean): TinyScrollbarResult;
