import { AbstractElement } from "../AbstractElement"; import { TitleBar } from "../.."; /** * Page object for the windows controls part of the title bar */ export declare class WindowControls extends AbstractElement { constructor(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; }