/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _PrimitiveTypePicklist from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/primitiveTypePicklist'; import _FormattedText from 'salesforce-pageobjects/lightning/pageObjects/formattedText'; /** * Component that displays a group of radio buttons for selecting a single text value and triggers an event when the value changes. * Selector: runtime_copilot_base-select-single-text * generated from JSON dist/runtime_copilot_base/selectSingleText.utam.json * @version 2026-03-09T13:56:37.333Z * @author Salesforce */ declare class SelectSingleText extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that the radio button group container is present and visible * @return boolean */ isRadioGroupVisible(): Promise; /** * Get the text of the label for a given picklist option * @return string * @param index element index starting from 1 */ getLabelOfOption(index: number): Promise; /** * Returns true if element "optionLabel" present on the page * @return boolean * @param index element index starting from 1 */ verifyOptionLabelPresence(index: number): Promise; /** * Represents all picklist options as radio buttons */ getPicklistOptions(): Promise<_PrimitiveTypePicklist[]>; /** * Represents all picklist options as radio buttons * @param index element index starting from 1 */ getPicklistOptionByIndex(index: number): Promise<(_BaseUtamElement)>; /** * Represents the formatted text displayed when there is no label for the picklist option * @param index element index starting from 1 */ getFormattedText(index: number): Promise<_FormattedText | null>; } export = SelectSingleText;