import { ElementWithContexMenu } from "../ElementWithContextMenu"; import { AbstractElement } from "../AbstractElement"; import { By, SideBarView } from "../.."; /** * Page object representing the top (title) part of a side bar view */ export declare class ViewTitlePart extends ElementWithContexMenu { constructor(view?: SideBarView); /** * Returns the displayed title of the view * @returns Promise resolving to displayed title */ getTitle(): Promise; /** * Finds action buttons inside the view title part * @returns Promise resolving to array of TitleActionButton objects */ getActions(): Promise; /** * Finds an action button by title * @param title title of the button to search for * @returns Promise resolving to TitleActionButton object */ getAction(title: string): Promise; } /** * Page object representing a button inside the view title part */ export declare class TitleActionButton extends AbstractElement { constructor(actionConstructor: By, viewTitle: ViewTitlePart); /** * Get title of the button */ getTitle(): Promise; }