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

/**
 * @cssproperty [--calcite-progress-background-color] - Specifies the component's background color.
 * @cssproperty [--calcite-progress-fill-color] - Specifies the component's fill color.
 * @cssproperty [--calcite-progress-text-color] - Specifies the component's text color.
 */
export abstract class Progress extends LitElement {
  /** Specifies an accessible label for the component. */
  accessor label: string;
  /**
   * When `true` and type is `"indeterminate"`, reverses the animation direction.
   *
   * @default false
   */
  accessor reversed: boolean;
  /** Text that displays under the component's indicator. */
  accessor text: string;
  /**
   * Specifies the component type.
   *
   * Use `"indeterminate"` if finding actual progress value is impossible.
   *
   * @default "determinate"
   */
  accessor type: "indeterminate" | "determinate";
  /**
   * When `type` is `"determinate"`, specifies the component's value with a range of 0 to 100.
   *
   * @default 0
   */
  accessor value: number;
}