/** * 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 _BaseIcon from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseIcon'; /** * A button component that can be disabled, show a loading state, or indicate completion. It may be repeatable and can have different labels based on its state. The component handles click events and may be affected by external context data. * Selector: src-view-action-button * generated from JSON dist/runtime_copilot_base/viewActionButton.utam.json * @version 2026-03-09T13:56:37.347Z * @author Salesforce */ declare class ViewActionButton extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Represents the main button component that can handle click events and change states. */ getBaseButton(): Promise<(_BaseUtamElement)>; /** * Represents the loading icon that appears within the button when in a loading state. */ getLoadingIcon(): Promise<_BaseIcon | null>; } export = ViewActionButton;