import { TotpSecret } from '@sage-bionetworks/synapse-types';
/**
 * Returns a URL that can be used to generate a QR code that 2FA authenticator apps can interpret.
 * This uses the username fro TotpSecret to create the friendly name for the account in the authenticator app.
 * @param secret
 */
declare function toOtpAuthUrl(secret: TotpSecret): string;
export declare const TWO_FACTOR_DOCS_LINK = "https://help.synapse.org/docs/Managing-Your-Account.2055405596.html#Adding-Two-Factor-Authentication-(2FA)-to-your-account";
export type TwoFactorEnrollmentFormProps = {
    totpSecret: TotpSecret;
    onTwoFactorEnrollmentSuccess: () => void;
    onBackClicked: () => void;
};
export default function TwoFactorEnrollmentForm(props: TwoFactorEnrollmentFormProps): import("react/jsx-runtime").JSX.Element;
export declare const EXPORTED_FOR_UNIT_TESTING: {
    toOtpAuthUrl: typeof toOtpAuthUrl;
};
export {};
//# sourceMappingURL=TwoFactorEnrollmentForm.d.ts.map