/** * 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, BaseUtamElement as _BaseUtamElement, EditableUtamElement as _EditableUtamElement, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; /** * Component that displays a text input field with label, required indicator, help text, and error message support. * Selector: runtime_copilot_base-input-text * generated from JSON dist/runtime_copilot_base/inputText.utam.json * @version 2026-03-09T13:56:37.277Z * @author Salesforce */ declare class InputText extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the label text is visible * @return boolean */ isLabelTextVisible(): Promise; /** * Check if the help text message is present * @return boolean */ isHelpTextMessagePresent(): Promise; /** * Check if the help text message is visible * @return boolean */ isHelpTextMessageVisible(): Promise; /** * Check if the help text message is focused * @return boolean */ isHelpTextMessageFocused(): Promise; /** * Get text content of the help text message * @return string */ getHelpTextMessageText(): Promise; /** * Check if the required indicator is present * @return boolean */ isRequiredIndicatorPresent(): Promise; /** * Check if the required indicator is visible * @return boolean */ isRequiredIndicatorVisible(): Promise; /** * Returns true if element "requiredIndicator" present on the page * @return boolean */ verifyRequiredIndicatorPresence(): Promise; /** * Returns true if element "helpTextMessage" present on the page * @return boolean */ verifyHelpTextMessagePresence(): Promise; waitForPrimitveInputText(): Promise<(_BaseUtamElement & _EditableUtamElement)>; /** * Represents the main text input component. */ getPrimitiveTextInput(): Promise<(_BaseUtamElement)>; /** * Represents the help text component which may be conditionally shown. */ getHelptextComponent(): Promise<_Helptext | null>; getPrimitveInputText(): Promise<(_BaseUtamElement & _EditableUtamElement) | null>; } export = InputText;