export = updateUser; /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** * ============================================================================== * Main Function * ============================================================================== * @async * * @param {object} params - API Key * @param {String} params.key - API Key * @param {String} params.database - Target Database * @param {{ id: number } & Object.} params.payload - User Object: ID is required * * @returns { Promise} */ declare function updateUser({ key, payload, database }: { key: string; database: string; payload: { id: number; } & { [x: string]: any; }; }): Promise;