import * as React from 'react'; import { TemporalSupportedObject } from "../../models/index.mjs"; export interface CalendarGridTimeColumnContext { /** * The start date and time of the column. */ start: TemporalSupportedObject; /** * The end date and time of the column. */ end: TemporalSupportedObject; /** * The index of the column in the grid. */ index: number; /** * Whether this column 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 {{ clientY: 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: { clientY: number; }; elementRef: React.RefObject; }) => number; } export declare const CalendarGridTimeColumnContext: React.Context; export declare function useCalendarGridTimeColumnContext(): CalendarGridTimeColumnContext;