import type Accessor from "../../core/Accessor.js";

/** @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/). */
export interface VisibleElementsProperties extends Partial<Pick<VisibleElements, "datePicker" | "header" | "playButtons" | "shadowsToggle" | "sunLightingToggle" | "timezone">> {}

/**
 * The visible elements that are displayed within the widget.
 * This provides the ability to turn individual elements of the widget's display on/off.
 *
 * @deprecated since 4.34. Use the [Daylight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) instead. For information on widget deprecation, read about [Esri's move to web components](https://developers.arcgis.com/javascript/latest/components-transition-plan/).
 */
export default abstract class VisibleElements extends Accessor {
  /**
   * When set to `false`, neither the date nor the season picker are displayed.
   *
   * @default true
   */
  accessor datePicker: boolean;
  /**
   * When set to `false`, the header is not displayed.
   *
   * @default true
   */
  accessor header: boolean;
  /**
   * When set to `false`, neither of the play buttons are displayed.
   *
   * @default true
   */
  accessor playButtons: boolean;
  /**
   * When set to `false`, the shadows checkbox is not displayed.
   *
   * @default true
   */
  accessor shadowsToggle: boolean;
  /**
   * When set to `false`, the sun lighting checkbox is not displayed.
   *
   * @default true
   */
  accessor sunLightingToggle: boolean;
  /**
   * When set to `false`, the timezone selector is not displayed.
   *
   * @default true
   */
  accessor timezone: boolean;
}