import * as React from 'react'; import type { BaseUIComponentProps, NonNativeButtonProps } from '@base-ui/react/internals/types'; import { useDraggableEvent } from "../../internals/utils/useDraggableEvent.mjs"; import type { SchedulerEventId, SchedulerEventOccurrence, SchedulerResourceId, TemporalSupportedObject } from "../../models/index.mjs"; export declare const CalendarGridTimeEvent: React.ForwardRefExoticComponent & React.RefAttributes>; export declare namespace CalendarGridTimeEvent { interface State extends useDraggableEvent.State {} interface Props extends BaseUIComponentProps<'div', State>, NonNativeButtonProps, useDraggableEvent.PublicParameters { /** * Whether the event behaves like a button: `role="button"`, roving `tabIndex` and the column * header labelling. Set it to `false` for an inert preview (creation / resize placeholder) that * only hosts pointer interactions — it then renders a plain `div`, so it is never focusable. * @default true */ interactive?: boolean; } interface SharedDragData { eventId: SchedulerEventId; occurrenceKey: string; originalOccurrence: SchedulerEventOccurrence; start: TemporalSupportedObject; end: TemporalSupportedObject; initialCursorPositionInEventMs: number; sourceResourceId?: SchedulerResourceId; } interface DragData extends SharedDragData { source: 'CalendarGridTimeEvent'; } }