/** * Copyright (c) 2021 * * Full application embedding * https://docs.thoughtspot.com/5.2/app-integrate/embedding-viz/about-full-embed.html * * @summary Full app embed * @author Ayon Ghosh */ import { V1Embed } from './base'; export declare enum Page { Home = "home", Search = "search", Answers = "answers", Pinboards = "pinboards", Data = "data" } export interface AppRenderOptions { pageId?: Page; } /** * Embed a page within the ThoughtSpot app */ export declare class AppEmbed extends V1Embed { /** * Construct the URL of the ThoughtSpot app page to be rendered * @param pageId The id of the page to be embedded */ private getIFrameSrc; /** * Get the ThoughtSpot route of the page for a particular page id * @param pageId The identifier for a page in the ThoughtSpot app */ private getPageRoute; /** * Render an embedded app in the ThoughtSpot app * @param renderOptions An object containing the page id * to be embedded */ render({ pageId }: AppRenderOptions): AppEmbed; }