import { WindowControls, ContextMenu } from "../.."; import { Menu } from "./Menu"; import { MenuItem } from "./MenuItem"; /** * Page object representing the custom VSCode title bar */ export declare class TitleBar extends Menu { constructor(); /** * Get title bar item by name * @param name name of the item to search by * @returns Promise resolving to TitleBarItem object */ getItem(name: string): Promise; /** * Get all title bar items * @returns Promise resolving to array of TitleBarItem objects */ getItems(): Promise; /** * Get the window title * @returns Promise resolving to the window title */ getTitle(): Promise; /** * Get a reference to the WindowControls */ getWindowControls(): WindowControls; } /** * Page object representing an item of the custom VSCode title bar */ export declare class TitleBarItem extends MenuItem { constructor(label: string, parent: Menu); select(): Promise; }