/** * 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, ActionableUtamElement as _ActionableUtamElement } from '@utam/core'; import _PrimitiveIcon from 'salesforce-pageobjects/lightning/pageObjects/primitiveIcon'; /** * Selector: lightning-button-icon-stateful * Represents the lightning-button-icon-stateful Lightning web component. * Click a button, or click a button with a given title. Get the class attribute, or check if it's selected. * generated from JSON dist/lightning/buttonIconStateful.utam.json * @version 2026-03-09T13:56:35.993Z * @author Salesforce */ declare class ButtonIconStateful extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get button alternative text * @return string|null */ getAlternateTitle(): Promise; /** * Clicks button */ clickButton(): Promise; /** * Clicks button with title */ clickButtonWithTitle(buttonTitle: string): Promise; /** * Gets button class name * @return string */ getClassAttr(): Promise; /** * Scroll and hover on the button element */ hover(): Promise; /** * Checks if the button is selected if button has aria-pressed attribute * @return string */ isSelected(): Promise; getRoot(): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getButton(): Promise<(_BaseUtamElement & _ActionableUtamElement & _ClickableUtamElement)>; getButtonWithTitle(buttonTitle: string): Promise<(_BaseUtamElement & _ClickableUtamElement)>; getIcon(): Promise<_PrimitiveIcon>; } export = ButtonIconStateful;