import { TitleBar } from '../menu/TitleBar.js'; import { SideBarView } from '../sidebar/SideBarView.js'; import { ActivityBar } from '../activityBar/ActivityBar.js'; import { StatusBar } from '../statusBar/StatusBar.js'; import { EditorView } from '../editor/EditorView.js'; import { BottomBarPanel } from '../bottomBar/BottomBarPanel.js'; import { Notification } from './Notification.js'; import { NotificationsCenter } from './NotificationsCenter.js'; import { QuickOpenBox, InputBox } from './Input.js'; import { SettingsEditor } from '../editor/SettingsEditor.js'; import { WebView } from './WebView.js'; import { IPageDecorator, BasePage } from '../utils.js'; import { Workbench as WorkbenchLocators } from '../../locators/1.73.0.js'; export interface Workbench extends IPageDecorator { } /** * Page object representing the custom VSCode title bar * * @category Workbench */ export declare class Workbench extends BasePage { /** * @private */ locatorKey: "Workbench"; /** * Get a title bar handle */ getTitleBar(): TitleBar; /** * Get a side bar handle */ getSideBar(): SideBarView; /** * Get an activity bar handle */ getActivityBar(): ActivityBar; /** * Get a status bar handle */ getStatusBar(): StatusBar; /** * Get a bottom bar handle */ getBottomBar(): BottomBarPanel; /** * Get a handle for the editor view */ getEditorView(): EditorView; /** * Get all available webviews */ getAllWebviews(): Promise; /** * Get webview by title */ getWebviewByTitle(title: string | RegExp): Promise; /** * Get all standalone notifications (notifications outside the notifications center) * @returns Promise resolving to array of Notification objects */ getNotifications(): Promise; /** * Verifies if any notifications are shown * @returns true if workbench has notifications, false otherwise */ hasNotifications(): Promise; /** * Opens the notifications center * @returns Promise resolving to NotificationsCenter object */ openNotificationsCenter(): Promise; /** * Opens the settings editor * * @returns promise that resolves to a SettingsEditor instance */ openSettings(): Promise; /** * Open the VS Code command line prompt * @returns Promise resolving to InputBox (vscode 1.44+) or QuickOpenBox (vscode up to 1.43) object */ openCommandPrompt(): Promise; /** * Open the command prompt, type in a command, find the command using a fuzzy match, and execute * @param command text of the command to be executed * @returns Promise resolving to InputBox (vscode 1.44+) or QuickOpenBox (vscode up to 1.43) object * when the command prompt is confirmed */ executeCommand(command: string): Promise; /** * Open the command prompt, type in a command, find the command from the quick pick list, and execute * @param command text of the command to be executed * @returns Promise resolving to InputBox (vscode 1.44+) or QuickOpenBox (vscode up to 1.43) object * when the command prompt is confirmed */ executeQuickPick(command: string): Promise; } //# sourceMappingURL=Workbench.d.ts.map