import * as React from 'react'; export interface TimelineGridEventRowContext { /** * Whether this row currently owns focus within the grid. * When `true`, interactive children (e.g. events) should use `tabIndex={0}` * so they are reachable via Tab; when `false`, they should use `tabIndex={-1}`. */ hasFocus: boolean; /** * Gets the cursor position in the element in milliseconds. * @param {Object} parameters The parameters of the method. * @param {{ clientX: number }} parameters.input The input object provided by the drag and drop library for the current event. * @param {React.RefObject} parameters.elementRef The ref of the element on which the event has been triggered. * @returns {number} The cursor position in milliseconds. */ getCursorPositionInElementMs: ({ input, elementRef }: { input: { clientX: number; }; elementRef: React.RefObject; }) => number; } export declare const TimelineGridEventRowContext: React.Context; export declare function useTimelineGridEventRowContext(): TimelineGridEventRowContext;