import type Graphic from "../../../Graphic.js";
import type UtilityNetworkAssociationType from "../../../popup/support/UtilityNetworkAssociationType.js";
import type EditableInput from "./EditableInput.js";
import type GroupInput from "./GroupInput.js";
import type { AttributeFormSupportedLayerUnion } from "../types.js";
import type { EditableInputProperties } from "./EditableInput.js";

/** @since 5.1 */
export interface UtilityNetworkAssociationsElementInputProperties extends EditableInputProperties {}

/**
 * This is a read-only support class that represents a utility network [associations element](https://developers.arcgis.com/javascript/latest/references/core/form/elements/UtilityNetworkAssociationsElement/) in a [BatchAttributeForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/).
 *
 * @since 5.1
 * @see [BatchAttributeForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/)
 * @see [BatchAttributeFormViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel/)
 * @see [BatchFormInputs](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/inputs/BatchFormInputs/)
 */
export default class UtilityNetworkAssociationsElementInput extends EditableInput<any> {
  constructor(properties: UtilityNetworkAssociationsElementInputProperties);
  /**
   * Association types represented by this input.
   *
   * @since 5.1
   */
  get associationTypes(): UtilityNetworkAssociationType[];
  /**
   * The single feature associated with this utility network associations element.
   *
   * @since 5.1
   * @see [BatchAttributeFormViewModel.features](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel/#features)
   */
  get feature(): Graphic | null | undefined;
  /**
   * The group containing this input.
   *
   * @since 5.1
   */
  get group(): GroupInput | null;
  /**
   * Identifies the single feature layer associated with this utility network associations element. The layer must support feature editing and field access.
   *
   * The following layer types are supported:
   * - [FeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/)
   * - [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/)
   * - [SceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SceneLayer/) (with `featureLayer` property)
   * - [SubtypeSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/support/SubtypeSublayer/)
   * - [OrientedImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OrientedImageryLayer/)
   * - [KnowledgeGraphSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/knowledgeGraph/KnowledgeGraphSublayer/)
   *
   * @since 5.1
   * @see [BatchAttributeFormViewModel.layers](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel/#layers)
   */
  get layer(): AttributeFormSupportedLayerUnion | null | undefined;
  /**
   * The type of input.
   *
   * @since 5.1
   */
  get type(): "utilityNetworkAssociations";
}