/** * 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 _Input from 'salesforce-pageobjects/lightning/pageObjects/input'; /** * Component that serves as a modal dialog for selecting an icon from a searchable list. Users can search for icons, select one, and either confirm the selection or cancel the operation. * Selector: mobilebuilder-icon-picker-modal * generated from JSON dist/mobilebuilder/iconPickerModal.utam.json * @version 2026-03-09T13:56:36.453Z * @author Salesforce */ declare class IconPickerModal extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click the close button to close the modal and cancel the operation */ clickCloseButton(): Promise; /** * Click an icon to select it by index */ clickIconByIndex(itemIndex: number): Promise; /** * Click an icon to select it by label */ clickIconByLabel(text: string): Promise; /** * Check if the icon label is visible * @return boolean */ isIconLabelVisible(): Promise; /** * Check if the icon visual picker is visible * @return boolean */ isIconVisualPickerVisible(): Promise; /** * Check if the no search results message is visible * @return boolean */ isNoSearchResultsMessageVisible(): Promise; /** * Click the cancel button to cancel the operation */ clickCancelButton(): Promise; /** * Click the select icon button to confirm the selection */ clickSelectIconButton(): Promise; /** * Check if the select icon button is enabled * @return boolean */ isSelectIconButtonEnabled(): Promise; /** * Returns true if element "noSearchResultsMessage" present on the page * @return boolean */ verifyNoSearchResultsMessagePresence(): Promise; /** * Represents the search input field for filtering icons. */ getSearchInput(): Promise<_Input>; } export = IconPickerModal;