/** * 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 _Icon from 'salesforce-pageobjects/lightning/pageObjects/icon'; /** * A combobox component that allows users to select an option from a dropdown. The component supports keyboard navigation, a placeholder, a disabled state, and custom icons for selected options. It also has a focusout event to close the dropdown if focus moves outside the combobox. * Selector: app_dev_agent_base-combobox * generated from JSON dist/app_dev_agent/combobox.utam.json * @version 2026-03-09T13:56:34.843Z * @author Salesforce */ declare class Combobox extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click the input field to focus or open the dropdown */ clickInputField(): Promise; /** * Set text in the input field */ enterTextInInputField(text: string): Promise; /** * Clear text in the input field */ clearInputField(): Promise; /** * Focus on the input field */ focusInputField(): Promise; /** * Blur the input field to trigger focusout */ blurInputField(): Promise; /** * Click an option item in the dropdown list */ clickOptionItem(): Promise; /** * Focus on an option item in the dropdown list */ focusOptionItem(): Promise; /** * Check if the dropdown list is visible * @return boolean */ isDropdownListVisible(): Promise; /** * Check if the input field is focused * @return boolean */ isInputFieldFocused(): Promise; /** * Check if the input field is enabled * @return boolean */ isInputFieldEnabled(): Promise; /** * Get the current value of the input field * @return string */ getInputFieldValue(): Promise; /** * Get the class attribute of the parent container * @return string */ getParentContainerClass(attrName: string): Promise; /** * Returns true if element "dropdownList" present on the page * @return boolean */ verifyDropdownListPresence(): Promise; /** * Represents the down arrow icon to toggle the dropdown. */ getDropdownIcon(): Promise<_Icon>; /** * Represents the optional icon displayed next to the selected option. */ getSelectedIcon(): Promise<_Icon | null>; } export = Combobox;