
export interface DrawOptions {
  /**
   * The drawing mode. The drawing mode applies only when creating `polygon`, `polyline`, `segment` draw actions.
   *
   * **Possible Values**
   *
   * Value | Description |
   * ----- | ----------- |
   * hybrid | Vertices are added while the pointer is clicked or dragged. Applies to and is the default for `polygon` and `polyline` draw actions.
   * freehand | Vertices are added while the pointer is dragged. Applies to `polygon`, `polyline` and `segment` draw actions. Default for `segment` draw actions.
   * click | Vertices are added when the pointer is clicked.
   */
  mode?: "hybrid" | "freehand" | "click";
}

export type DrawingMode = "click" | "freehand" | "hybrid";