/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; /** * Component that displays an input counter with increment and decrement buttons, and handles value changes. * Selector: src-input-counter * generated from JSON dist/es_property_editors/inputCounter.utam.json * @version 2026-03-09T13:56:35.406Z * @author Salesforce */ declare class InputCounter extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that input label is present and visible * @return boolean */ isInputLabelVisible(): Promise; /** * Get text from input label * @return string */ getInputLabelText(): Promise; /** * Clear the input field and enter a new value */ clearAndSetInputField(text: string): Promise; /** * Get value from the input field * @return string */ getInputFieldValue(): Promise; /** * Represents the help text icon */ getHelpTextIcon(): Promise<_Helptext>; /** * Represents the decrement button */ getDecrementButton(): Promise<_ButtonIcon>; /** * Represents the increment button */ getIncrementButton(): Promise<_ButtonIcon>; } export = InputCounter;