/** * 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 _ViewComponent from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/viewComponent'; /** * Component that renders a list of items, each containing a custom component defined by the item's component definition. The list can be dynamically populated based on the provided slots, and each custom component can be in a disabled or read-only state. * Selector: src-recommended-action-layout * generated from JSON dist/runtime_copilot_base/recommendedActionLayout.utam.json * @version 2026-03-09T13:56:37.310Z * @author Salesforce */ declare class RecommendedActionLayout extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the list container is visible * @return boolean */ isListContainerVisible(): Promise; /** * Check if list items are present * @return boolean[] * @param _listItemsIndex index of parent element */ isListItemPresent(_listItemsIndex: number): Promise; /** * Check if a specific list item is visible * @return boolean[] * @param _listItemsIndex index of parent element */ isListItemVisible(_listItemsIndex: number): Promise; /** * Represents the custom view components within each list item. * @param _listItemsIndex index of parent element */ getCustomViewComponents(_listItemsIndex: number): Promise<_ViewComponent>; /** * Represents the chat view component resolved dynamically based on message content. */ getViewComponent(): Promise<_ViewComponent | null>; /** * Represents the chat view components resolved dynamically based on message content. */ getViewComponents(): Promise<_ViewComponent[] | null>; getViewComponentByIndex(index: number): Promise<_ViewComponent | null>; } export = RecommendedActionLayout;