/** * 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 dynamically displays an image based on a given name, with the ability to customize the image's CSS class. * Selector: src-dynamic-image * generated from JSON dist/runtime_copilot_base/dynamicImage.utam.json * @version 2026-03-09T13:56:37.269Z * @author Salesforce */ declare class DynamicImage extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulate a click on the dynamic image */ clickDynamicImage(): Promise; /** * Check if the dynamic image is visible * @return boolean */ isDynamicImageVisible(): Promise; /** * Check if the dynamic image is present in the DOM * @return boolean */ isDynamicImagePresent(): Promise; /** * Get the 'src' attribute of the dynamic image to validate the image source * @return string */ getDynamicImageSource(attrName: string): Promise; /** * Get the class attribute of the dynamic image for validation * @return string */ getDynamicImageClassName(attrName: string): Promise; /** * Returns true if element "dynamicImageClassName" present on the page * @return boolean */ verifyDynamicImageClassNamePresence(): Promise; } export = DynamicImage;