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

/** @since 5.0 */
export interface PopupVisibleElementsProperties extends Partial<Pick<PopupVisibleElements, "actionBar" | "closeButton" | "collapseButton" | "featureListLayerTitle" | "featureMenuHeading" | "featureNavigation" | "heading" | "spinner">> {}

/**
 * The visible elements that are displayed within the widget.
 * This provides the ability to turn individual elements of the widget's display on/off.
 *
 * ![popup-visibleElements](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/popup/popup-visible-elements.png)
 *
 * @deprecated since 5.0, use the [Popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup) component instead.
 * @since 5.0
 */
export default class PopupVisibleElements extends Accessor {
  constructor(properties?: PopupVisibleElementsProperties);
  /**
   * Indicates whether to display the action bar that holds the feature's [Popup.actions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#actions).
   *
   * @default true
   * @since 5.0
   */
  accessor actionBar: boolean;
  /**
   * Indicates whether to display a close button on the widget dialog.
   *
   * @default true
   * @since 5.0
   */
  accessor closeButton: boolean;
  /**
   * Indicates whether to display the collapse button on the widget dialog.
   *
   * @default true
   * @since 5.0
   */
  accessor collapseButton: boolean;
  /**
   * Indicates whether to display the group heading for a list of multiple features.
   *
   * ![popup-visibleElements-featureListLayerTitle](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/popup/popup-listlayertitle-true2.png)
   *
   * @default true
   * @since 5.0
   */
  accessor featureListLayerTitle: boolean;
  /**
   * Indicates whether to display a heading and description on the widget feature menu list.
   *
   * @default true
   * @since 5.0
   */
  accessor featureMenuHeading: boolean;
  /**
   * Indicates whether pagination for feature navigation will be displayed. This allows the user to scroll through various [selected features](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/#features) using pagination arrows.
   *
   * @default true
   * @since 5.0
   */
  accessor featureNavigation: boolean;
  /**
   * Indicates whether to display the widget heading.
   *
   * @default true
   * @since 5.0
   */
  accessor heading: boolean;
  /**
   * Indicates whether to display the widget's loading spinner.
   *
   * @default true
   * @since 5.0
   */
  accessor spinner: boolean;
}