import { AmplifyContext } from '@aws-amplify/core';
export declare function deleteUser(ctx: AmplifyContext): Promise<void>;
/**
 * Deletes a user from the user pool while authenticated.
 *
 * @throws - {@link DeleteUserException}
 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
 */
export declare function deleteUser(): Promise<void>;
