import type GroupInput from "./GroupInput.js";
import type SingleFeatureInput from "./SingleFeatureInput.js";
import type { SingleFeatureInputProperties } from "./SingleFeatureInput.js";

/** @since 5.0 */
export interface TextElementInputProperties extends SingleFeatureInputProperties {}

/**
 * This is a read-only support class that represents a [text element](https://developers.arcgis.com/javascript/latest/references/core/form/elements/TextElement/) in a [BatchAttributeForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/).
 *
 * @since 5.0
 * @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 TextElementInput extends SingleFeatureInput<any> {
  constructor(properties: TextElementInputProperties);
  /**
   * The group containing the text element input.
   *
   * @since 5.0
   */
  get group(): GroupInput | null;
  /**
   * The processed text, compiled and with expressions replaced with values.
   *
   * @since 5.0
   */
  get text(): string;
  /**
   * The type of input.
   *
   * @since 5.0
   */
  get type(): "text";
}