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

export interface Symbol3DMaterialProperties extends JSONSupportMixinProperties {
  /**
   * The color of the fill.
   * This can be autocast with an array of rgb(a) values, named string, hex string or an hsl(a) string,
   * an object with `r`, `g`, `b`, and `a` properties, or a [Color](https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html) object.
   */
  color?: ColorLike | null;
}

export default abstract class Symbol3DMaterial extends JSONSupport {
  /**
   * The color of the fill.
   * This can be autocast with an array of rgb(a) values, named string, hex string or an hsl(a) string,
   * an object with `r`, `g`, `b`, and `a` properties, or a [Color](https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html) object.
   */
  get color(): Color | null | undefined;
  set color(value: ColorLike | null | undefined);
}