import * as React from 'react'; import type { SchedulerEventId, SchedulerResourceId } from '@mui/x-scheduler-internals/models'; /** * Registers the event element as a drop target for the create-dependency gesture. * Recurring and read-only events register as invalid targets: they never get the drop * highlight or the snapped preview, but dropping on one surfaces the rejection instead * of dissolving the gesture in silence. * Declarative only: the drop itself is finalized by the creation monitor on the grid * root, which reads the hovered target from the drop target data. */ export declare function useEventDependencyDropTarget(parameters: useEventDependencyDropTarget.Parameters): void; export declare namespace useEventDependencyDropTarget { interface Parameters { /** * The ref to the event's root element. */ ref: React.RefObject; eventId: SchedulerEventId; occurrenceKey: string; /** * The resource of this row appearance, qualifying the occurrence key — an event * assigned to several resources repeats the same key on each of its rows. */ resourceId: SchedulerResourceId; } }