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

export interface BasemapLayerListVisibleElementsProperties extends Partial<Pick<BasemapLayerListVisibleElements, "baseLayers" | "closeButton" | "collapseButton" | "editTitleButton" | "errors" | "filter" | "flow" | "heading" | "referenceLayers" | "statusIndicators" | "temporaryLayerIndicators">> {}

/**
 * The visible elements that are displayed within the widget.
 * This provides the ability to turn individual elements of the widget's display on/off.
 */
export default abstract class BasemapLayerListVisibleElements extends Accessor {
  /**
   * Indicates whether to the base layers will be displayed.
   *
   * @default true
   */
  accessor baseLayers: boolean;
  /**
   * **Since 4.29** Indicates whether to display a close button in the header.
   *
   * @default false
   */
  accessor closeButton: boolean;
  /**
   * **Since 4.29** Indicates whether to display a collapse button in the header.
   *
   * @default false
   */
  accessor collapseButton: boolean;
  /**
   * **Since 4.29** Indicates whether to display a button in the header to edit the basemap title.
   *
   * @default false
   */
  accessor editTitleButton: boolean;
  /**
   * **Since 4.25** Indicates whether to display layers with load errors.
   *
   * @default false
   */
  accessor errors: boolean;
  /**
   * **Since 4.29** Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [BasemapLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#minFilterItems), allowing users to filter layers by their title.
   *
   * @default false
   */
  accessor filter: boolean;
  /**
   * **Since 4.29** Determines whether the widget should be shown within its built-in [flow component](https://developers.arcgis.com/calcite-design-system/components/flow/) or if the flow component should be excluded. The widget will be displayed within its original flow component if set to `true`. The flow component will be omitted from the widget if set to `false`. To place the widget into an existing Calcite flow component, set this property to `false`.
   *
   * @default true
   */
  accessor flow: boolean;
  /**
   * **Since 4.29** Indicates whether the widget displays a heading. The heading text is the title of the basemap. The heading level can be set with the [BasemapLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#headingLevel).
   *
   * @default true
   */
  accessor heading: boolean;
  /**
   * Indicates whether to the reference layers will be displayed.
   *
   * @default true
   */
  accessor referenceLayers: boolean;
  /**
   * Indicates whether the status indicators will be displayed.
   *
   * @default true
   */
  accessor statusIndicators: boolean;
  /**
   * **Since 4.29** Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
   *
   * @default false
   */
  accessor temporaryLayerIndicators: boolean;
}