/** * 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, ClickableUtamElement as _ClickableUtamElement } from '@utam/core'; import _Helptext from 'salesforce-pageobjects/lightning/pageObjects/helptext'; import _BaseCombobox from 'salesforce-pageobjects/lightning/pageObjects/baseCombobox'; /** * Selector: lightning-timepicker * Represents the lightning-timepicker Lightning web component, * Get the lightning-base-combobox component that contains the time value. * Get the lightning-helptext component that contains the time picker help text. * Get the label text and check if the time picker is a required field. * generated from JSON dist/lightning/timepicker.utam.json * @version 2026-03-09T13:56:36.249Z * @author Salesforce */ export default class Timepicker extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click timepicker element */ click(): Promise; /** * Is root element focused * @return boolean */ hasFocus(): Promise; /** * Get label text * @return string */ getLabelText(): Promise; /** * Is value required for time combobox * @return boolean */ isRequired(): Promise; /** * Clears time combobox value */ clear(): Promise; getRoot(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getHelptext(): Promise<_Helptext>; getTimeCombobox(): Promise<_BaseCombobox>; }