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

export interface VisibleElementsProperties extends Partial<Pick<VisibleElements, "filter">> {}

/**
 * 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 VisibleElements extends Accessor {
  /**
   * Indicates whether the [templates filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTemplates.html#visibleElements) displays.
   *
   * @default true
   */
  accessor filter: boolean;
}