/// <reference path="../../index.d.ts" />
import type Color from "@arcgis/core/Color.js";
import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";

export abstract class ArcgisRampColor extends LitElement {
  /** @default "horizontal" */
  accessor layout: "horizontal" | "vertical";
  /** @default 1 */
  accessor max: number;
  /** @default 0 */
  accessor min: number;
  accessor stops: ColorStop[];
}

export interface ColorStop {
  color: Color | string;
  value: number;
  size?: number;
}