/** * Update a user if the email exists, or insert a new one if it doesn't * * @param {string} email The email of the user * @param {object} data The data that will be updated * * @module masterdata * * @example * const response = await updateUser({ * email: 'john@doe.com', * data: { * firstName: 'John', * lastName: 'Doe', * ... * }, * }); * * @return {promise} */ declare const updateUser: ({ email, data, auth, accountName, an, }: IUpdateUserArgs) => Promise; export default updateUser;