import type BaseImageMeasureResultValue from "./BaseImageMeasureResultValue.js";
import type { AreaUnit } from "../../geometry/geometryEngineTypes.js";
import type { BaseImageMeasureResultValueProperties } from "./BaseImageMeasureResultValue.js";

/** @since 5.0 */
export interface ImageMeasureResultAreaValueProperties extends BaseImageMeasureResultValueProperties {
  /**
   * Unit used in the mensuration operation.
   *
   * @since 5.0
   */
  unit?: AreaUnit;
}

/** @since 5.0 */
export default class ImageMeasureResultAreaValue extends BaseImageMeasureResultValue {
  /** @since 5.0 */
  constructor(properties?: ImageMeasureResultAreaValueProperties);
  /**
   * Unit used in the mensuration operation.
   *
   * @since 5.0
   */
  accessor unit: AreaUnit;
}