/** * 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'; import _TableToggleSwitch from 'salesforce-pageobjects/setup/pageObjects/tableToggleSwitch'; import _TableBaseButton from 'salesforce-pageobjects/setup/pageObjects/tableBaseButton'; /** * Component that extends Lightning Datatable to provide custom cell types for toggles and buttons or formatted text. * Selector: src-base-table * generated from JSON dist/setup/baseTable.utam.json * @version 2026-03-09T13:56:37.003Z * @author Salesforce */ export default class BaseTable extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); /** * Represents the custom toggle switch component used for inputToggle type cells */ getTableToggle(): Promise<_TableToggleSwitch>; /** * Represents the custom button component used for textOrBaseButton type cells */ getTextOrBaseButton(): Promise<_TableBaseButton | null>; /** * Represents the custom formatted text component used as an alternative to the button in textOrBaseButton type cells */ getFormattedText(): Promise<(_BaseUtamElement) | null>; }