/** * 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 _Spinner from 'salesforce-pageobjects/lightning/pageObjects/spinner'; /** * A router component that manages the display of different views based on the application's current route. It shows a spinner while loading new views and allows for dynamic registration of view components. * Selector: src-router * generated from JSON dist/ui/chatbots/components/router.utam.json * @version 2026-03-09T13:56:37.164Z * @author Salesforce */ export default class Router extends _UtamBasePageObject { constructor(driver: _Driver, element?: _Element, locator?: _Locator); waitForLoadingSpinner(): Promise<_Spinner>; /** * Represents the slot where the current view's content will be displayed. */ getViewSlot(ContainerCtor: _ContainerCtor): Promise; /** * Represents the loading spinner shown while views are being loaded. */ getLoadingSpinner(): Promise<_Spinner | null>; }