/** * 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 _FormattedDateTime from 'salesforce-pageobjects/lightning/pageObjects/formattedDateTime'; /** * Component that allows users to select a single date or date-time string from a list of options presented as radio buttons. * Selector: runtime_copilot_base-select-single-date-and-date-time-string * generated from JSON dist/runtime_copilot_base/selectSingleDateAndDateTimeString.utam.json * @version 2026-03-09T13:56:37.328Z * @author Salesforce */ export default class SelectSingleDateAndDateTimeString extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that the radio button group is present and visible * @return boolean */ isRadioGroupVisible(): Promise; /** * Get the text of the radio option label * @return string * @param index element index starting from 1 */ getRadioOptionLabel(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 the radio button options for selection */ getRadioOptions(): Promise<_PrimitiveTypePicklist[]>; /** * Represents the radio button options for selection * @param index element index starting from 1 */ getRadioOptionByIndex(index: number): Promise<(_BaseUtamElement)>; /** * Represents the formatted date for the radio option label * @param index element index starting from 1 */ getFormattedDate(index: number): Promise<_FormattedDateTime | null>; /** * Represents the formatted date-time for the radio option label * @param index element index starting from 1 */ getFormattedDateTime(index: number): Promise<_FormattedDateTime | null>; }