import { Page } from 'puppeteer'; import { AdminDashboard } from './view/admin-dashboard'; import { AgentDesktop } from './view/agent-desktop'; import { Plugins } from './view/plugins'; import { TwilioConsole } from './view/twilio-console'; export interface BaseUrl { flex: string; twilioConsole: string; } export declare class App { assert: { agentDesktop: InstanceType['assert']; adminDashboard: InstanceType['assert']; twilioConsole: InstanceType['assert']; plugins: InstanceType['assert']; }; private readonly _agentDesktop; private readonly _adminDashboard; private readonly _twilioConsole; private readonly _plugins; private readonly _page; constructor(page: Page, { flex, twilioConsole }: BaseUrl); get agentDesktop(): Omit; get adminDashboard(): Omit; get plugins(): Omit; get twilioConsole(): Omit; /** * Gets account sid from browser's console */ getFlexAccountSid(): Promise; /** * Takes screenshot of the current page * @param rootDir * @param screenshotName */ takeScreenshot(rootDir: string, screenshotName?: string): Promise; }