/** * 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 } from '@utam/core'; import _BaseButtonIcon from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseButtonIcon'; /** * A custom Salesforce Design System (SDS) based tooltip button component that can display a tooltip or a popover with content when interacted with. It can be configured with different placements, symbols, labels, sizes, and variants. * Selector: src-base-tooltip-button * generated from JSON dist/runtime_copilot_base/baseTooltipButton.utam.json * @version 2026-03-09T13:56:37.259Z * @author Salesforce */ export default class BaseTooltipButton extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Checks if the tooltip is visible * @return boolean */ isTooltipVisible(): Promise; /** * Checks if the popover is visible * @return boolean */ isPopoverVisible(): Promise; /** * Represents the content of the tooltip. */ getTooltipContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the start slot for the popover header. */ getPopoverHeaderStartContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the main slot for the popover header. */ getPopoverHeaderContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the end slot for the popover header. */ getPopoverHeaderEndContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the main content slot for the popover. */ getPopoverBodyContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the footer slot for the popover. */ getPopoverFooterContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the button icon that triggers the tooltip or popover. */ getButtonIcon(): Promise<_BaseButtonIcon>; }