import type { ChainablePromiseElement } from 'webdriverio'; import { IPageDecorator, BasePage, VSCodeLocatorMap } from '../utils.js'; import { TitleBar } from '../../index.js'; import { WindowControls as WindowControlsLocators } from '../../locators/1.73.0.js'; export interface WindowControls extends IPageDecorator { } /** * Page object for the windows controls part of the title bar * * @category Menu */ export declare class WindowControls extends BasePage { bar: TitleBar; /** * @private */ locatorKey: "WindowControls"; constructor(locators: VSCodeLocatorMap, element?: ChainablePromiseElement | string, bar?: TitleBar); /** * Use the minimize window button * @returns Promise resolving when minimize button is pressed */ minimize(): Promise; /** * Use the maximize window button if the window is not maximized * @returns Promise resolving when maximize button is pressed */ maximize(): Promise; /** * Use the restore window button if the window is maximized * @returns Promise resolving when restore button is pressed */ restore(): Promise; /** * Use the window close button. Use at your own risk. * @returns Promise resolving when close button is pressed */ close(): Promise; } //# sourceMappingURL=WindowControls.d.ts.map