/** * 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, UtamBaseRootPageObject as _UtamBaseRootPageObject } from '@utam/core'; import _Card from 'salesforce-pageobjects/lightning/pageObjects/card'; import _PromptBar from 'salesforce-pageobjects/experience/ui/gen/canvas/pageObjects/promptBar'; import _ContentRenderer from 'salesforce-pageobjects/experience/ui/gen/canvas/pageObjects/contentRenderer'; import _RecommendationItems from 'salesforce-pageobjects/experience/ui/gen/canvas/pageObjects/recommendationItems'; /** * A complex Lightning Web Component that serves as a user interface for a canvas application, with functionalities such as managing and displaying UI elements, handling user interactions, and communicating with the backend. * Selector: experience_ui_gen_canvas-generative-section * generated from JSON dist/experience/ui/gen/canvas/generativeSection.utam.json * @version 2026-03-09T13:56:35.510Z * @author Salesforce */ declare class GenerativeSection extends _UtamBaseRootPageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the prompt bar is visible * @return boolean */ isPromptBarVisible(): Promise; /** * Check if the dynamic content component is visible * @return boolean */ isDynamicContentVisible(): Promise; /** * Check if the content renderer element is visible * @return boolean */ isContentRendererElementVisible(): Promise; /** * Check if the placeholder content is visible * @return boolean */ isPlaceholderVisible(): Promise; /** * Check if the left panel is visible * @return boolean */ isLeftPanelVisible(): Promise; /** * Check if the right panel is visible * @return boolean */ isRightPanelVisible(): Promise; waitForLightningCard(): Promise<_Card>; waitForCanvasEditorContainer(): Promise<(_BaseUtamElement)>; waitForHeaderSlot(): Promise<(_BaseUtamElement)>; waitForGenCanvasContainer(): Promise<(_BaseUtamElement)>; waitForLeftPanelSlot(): Promise<(_BaseUtamElement)>; waitForContentContainer(): Promise<(_BaseUtamElement)>; waitForDynamicContentComponent(): Promise<(_BaseUtamElement)>; waitForPlaceholderContent(): Promise<(_BaseUtamElement)>; waitForRightPanelSlot(): Promise<(_BaseUtamElement)>; waitForPromptBar(): Promise<_PromptBar>; waitForCmsTypesProvider(): Promise<(_BaseUtamElement)>; waitForContentRendererElement(): Promise<_ContentRenderer>; /** * Represents the main lightning card container for the generative section. */ getLightningCard(): Promise<_Card>; /** * Represents the main canvas editor container */ getCanvasEditorContainer(): Promise<(_BaseUtamElement)>; /** * Container for the header slot content */ getHeaderSlot(): Promise<(_BaseUtamElement)>; /** * Container that holds the left panel, content, and right panel */ getGenCanvasContainer(): Promise<(_BaseUtamElement)>; /** * Container for the left panel slot content */ getLeftPanelSlot(): Promise<(_BaseUtamElement)>; /** * Container for the main content */ getContentContainer(): Promise<(_BaseUtamElement)>; /** * Represents the dynamically loaded content renderer component */ getDynamicContentComponent(): Promise<(_BaseUtamElement) | null>; /** * Container shown when there is no content to render */ getPlaceholderContent(): Promise<(_BaseUtamElement) | null>; /** * Container for the right panel slot content */ getRightPanelSlot(): Promise<(_BaseUtamElement) | null>; /** * Represents the prompt bar component for user input */ getPromptBar(): Promise<_PromptBar | null>; /** * Represents the CMS types provider component */ getCmsTypesProvider(): Promise<(_BaseUtamElement)>; /** * Represents the container of tiles on a canvas. This LWC/element only shows on a populated canvas. */ getContentRendererElement(): Promise<_ContentRenderer | null>; getRecommendationItems(): Promise<_RecommendationItems | null>; } export = GenerativeSection;