/** * 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 _BaseAvatar from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseAvatar'; /** * Component that displays a user avatar with customizable type, variant, and alternative text. It can show an Einstein icon for inbound messages or user's photo for outbound messages. The avatar's background color is dynamically computed. * Selector: src-user-avatar * generated from JSON dist/runtime_copilot_base/userAvatar.utam.json * @version 2026-03-09T13:56:37.346Z * @author Salesforce */ export default class UserAvatar extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Checks if the avatar wrapper is visible on the page * @return boolean */ isAvatarWrapperVisible(): Promise; /** * Returns the class attribute of the avatar wrapper to determine if it is inbound or outbound * @return string */ getAvatarWrapperClass(attrName: string): Promise; /** * Represents the avatar component itself */ getUserAvatar(): Promise<_BaseAvatar>; }