UNPKG

557 BTypeScriptView Raw
1import { ConfirmSignUpInput, ConfirmSignUpOutput } from '../types';
2/**
3 * Confirms a new user account.
4 *
5 * @param input - The ConfirmSignUpInput object.
6 * @returns ConfirmSignUpOutput
7 * @throws -{@link ConfirmSignUpException }
8 * Thrown due to an invalid confirmation code.
9 * @throws -{@link AuthValidationErrorCode }
10 * Thrown due to an empty confirmation code
11 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
12 */
13export declare function confirmSignUp(input: ConfirmSignUpInput): Promise<ConfirmSignUpOutput>;