/** * 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 } from '@utam/core'; import _BaseIcon from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseIcon'; /** * A component representing an accordion item that can be toggled open and closed. It includes a button to expand or collapse the content, an icon indicating the state, and slots for the header, body, and footer content. * Selector: runtime-copilot-base-base-accordion * generated from JSON dist/runtime_copilot_base/baseAccordion.utam.json * @version 2026-03-09T13:56:37.207Z * @author Salesforce */ declare class BaseAccordion extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Simulates a click on the accordion toggle button */ toggleAccordion(): Promise; /** * Returns true if the accordion is expanded, false otherwise * @return string */ isAccordionExpanded(attrName: string): Promise; /** * Checks if the body container of the accordion is visible * @return boolean */ isBodyVisible(): Promise; /** * Represents the content of the named slot for the accordion header. */ getHeaderContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the content of the named slot for the accordion footer. */ getFooterContent(ContainerCtor: _ContainerCtor): Promise; /** * Represents the icon indicating the accordion is open. */ getIconOpen(): Promise<_BaseIcon | null>; /** * Represents the icon indicating the accordion is closed. */ getIconClosed(): Promise<_BaseIcon | null>; /** * Represents the content of the named slot for the accordion body. */ getBodyContent(ContainerCtor: _ContainerCtor): Promise; } export = BaseAccordion;