/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _Button from 'salesforce-pageobjects/lightning/pageObjects/button'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; /** * Component that conditionally displays a button with a label or an icon button based on the presence of a label. * Selector: app_dev_agent-custom-button-icon * generated from JSON dist/app_dev_agent/customButtonIcon.utam.json * @version 2026-03-09T13:56:34.849Z * @author Salesforce */ declare class CustomButtonIcon extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Represents the button component with a label, displayed when the label property is provided. */ getButtonWithLabel(): Promise<_Button | null>; /** * Represents the icon button component, displayed when the label property is not provided. */ getIconButton(): Promise<_ButtonIcon | null>; } export = CustomButtonIcon;