import { type MutableRefObject } from "react";
export type UseHorizontalScrollStateResult<T extends HTMLElement = HTMLElement> = {
    containerRef: MutableRefObject<T | null>;
    canScrollLeft: boolean;
    canScrollRight: boolean;
    /** Call after content changes that alter overflow without triggering scroll/resize. */
    update: () => void;
};
/**
 * Tracks whether a horizontally scrollable container can scroll further left
 * or right. Attaches a passive scroll listener and a ResizeObserver. Call
 * `update()` after programmatic content mutations that may change overflow
 * without emitting a native scroll or resize event.
 */
export declare const useHorizontalScrollState: <T extends HTMLElement = HTMLElement>() => UseHorizontalScrollStateResult<T>;
