import type { GridRowId } from "../../../models/gridRows.js";
import type { RowReorderDropPosition } from "../../../models/api/gridRowApi.js";
/**
 * The row reorder state.
 */
export interface GridRowReorderState {
  /**
   * Whether a row drag operation is currently active.
   */
  isActive: boolean;
  /**
   * The row ID being dragged.
   */
  draggedRowId: GridRowId | null;
  /**
   * The current drop target information.
   */
  dropTarget?: {
    /**
     * The row ID where the drop indicator should be shown.
     */
    rowId: GridRowId;
    /**
     * The position of the drop indicator relative to the target row.
     */
    position: RowReorderDropPosition;
  };
}