
export default abstract class CursorUpdateEvent {
  /** An array of numbers representing an x,y coordinate pair in the spatial reference of the view. */
  coordinates: number[] | null;
  /**
   * Set to true when `preventDefault()` is called.
   *
   * @default false
   */
  defaultPrevented: boolean;
  /** The type of the event. */
  readonly type: "cursor-update";
  /** Index of the cursor-vertex within the list of the cursor update event (is null if cursor can not be projected onto the map) */
  vertexIndex?: number | null;
  /**
   * Two-dimensional array of numbers representing the coordinates of each vertex
   * that comprises the drawn geometry.
   */
  vertices: number[][];
  /** Prevents event propagation bubbling up the event chain. */
  preventDefault(): void;
}