/**
 * Custom horizontal scrollbar hook that drives a plain-DOM scrollbar.
 *
 * Returns a callback ref (`scrollRef`) to attach to the scrollable container,
 * plus refs, state, and event handlers for the track + thumb.
 *
 * Uses a **callback ref** so measurement and ResizeObserver setup happen
 * automatically when the scroll element mounts — even if it renders later
 * (e.g. after async data loads).
 */
export declare function useHorizontalScrollbar(): {
    scrollRef: (node: HTMLDivElement | null) => void;
    trackRef: import("react").RefObject<HTMLDivElement | null>;
    thumbRef: import("react").RefObject<HTMLDivElement | null>;
    thumbRatio: number;
    canScrollLeft: boolean;
    canScrollRight: boolean;
    onScroll: () => void;
    onTrackClick: (e: React.MouseEvent) => void;
    onTrackWheel: (e: React.WheelEvent) => void;
    onThumbPointerDown: (e: React.PointerEvent) => void;
    onThumbPointerMove: (e: React.PointerEvent) => void;
    onThumbPointerUp: (e: React.PointerEvent) => void;
};
//# sourceMappingURL=use-horizontal-scrollbar.d.ts.map