import type APIClient from "../client"; import { type AuthVersion } from "../../types"; /** * Register * @date 2/1/2024 - 3:10:50 PM * * @export * @class Register * @typedef {Register} */ export declare class Register { private readonly apiClient; /** * Creates an instance of Register. * @date 2/1/2024 - 3:19:15 PM * * @constructor * @public * @param {{ apiClient: APIClient }} param0 * @param {APIClient} param0.apiClient */ constructor({ apiClient }: { apiClient: APIClient; }); /** * Create an account. * * @public * @async * @param {{ * email: string * password: string * salt: string * authVersion: AuthVersion, * refId?: string, * affId?: string * }} param0 * @param {string} param0.email * @param {string} param0.password * @param {string} param0.salt * @param {AuthVersion} param0.authVersion * @param {string} param0.refId * @param {string} param0.affId * @returns {Promise} */ fetch({ email, password, salt, authVersion, refId, affId }: { email: string; password: string; salt: string; authVersion: AuthVersion; refId?: string; affId?: string; }): Promise; } export default Register;