/** * 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 _BaseAccordion from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/baseAccordion'; import _CitationItem from 'salesforce-pageobjects/runtime_copilot_base/pageObjects/citationItem'; /** * Component that displays a list of citations within an accordion, with the ability to highlight a specific reference. * Selector: runtime_copilot_base-citations-list * generated from JSON dist/runtime_copilot_base/citationsList.utam.json * @version 2026-03-09T13:56:37.266Z * @author Salesforce */ export default class CitationsList extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Get the text of the citations heading * @return string */ getCitationsHeadingText(): Promise; /** * Check if the citations list is visible * @return boolean */ isCitationsListVisible(): Promise; /** * Get the text from a specific citation list item * @return string[] * @param _citationListItemsIndex index of parent element */ getCitationListItemText(_citationListItemsIndex: number): Promise; /** * Represents the accordion component containing the citations list */ getAccordion(): Promise<_BaseAccordion>; /** * Represents the header slot of the accordion */ getHeaderSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the body slot of the accordion */ getBodySlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the citation items within each list item * @param _citationListItemsIndex index of parent element */ getCitationItems(_citationListItemsIndex: number): Promise<_CitationItem>; }