import { IPageDecorator, BasePage } from '../utils.js'; import { StatusBar as StatusBarLocators } from '../../locators/1.73.0.js'; import { NotificationsCenter } from '../index.js'; export interface StatusBar extends IPageDecorator { } /** * Page object for the status bar at the bottom * * @category Statusbar */ export declare class StatusBar extends BasePage { /** * @private */ locatorKey: "StatusBar"; /** * Retrieve all status bar items currently displayed * @returns Promise resolving to an array of WebElement */ getItems(): Promise; /** * Find status bar item by title/visible label * @param title title of the item * @returns Promise resolving to a WebElement if item is found, to undefined otherwise */ getItem(title: string): Promise; /** * Open the notifications center * @returns Promise resolving to NotificationsCenter object */ openNotificationsCenter(): Promise; /** * Close the notifications center * @returns Promise resolving when the notifications center is closed */ closeNotificationsCenter(): Promise; /** * Open the language selection quick pick * Only works with an open editor * @returns Promise resolving when the language selection is opened */ openLanguageSelection(): Promise; /** * Get the current language label text * Only works with an open editor * @returns Promise resolving to string representation of current language */ getCurrentLanguage(): Promise; /** * Open the quick pick for line endings selection * Only works with an open editor * @returns Promise resolving when the line ending selection is opened */ openLineEndingSelection(): Promise; /** * Get the currently selected line ending as text * Only works with an open editor * @returns Promise resolving to string representation of current line ending */ getCurrentLineEnding(): Promise; /** * Open the encoding selection quick pick * Only works with an open editor * @returns Promise resolving when the encoding selection is opened */ openEncodingSelection(): Promise; /** * Get the name of the current encoding as text * Only works with an open editor * @returns Promise resolving to string representation of current encoding */ getCurrentEncoding(): Promise; /** * Open the indentation selection quick pick * Only works with an open editor * @returns Promise resolving when the indentation selection is opened */ openIndentationSelection(): Promise; /** * Get the current indentation option label as text * Only works with an open editor * @returns Promise resolving to string representation of current indentation */ getCurrentIndentation(): Promise; /** * Open the line selection input box * Only works with an open editor * @returns Promise resolving when the line selection is opened */ openLineSelection(): Promise; /** * Get the current editor coordinates as text * Only works with an open editor * @returns Promise resolving to string representation of current position in the editor */ getCurrentPosition(): Promise; /** * Open/Close notification centre * @param open true to open, false to close */ private toggleNotificationsCentre; private getPartText; } //# sourceMappingURL=StatusBar.d.ts.map