import { Account } from "https://deno.land/x/appwrite@12.1.0/mod.ts";
Create account
Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the /account/verfication route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new account session.
Type Parameters
Preferences extends Models.Preferences
Returns
Promise<Models.User<Preferences>>