import type Extent from "../../geometry/Extent.js";
import type { JSONSupport } from "../../core/JSONSupport.js";
import type { ExtentProperties } from "../../geometry/Extent.js";

/** **MapImage** represents an image overlay draped onto the terrain. */
export default abstract class KMLMapImage extends JSONSupport {
  /** The [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html) of the map image. */
  get extent(): Extent;
  set extent(value: ExtentProperties);
  /**
   * URL to the map image.
   *
   * @default ""
   */
  accessor href: string;
  /**
   * Map image id.
   *
   * @default 0
   */
  accessor id: number;
  /**
   * Rotation of the map image about its center, in degrees. Values can be ±180. The default is 0 (north). Rotations are specified in a counterclockwise direction.
   *
   * @default 0
   */
  accessor rotation: number;
}