/** * 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, UtamBasePageObject as _UtamBasePageObject } from '@utam/core'; import _ButtonIcon from 'salesforce-pageobjects/lightning/pageObjects/buttonIcon'; /** * A simple pin button component that allows users to pin a list view. It changes the icon and tooltip based on whether the list is pinned or not, and it dispatches an event when the button is clicked. * Selector: src-list-view-manager-pin-button * generated from JSON dist/lists/listViewManagerPinButton.utam.json * @version 2026-03-09T13:56:36.351Z * @author Salesforce */ export default class ListViewManagerPinButton extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Check if the pin button wrapper is visible * @return boolean */ isPinButtonWrapperVisible(): Promise; /** * Check if the pin button is pinned * @return boolean */ isPinned(): Promise; /** * Represents the pin button that can be clicked to pin or unpin a list */ getPinButton(): Promise<_ButtonIcon>; /** * Represents the pinned */ getPinned(): Promise<(_BaseUtamElement) | null>; }