import type FieldInput from "./FieldInput.js";
import type GroupInput from "./GroupInput.js";
import type TextElementInput from "./TextElementInput.js";

/**
 * An array of [field inputs](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-FieldInput.html) and [text element inputs](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm-inputs-TextElementInput.html) contained within a group's input.
 *
 * @since 5.0
 */
export type GroupableInput = FieldInput | TextElementInput;

/**
 * An array of field or group inputs that make up the [BatchAttributeForm](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BatchAttributeForm.html).
 *
 * @since 5.0
 */
export type FormInput = GroupInput | FieldInput | TextElementInput;