import { JWT, RegisterInput, UpdatePasswordInput, UserCreateInput, UserDB, UserInput } from "../../../../shared/types/User";
export declare let users: UserDB[];
export declare function allUsers(): Promise<UserDB[]>;
export declare function userCreate(userCreateInput: UserCreateInput): Promise<UserDB>;
export declare function userEdit(id: string, userInput: UserInput): Promise<UserDB>;
export declare function userById(id: string): Promise<UserDB | null>;
export declare function userByToken(token: string): Promise<UserDB | null>;
export declare function userByEmail(email: string): Promise<UserDB | null>;
export declare function userRegister(userInput: RegisterInput): Promise<UserDB>;
export declare function userAuthenticate(email: string, password: string): Promise<JWT>;
export declare function userTokenRefresh(refreshToken: string): Promise<JWT>;
export declare function userUpdatePassword(user: UserDB, passwordInput: UpdatePasswordInput): Promise<Boolean>;
