import { User } from "../../meta/core/resources/users/user.resource";
export declare function getUserByEmail(email: string): Promise<User>;
export declare function getUserByEmailAndPassword(email: string, password: string): Promise<User>;
export declare function getUserByOAuth(oauthKey: string, oauthProvider: string): Promise<User>;
export declare function createUserResource(userToCreate: User): Promise<User>;
/** @internal */
export declare function addRoleToUser(userId: string, roleId: string): Promise<any>;
export declare function getUserHomeWorkspaceId(userId: string): Promise<string>;
export declare function getUserDtosOrSingle(userId?: string): Promise<any>;
