import { Page, Locator } from "@playwright/test";
import { BaseElement } from "./BaseElement";
/**
 * Class representing a Toast element.
 * Extends the BaseElement class.
 */
export declare class Toast extends BaseElement {
    private closeButton;
    private link;
    private loader;
    private button;
    /**
     * Create a Toast element.
     * @param {Page} page - The Playwright page object.
     * @param {Locator} locator - The locator for the Toast element.
     * @param {string} elementReportName - The name for reporting purposes.
     */
    constructor(page: Page, locator: Locator, elementReportName: string);
    /**
     * Close the toast.
     * @returns {Promise<void>}
     */
    close(): Promise<void>;
    /**
     * Check if the toast has a close button.
     * @returns {Promise<boolean>} True if the toast has a close button, false otherwise.
     */
    hasCloseButton(): Promise<boolean>;
    /**
     * Get the type of the toast.
     * @returns {Promise<string | null>} The type of the toast.
     */
    getType(): Promise<string | null>;
    /**
     * Check if the toast is loading.
     * @returns {Promise<boolean>} True if the toast is loading, false otherwise.
     */
    isLoading(): Promise<boolean>;
    /**
     * Get the text of the link.
     * @returns {Promise<string>} The text of the link.
     */
    getLinkText(): Promise<string>;
    /**
     * Get the href of the link.
     * @returns {Promise<string>} The href of the link.
     */
    getLinkHref(): Promise<string>;
    /**
     * Click the link.
     * @returns {Promise<void>}
     */
    clickLink(): Promise<void>;
    /**
     * Click the button.
     * @returns {Promise<void>}
     */
    clickButton(): Promise<void>;
    /**
     * Get the text of the button.
     * @returns {Promise<string>} The text of the button.
     */
    getButtonText(): Promise<string>;
    /**
     * Get the content of the toast.
     * @returns {Promise<string>} The content of the toast.
     */
    getContent(): Promise<string>;
}
//# sourceMappingURL=Toast.d.ts.map