import type { ReactElement } from 'react';
import type { SubmitHandler } from 'react-hook-form';
export type TotpFormPayload = {
    totpCode: string;
    backupCode: string;
};
type TotpFormProps = {
    initialValues?: TotpFormPayload;
    onChangeTotpForm: () => void;
    isBackupCode?: boolean;
    formError?: string;
    onSubmit: SubmitHandler<TotpFormPayload>;
};
declare const TotpForm: ({ onSubmit, initialValues, isBackupCode, onChangeTotpForm, }: TotpFormProps) => ReactElement;
export default TotpForm;
//# sourceMappingURL=TotpForm.d.ts.map