import { ElementArrayFinder, ElementFinder } from "protractor";
import { Atom } from "../../atom";
import { ButtonAtom } from "../button/button.atom";
import { MenuPopupAtom } from "../menu-popup/menu-popup.atom";
export declare class SorterAtom extends Atom {
    static CSS_CLASS: string;
    menuPopup: MenuPopupAtom;
    click: () => Promise<void>;
    /**
     * Toggle sorter and select a new item from the options.
     */
    select(title: string): Promise<void>;
    getItemByIndex: (index: number) => ElementFinder;
    getNumberOfItems: () => Promise<number>;
    getItemText(idx: number): Promise<string>;
    getItemByText: (title: string) => Promise<void>;
    getCaptionText(): Promise<string>;
    /**
     * To manipulate with sorter button.
     */
    getSorterButton(): ButtonAtom;
    /**
     * @returns {string} The value displayed in sorter.
     */
    getCurrentValue: () => Promise<string>;
    getLabelElement(): ElementFinder;
    getItems: () => ElementArrayFinder;
    getSelectedItems: () => ElementArrayFinder;
    isPopupDisplayed: () => Promise<boolean>;
    private getToggleElement;
    private getMainTitleElement;
}
