/** * 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, ActionableUtamElement as _ActionableUtamElement, PageObjectCtor as _PageObjectCtor } from '@utam/core'; /** * Component that displays markdown content and allows interaction with rendered elements. * Selector: src-base-markdown-text * generated from JSON dist/runtime_copilot_base/baseMarkdownText.utam.json * @version 2026-03-09T13:56:37.227Z * @author Salesforce */ declare class BaseMarkdownText extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get text from all paragraph elements * @return string[] */ getParagraphTexts(): Promise; /** * Returns true if element "listItems" present on the page * @return boolean[] */ verifyListItemsPresence(): Promise; /** * Returns true if element "blockCodeContent" present on the page * @return boolean[] */ verifyBlockCodeContentPresence(): Promise; /** * Returns true if element "headingElements" present on the page * @return boolean[] */ verifyHeadingElementsPresence(): Promise; /** * Returns true if element "linkElements" present on the page * @return boolean[] */ verifyLinkElementsPresence(): Promise; /** * Returns true if element "imageElements" present on the page * @return boolean[] */ verifyImageElementsPresence(): Promise; waitForMarkdownWrapperContainer(pageObjectType: _PageObjectCtor): Promise; waitForMarkdownWrapper(): Promise<(_BaseUtamElement)>; waitForParagraphContent(): Promise<(_BaseUtamElement)[]>; waitForListItems(): Promise<(_BaseUtamElement)[]>; waitForBlockCodeContent(): Promise<(_BaseUtamElement)[]>; waitForHeadingElements(): Promise<(_BaseUtamElement)[]>; waitForLinkElements(): Promise<(_BaseUtamElement & _ActionableUtamElement)[]>; waitForImageElements(): Promise<(_BaseUtamElement)[]>; /** * Represents the container for the markdown content */ getMarkdownWrapperContainer(ContainerCtor: _ContainerCtor): Promise; /** * Represents the container for the markdown content */ getMarkdownWrapper(): Promise<(_BaseUtamElement) | null>; /** * Represents paragraph elements within the markdown content */ getParagraphContent(): Promise<(_BaseUtamElement)[] | null>; /** * Represents list item elements within the markdown content */ getListItems(): Promise<(_BaseUtamElement)[] | null>; /** * Represents code blocks within the markdown content */ getBlockCodeContent(): Promise<(_BaseUtamElement)[] | null>; /** * Represents heading elements within the markdown content */ getHeadingElements(): Promise<(_BaseUtamElement)[] | null>; /** * Represents anchor elements within the markdown content */ getLinkElements(): Promise<(_BaseUtamElement & _ActionableUtamElement)[] | null>; /** * Represents image elements within the markdown content */ getImageElements(): Promise<(_BaseUtamElement)[] | null>; } export = BaseMarkdownText;