interface IUpsertUserPasswordDerivedKeyHashInput { passwordDerivedKeyHash: string; } interface IUserPasswordDerivedKeyHashExistsInput { passwordDerivedKeyHash: string; } interface IUpdateEmailNotificationPreferences { txFailed: boolean; } interface IUpdateRecoveryPhrasePreference { isRecoveryPhraseEnabled: boolean; } interface IUpdateRecoveryAccountPreference { isRecoveryAccountEnabled: boolean; } interface IAddRecoveryAccount { name: string; publicAddress: string; authKeyId?: string; } interface IRemoveRecoveryAccount { publicAddress: string; authKeyId?: string; } interface IAddUserAuthKey { publicAddress: string; } interface IRemoveUserAuthKey { publicAddress: string; } interface IUpdateAccountContractNonce { accountAddress: string; nonce: number; } interface IUpdateAccountContractProcessingNonce { accountAddress: string; nonce: number; } export declare const createAccount: ({ username, accountAddress, userId }: { username: string; accountAddress: string; userId: string; }) => Promise; export declare const addDevice: ({ accountId, alias, appName, appUrl, deviceUid, os, type, vendor }: { accountId: string; alias: string; appName: string; appUrl: string; deviceUid: string; os: string; type: string; vendor: string; }) => Promise; export declare const addUserAuthKey: (input: IAddUserAuthKey) => Promise; export declare const removeUserAuthKey: (input: IRemoveUserAuthKey) => Promise; export declare const upsertUserPasswordDerivedKeyHash: (input: IUpsertUserPasswordDerivedKeyHashInput) => Promise; export declare const userPasswordDerivedKeyHashExists: (input: IUserPasswordDerivedKeyHashExistsInput) => Promise; export declare const updateKeystore: ({ keystoreId, keystore }: { keystoreId: string; keystore: string; }) => Promise; interface IAddPendingEmailInput { userId: string; newEmail: string; password: string; } export declare const addPendingEmail: (input: IAddPendingEmailInput) => Promise; export declare const addPendingTx: ({ userId, txHash }: { userId: string; txHash: string; }) => Promise; export declare const removePendingTx: ({ txHash }: { txHash: string; }) => Promise; export declare const logout: () => Promise; export declare const deactivateLoginKey: ({ loginKeyAddress }: { loginKeyAddress: string; }) => Promise; export declare const deactivateAllLoginKeys: () => Promise; /** * Email notification table */ export declare const updateEmailSubscription: ({ isSubscribedEmail }: { isSubscribedEmail: boolean; }) => Promise; export declare const updateEmailNotificationPreferences: (input: IUpdateEmailNotificationPreferences) => Promise; /** * User preferences table */ export declare const addUserFeeTokenAddress: ({ feeTokenAddress }: { feeTokenAddress: boolean; }) => Promise; /** * User recovery preferences table */ export declare const addRecoveryAccount: (input: IAddRecoveryAccount) => Promise; export declare const removeRecoveryAccount: (input: IRemoveRecoveryAccount) => Promise; export declare const updateRecoveryPhrasePreference: (input: IUpdateRecoveryPhrasePreference) => Promise; export declare const updateRecoveryAccountPreference: (input: IUpdateRecoveryAccountPreference) => Promise; /** * Account Contract Nonce */ export declare const updateAccountContractNonce: (input: IUpdateAccountContractNonce) => Promise; export declare const updateAccountContractProcessingNonce: (input: IUpdateAccountContractProcessingNonce) => Promise; /** * Analytics */ export declare const logEvent: (input: { eventType: string; properties?: any; }) => Promise; export {};