/** * 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, BaseUtamElement as _BaseUtamElement, ActionableUtamElement as _ActionableUtamElement } from '@utam/core'; /** * Component that represents an assistant panel with a header, body, error, and input area that can handle scroll events. * Selector: src-assistant-panel * generated from JSON dist/feeds/chat/assistantPanel.utam.json * @version 2026-03-09T13:56:35.601Z * @author Salesforce */ export default class AssistantPanel extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Scrolls the body area of the panel */ scrollBodyArea(): Promise; /** * Checks if the body area is visible * @return boolean */ isBodyAreaVisible(): Promise; /** * Checks if the body area is present in the DOM * @return boolean */ isBodyAreaPresent(): Promise; waitForBodyArea(): Promise<(_BaseUtamElement & _ActionableUtamElement)>; /** * Represents the content of the named slot for the header */ getHeaderSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the default slot content */ getDefaultSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the named slot for error messages */ getErrorSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the named slot for the input border */ getInputBorderSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the named slot for input area */ getInputSlot(ContainerCtor: _ContainerCtor): Promise; }