import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";

export interface ImageUrlResultProperties extends JSONSupportMixinProperties, Partial<Pick<ImageUrlResult, "url">> {}

/**
 * The result returned when the [ImageryLayer#getImageUrl()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#getImageUrl)
 * or [getImageUrl()](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-imageService.html#getImageUrl) method resolves successfully.
 *
 * @since 4.30
 * @see [ImageryLayer#getImageUrl()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#getImageUrl)
 * @see [getImageUrl()](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-imageService.html#getImageUrl)
 * @see [ImageUrlParameters](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ImageUrlParameters.html)
 */
export default class ImageUrlResult extends JSONSupport {
  constructor(properties?: ImageUrlResultProperties);
  /** Image's url */
  accessor url: string;
}