import { Locator, Page, Response } from "playwright/test";
export declare class UiTester {
    #private;
    constructor(page: Page);
    get page(): Page;
    reload(): Promise<void>;
    /**
     * Retrieves the text content of an element by its Id.
     *
     * @param {string} elementId - the Id of the element.
     * @returns {Promise<string | null>} - the text content of the element.
     */
    getText(elementId: string): Promise<string>;
    /**
     * Retrieves the inner HTML of an element by its Id.
     *
     * @param {string} elementId - the Id of the element.
     * @returns {Promise<string | null>} - the inner HTML content of the element.
     */
    getInnerHtml(elementId: string): Promise<string>;
    waitForElementByText(text: string): Promise<void>;
    /**
     * Navigates to a Url and waits for it to load.
     *
     * @param {string} url - the Url to navigate to.
     */
    goAndWait(url: string): Promise<void>;
    /**
     * Clicks the login button with the given Id.
     *
     * @param {string} loginButtonId - the Id of the login button.
     */
    clickLoginButton(loginButtonId: string): Promise<void>;
    /**
     * Waits until a specific Url fragment disappears from the current Url.
     *
     * @param {string} urlFragment - the fragment of the Url to wait to disappear.
     */
    waitForDisappearFromUrl(urlFragment: string): Promise<void>;
    /**
     * Navigates to the specified Url.
     *
     * @param {string} url - the Url to navigate to.
     */
    gotoUrl(url: string): Promise<void>;
    /**
     * Waits until the current Url includes the specified fragment.
     *
     * @param {string} urlFragment - the fragment to check in the Url.
     */
    expectUrl(urlFragment: string): Promise<void>;
    /**
     * Clicks an element by its Id.
     *
     * @param {string} elementId - the Id of the element.
     * @param {boolean} force - if true - not checks if element receives pointer events
     */
    click(elementId: string, force?: boolean): Promise<void>;
    /**
     * Waits for an element to appear on the page.
     *
     * @param {string} elementId - the Id of the element.
     * @returns {Promise<boolean>} - whether the element was found.
     */
    waitForElementToLoad(elementId: string): Promise<boolean>;
    waitForElementWithIdPrefix(prefix: string, timeout?: number): Promise<boolean>;
    /**
     * Waits for an element to be hidden.
     *
     * @param {string} elementId - the Id of the element.
     */
    waitForElementToBeHidden(elementId: string): Promise<void>;
    /**
     * Retrieves the index of a resource by its Id.
     *
     * @param {string} resourceId - the resource Id.
     * @param {string} [parentId] - optional parent element Id.
     * @returns {Promise<string>} - the resource index.
     */
    getResourceIndexByResourceId(resourceId: string, parentId?: string): Promise<string>;
    /**
     * Retrieves a child element within a specified parent element.
     *
     * @param {string} parentId - the Id of the parent element.
     * @param {string} childCssSelector - the CSS selector for the child element.
     * @returns {Promise<Locator>} - the child element locator.
     */
    getChildElementWithinParent(parentId: string, childCssSelector: string): Promise<Locator>;
    /**
     * Retrieves an element using a CSS selector.
     *
     * @param {string} css - the CSS selector.
     * @returns {Promise<Locator>} - the locator for the element.
     */
    getByCss(css: string): Promise<Locator>;
    /**
     * Retrieves an element by its Id.
     *
     * @param {string} elementId - the Id of the element.
     * @returns {Promise<Locator>} - the locator for the element.
     */
    getById(elementId: string): Promise<Locator>;
    /**
     * Asserts that two values are equal.
     *
     * @param {unknown} actual - the actual value.
     * @param {unknown} expected - the expected value.
     */
    assertEqual(actual: unknown, expected: unknown): Promise<void>;
    /**
     * Asserts that two values are not equal.
     *
     * @param {unknown} actual - the actual value.
     * @param {unknown} expected - the expected value.
     */
    assertNotEqual(actual: unknown, expected: unknown): Promise<void>;
    /**
     * Checks if an element exists on the page by its Id.
     *
     * @param {string} elementId - the Id of the element.
     * @returns {Promise<boolean>} - true if the element exists, otherwise false.
     */
    isElementExists(elementId: string): Promise<boolean>;
    /**
     * Navigates back in the browser history.
     */
    goBack(): Promise<void>;
    /**
     * Clears an input field using backspaces and sends new keys.
     *
     * @param {string} inputElementId - the Id of the input field.
     * @param {string} keys - the keys to send after clearing.
     */
    clearWithBackspacesAndSendKeys(inputElementId: string, keys: string): Promise<void>;
    getChildrenCount(parentElement: Locator): Promise<number>;
    assertChildrenCount(parentElementId: string, count: number): Promise<void>;
    getPrefixesById(prefix: string): Promise<Locator[]>;
    getChildren(parentElement: Locator): Promise<HTMLCollection>;
    getChildrenByParentId(parentElementId: string): Promise<HTMLCollection>;
    waitForTextContentToBeChanged(elementId: string): Promise<void>;
    selectDropdownOption(dropdownMenuTriggerId: string, selectOptionId: string): Promise<void>;
    waitForResponseJson<T>(predicate: (response: Response) => boolean): Promise<T>;
    waitForElementTextById(elementId: string, expectedText: string, timeout?: number): Promise<void>;
    /**
     * Waits until the input value matches the specified value
     * @param {string} inputElementId - The ID of the input element
     * @param {string} value - Value to match against the input value
     */
    waitForInputValueToMatch(inputElementId: string, value: string): Promise<void>;
    getBaseUrl(): string;
}
