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

/** @since 5.0 */
export interface Symbol3DIconOutlineProperties {
  /**
   * The color of the outline.
   * 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/references/core/Color/) object.
   *
   * @since 5.0
   */
  color?: ColorLike | null;
  /**
   * The width of the outline in points. This value may be autocast with a string
   * expressing size in points or pixels (e.g. `12px`).
   *
   * @since 5.0
   */
  size?: number | string;
}

/** @since 5.0 */
export default class Symbol3DIconOutline extends JSONSupport {
  constructor(properties?: Symbol3DIconOutlineProperties);
  /**
   * The color of the outline.
   * 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/references/core/Color/) object.
   *
   * @since 5.0
   */
  get color(): Color | null | undefined;
  set color(value: ColorLike | null | undefined);
  /**
   * The width of the outline in points. This value may be autocast with a string
   * expressing size in points or pixels (e.g. `12px`).
   *
   * @since 5.0
   */
  get size(): number;
  set size(value: number | string);
}