Type Definition
Below is the type definition for theRegistrationResponse type. This is the return type for the registerUser() method from the useAuth hook. It returns an empty object {} when successful. After successful registration, you can sign the user in using the login() function.