import { AmplifyContext } from '@aws-amplify/core';
import { VerifyTOTPSetupInput } from '../types';
export declare function verifyTOTPSetup(ctx: AmplifyContext, input: VerifyTOTPSetupInput): Promise<void>;
/**
 * Verifies an OTP code retrieved from an associated authentication app.
 *
 * @param input - The VerifyTOTPSetupInput
 * @throws  -{@link VerifySoftwareTokenException }:
 * Thrown due to an invalid MFA token.
 * @throws  -{@link AuthValidationErrorCode }:
 * Thrown when `code` is not defined.
 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
 */
export declare function verifyTOTPSetup(input: VerifyTOTPSetupInput): Promise<void>;
