/** * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE file or https://utam.dev/salesforce/license */ import { Driver as _Driver, Element as _Element, Locator as _Locator, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, BaseUtamElement as _BaseUtamElement, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; /** * Selector: record_flexipage-record-field * Represents the record_flexipage-record-field Lightning web component. * Check if the field is read only, is required, or if a label is present. Get the label text. * generated from JSON dist/record/flexipage/recordField.utam.json * @version 2026-03-09T13:56:36.756Z * @author Salesforce */ export default class RecordField extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Gets the label text of the record field * @return string */ getLabelText(): Promise; /** * Gets a value indicating whether the record field has label text * @return boolean */ hasLabelText(): Promise; /** * Gets a value indicating whether the record field is read only * @return boolean */ isFieldReadOnly(): Promise; /** * Gets a value indicating whether the record field is required * @return boolean */ isFieldRequired(): Promise; /** * Gets a value indicating whether the record field is ai enabled * @return boolean */ isAiEnabledField(): Promise; getFieldContentEditMode(ContainerCtor: _ContainerCtor): Promise; getFieldContentViewMode(ContainerCtor: _ContainerCtor): Promise; getInlineEditTrigger(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getUndoButton(): Promise<(_BaseUtamElement & _ClickableUtamElement) | null>; }