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

export abstract class DatePickerDay extends LitElement {
  /**
   * When `true`, the component is active.
   *
   * @default false
   */
  accessor active: boolean;
  /**
   * Date is in the current month.
   *
   * @default false
   */
  accessor currentMonth: boolean;
  /**
   * Day of the month to be shown.
   *
   * @required
   */
  accessor day: number;
  /**
   * When `true`, interaction is prevented and the component is displayed with lower opacity.
   *
   * @default false
   */
  accessor disabled: boolean;
  /**
   * Date is the end of date range.
   *
   * @default false
   */
  accessor endOfRange: boolean;
  /**
   * Date is currently highlighted as part of the range,
   *
   * @default false
   */
  accessor highlighted: boolean;
  /**
   * When `true`, activates the component's range mode to allow a start and end date.
   *
   * @default false
   */
  accessor range: boolean;
  /**
   * Date is being hovered and within the set range.
   *
   * @default false
   */
  accessor rangeHover: boolean;
  /** Specifies the size of the component. */
  accessor scale: Scale;
  /**
   * When `true`, the component is selected.
   *
   * @default false
   */
  accessor selected: boolean;
  /**
   * Date is the start of date range.
   *
   * @default false
   */
  accessor startOfRange: boolean;
  /** The component's value. */
  accessor value: Date;
  /**
   * Sets focus on the component.
   *
   * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
   * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
   */
  setFocus(options?: FocusOptions): Promise<void>;
}