/** * 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, ContainerCtor as _ContainerCtor, UtamBasePageObject as _UtamBasePageObject, PageObjectCtor as _PageObjectCtor } from '@utam/core'; import _Header from 'salesforce-pageobjects/feeds/chat/pageObjects/header'; /** * A component that acts as a broker for the EinsteinAssistant, handling the dynamic loading of desktop and mobile versions of the assistant, managing the panel header, and processing actions, statuses, and errors related to the assistant's operations. * Selector: src-einstein-assistant-broker * generated from JSON dist/feeds/assistant/einsteinAssistantBroker.utam.json * @version 2026-03-09T13:56:35.598Z * @author Salesforce */ export default class EinsteinAssistantBroker extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); waitForDynamicEinsteinAssistant(pageObjectType: _PageObjectCtor): Promise; waitForHeaderSlot(pageObjectType: _PageObjectCtor): Promise; waitForChatHeader(): Promise<_Header>; /** * Represents the dynamic EinsteinAssistant component that is loaded based on the desktop or mobile context. */ getDynamicEinsteinAssistant(ContainerCtor: _ContainerCtor): Promise; /** * Represents the slot for the header of the assistant panel. */ getHeaderSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the chat header component which may contain the title and description, and handles the close event. */ getChatHeader(): Promise<_Header | null>; }