import { ErrorUnion, OkUnion } from '../outputs'; /** * Changes the first and last name of the current user. If something changes, updateUser * will be sent * @param {Object} params * @param {string} [params.firstName] - The new value of the first name for the user; * 1-64 characters * @param {string} [params.lastName] - The new value of the optional last name for * the user; 0-64 characters * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SetNameMethod = (params: SetNameParams, state?: Record) => Promise; export interface SetNameParams { /** The new value of the first name for the user; 1-64 characters */ firstName?: string; /** The new value of the optional last name for the user; 0-64 characters */ lastName?: string; }