UNPKG

251 BTypeScriptView Raw
1/**
2 * Deletes a user from the user pool while authenticated.
3 *
4 * @throws - {@link DeleteUserException}
5 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
6 */
7export declare function deleteUser(): Promise<void>;