/** * 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'; import _EmptyState from 'salesforce-pageobjects/app_dev_agent/pageObjects/emptyState'; /** * Component that displays a long-running task with a heading, subheading, an animated list of messages, and an associated empty-state child component. * Selector: app_dev_agent-long-running-task * generated from JSON dist/app_dev_agent/longRunningTask.utam.json * @version 2026-03-09T13:56:34.865Z * @author Salesforce */ declare class LongRunningTask extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check that the image wrapper is present and visible * @return boolean */ isImageWrapperVisible(): Promise; /** * Check that the SVG image is present * @return boolean */ isSvgImagePresent(): Promise; /** * Check that the message container is present and visible * @return boolean */ isMessageContainerVisible(): Promise; /** * Check that the message slider is present and visible * @return boolean */ isMessageSliderVisible(): Promise; /** * Get the text content of all message items * @return string[] * @param _messageItemsIndex index of parent element */ getMessageItemTexts(_messageItemsIndex: number): Promise; /** * Check that message items are present * @return boolean[] * @param _messageItemsIndex index of parent element */ isMessageItemPresent(_messageItemsIndex: number): Promise; waitForMessageSlider(): Promise<(_BaseUtamElement)>; /** * @param _messageItemsIndex index of parent element */ waitForMessageItems(_messageItemsIndex: number): Promise<(_BaseUtamElement)[]>; /** * @param _messageItemsIndex index of parent element */ waitForMessageIcons(_messageItemsIndex: number): Promise<_Icon[]>; /** * Represents the app_dev_agent-empty-state child component with heading and subheading. */ getEmptyStateComponent(): Promise<_EmptyState>; /** * Represents the lightning-icon components inside each message item. * @param _messageItemsIndex index of parent element */ getMessageIcons(_messageItemsIndex: number): Promise<_Icon[]>; } export = LongRunningTask;