import { ApiHelpers } from "./ApiHelpers";
import { Page } from "@playwright/test";
export declare class UserApiHelper {
    api: ApiHelpers;
    page: Page;
    constructor(api: ApiHelpers, page: Page);
    ensureNameNotExists(name: string): Promise<import("playwright-core").APIResponse | null>;
    getUsersCount(): Promise<any>;
    doesExist(id: string): Promise<boolean>;
    doesNameExist(name: string): Promise<boolean>;
    get(id: string): Promise<any>;
    getByName(name: string): Promise<any>;
    create(userData: any): Promise<string | undefined>;
    update(id: string, userData: any): Promise<import("playwright-core").APIResponse>;
    delete(id: string): Promise<import("playwright-core").APIResponse>;
    deleteByName(name: string): Promise<import("playwright-core").APIResponse | null>;
    saveUser(user: any): Promise<import("playwright-core").APIResponse>;
    addAvatar(id: string, fileId: string): Promise<import("playwright-core").APIResponse>;
    removeAvatar(id: string): Promise<import("playwright-core").APIResponse>;
    disable(ids: string[]): Promise<import("playwright-core").APIResponse>;
    enable(ids: string[]): Promise<import("playwright-core").APIResponse>;
    unlock(ids: string[]): Promise<import("playwright-core").APIResponse>;
    getCurrentUser(): Promise<any>;
    setUserGroups(userIds: string[], userGroupIds: string[]): Promise<import("playwright-core").APIResponse>;
    updateCurrentUserPassword(newPassword: string, oldPassword: string): Promise<import("playwright-core").APIResponse>;
    invite(email: string, name: string, userGroupIds: string[], message: string): Promise<import("playwright-core").APIResponse>;
    createDefaultUser(nameOfUser: string, email: string, userGroupIds: string[], kind?: string): Promise<string | undefined>;
    addDefaultAvatarImageToUser(userId: string): Promise<import("playwright-core").APIResponse>;
    doesUserContainUserGroupIds(userName: string, userGroupIds: string[]): Promise<any>;
    doesUserContainContentStartNodeIds(userName: string, documentStartNodeIds: string[]): Promise<any>;
    doesUserContainMediaStartNodeIds(userName: string, mediaStartNodeIds: string[]): Promise<any>;
    updatePassword(userId: string, newPassword: string): Promise<import("playwright-core").APIResponse>;
    setUserPermissions(userName: string, userEmail: string, userPassword: string, userGroupId: string, documentStartNodeIds?: string[], hasDocumentRootAccess?: boolean, mediaStartNodeIds?: string[], hasMediaRootAccess?: boolean, uiCulture?: string): Promise<void>;
    loginToUser(userName: string, userEmail: string, userPassword: string): Promise<{
        cookie: string;
        accessToken: null;
        refreshToken: null;
    }>;
    getAll(): Promise<import("playwright-core").APIResponse>;
    filterByText(text: string): Promise<any>;
    filterByUserStates(userStates: string): Promise<any>;
    filterByUserGroupIds(userGroupIds: string): Promise<any>;
}
