import { default as React } from 'react';
import { AddressUpdatableInfo, FetchStateAndError, ID, TwoFactorAuthenticationView } from '@zeniai/client-epic-state';
import { AddressFormData } from '../address/addressHelper';
import { Name } from '../formElements/nameField/NameField';
declare const basicDetailsSectionId = "basicDetailsSection";
declare const addressSectionId = "addressSection";
interface BasicDetailsSectionFormData {
    email: string;
    name: Name;
    address?: AddressUpdatableInfo;
    dateOfBirth?: Date;
    phone?: string;
}
export interface CompleteProfileFormData {
    [addressSectionId]: AddressFormData;
    [basicDetailsSectionId]: BasicDetailsSectionFormData;
}
export interface CompleteProfileProps {
    googleAPIKey: ID;
    hasUserEnteredBasicDetails: boolean;
    saveStatus: FetchStateAndError;
    twoFactorAuthenticationView: TwoFactorAuthenticationView;
    userEmail: string;
    onGetOtp: (phoneNumber: string) => void;
    onResendOtp: (otpChallenge: string) => void;
    onVerifyOtp: (code: string, otpChallenge: string) => void;
    onAddressClick?: () => void;
    onSave?: (data: CompleteProfileFormData) => void;
}
declare const CompleteProfile: React.FC<CompleteProfileProps>;
export default CompleteProfile;
