import * as React from 'react';
import type { TimelineGridColumnType } from "../../models/timelineGrid.js";
/**
* Handles arrow-key navigation and focus syncing for a timeline grid row cell.
*
* Must be used inside a ``. The component inherits its
* index from the parent row and acts as a focusable cell within it.
* Uses `totalRowCount` from the root context for bounds checking, which works
* correctly with virtualization where only a subset of rows exist in the DOM.
*/
export declare function useTimelineGridRowKeyboard(params: {
columnType: TimelineGridColumnType;
}): {
rowRef: React.RefObject;
index: number;
hasFocus: boolean;
handleKeyDown: (event: React.KeyboardEvent) => boolean;
handleFocus: (event: React.FocusEvent) => void;
};