/** * 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'; /** * Component that displays different limit reached messages based on the limit type enum. Shows either a message with a link (for preview limits) or a simple message (for workspace and creation limits). * Selector: experience_ui_gen_canvas-limit-panel * generated from JSON dist/experience/ui/gen/canvas/limitPanel.utam.json * @version 2026-03-09T13:56:35.525Z * @author Salesforce */ declare class LimitPanel extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Returns the text content of the header * @return string */ getHeaderText(): Promise; /** * Returns the text content of the message container * @return string */ getMessageText(): Promise; /** * Checks if the limit card is visible * @return boolean */ isLimitCardVisible(): Promise; /** * Checks if the help link is present (only visible for preview limits) * @return boolean */ isHelpLinkPresent(): Promise; /** * Checks if the help link is visible (only visible for preview limits) * @return boolean */ isHelpLinkVisible(): Promise; /** * Clicks the help link (only available for preview limits) */ clickHelpLink(): Promise; /** * Returns the text content of the help link * @return string */ getHelpLinkText(): Promise; /** * Returns the href attribute of the help link * @return string */ getHelpLinkUrl(attrName: string): Promise; waitForLimitCard(): Promise<(_BaseUtamElement)>; waitForHeaderText(): Promise<(_BaseUtamElement)>; waitForMessageContainer(): Promise<(_BaseUtamElement)>; } export = LimitPanel;