import * as React from 'react'; interface UseTitleScrollSyncParameters { /** Disables the hook (e.g. when no overflow). Resets the CSS variable to 0. */ enabled: boolean; /** The root element on which the `--title-scroll-left` CSS variable is written. */ containerRef: React.RefObject; /** The main scroller; wheel/touch event listeners are attached here. */ gridRef: React.RefObject; /** The dedicated title scrollbar element whose `scrollLeft` is the source of truth. */ scrollbarRef: React.RefObject; /** Class name used to detect that a gesture originated over a title cell. */ titleCellClassName: string; } /** * Wires the dedicated title scrollbar to all title cells: * - Sets `--title-scroll-left` on the container whenever the scrollbar scrolls, * so every title cell's content translates by the same amount. * - Redirects horizontal wheel and touch gestures performed over a title cell * to the scrollbar, so the title column scrolls as a block. Vertical motion * still scrolls the main grid (rows). */ export declare function useTitleScrollSync(params: UseTitleScrollSyncParameters): void; export {};