import { Page, Locator } from "@playwright/test";
import { BaseElement } from "./BaseElement";
/**
 * Class representing a TextArea element.
 * Extends the BaseElement class.
 */
export declare class TextArea extends BaseElement {
    private wrapper;
    private input;
    /**
     * Create a TextArea element.
     * @param {Page} page - The Playwright page object.
     * @param {Locator} locator - The locator for the TextArea element.
     * @param {string} elementReportName - The name for reporting purposes.
     */
    constructor(page: Page, locator: Locator, elementReportName: string);
    /**
     * Set specified text in text area.
     * @param {string} text - Text to be filled in the text area.
     * @returns {Promise<void>}
     */
    setText(text: string): Promise<void>;
    /**
     * Clear the text from the text area.
     * @returns {Promise<void>}
     */
    clearText(): Promise<void>;
    /**
     * Get the text from the text area.
     * @returns {Promise<string>} The text from the text area.
     */
    getText(): Promise<string>;
    /**
     * Check if the text area is empty.
     * @returns {Promise<boolean>} True if the text area is empty.
     */
    isEmpty(): Promise<boolean>;
    /**
     * Exit the edit mode by pressing the Escape key.
     * @returns {Promise<void>}
     */
    exitEditMode(): Promise<void>;
}
//# sourceMappingURL=TextArea.d.ts.map