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;
}
export declare function useTinyScrollbar(ref: RefObject<HTMLElement | null>, enabled: boolean): TinyScrollbarResult;
