/** * 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 } from '@utam/core'; /** * Selector: lightning-pill * Represents the lightning-pill Lightning web component. * Get the label text. Click the pill, or remove the pill by clicking the remove button. * Wait for the pill to load. * generated from JSON dist/lightning/pill.utam.json * @version 2026-03-09T13:56:36.177Z * @author Salesforce */ export default class Pill extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Click the pill */ click(): Promise; /** * Check if the pill is focused * @return boolean */ isFocused(): Promise; /** * Remove the pill by clicking the remove button */ remove(): Promise; /** * Get the label text * @return string */ getLabelText(): Promise; /** * Get the link URL * @return string */ getLinkUrl(): Promise; /** * Wait for the pill to load */ waitForPillToLoad(): Promise; getIconSlot(ContainerCtor: _ContainerCtor): Promise; getIconContainer(): Promise<(_BaseUtamElement) | null>; }