import type { UserStatus } from './user.utils.js'; import { type Id } from '../identifier.utils.js'; /** * Parameters for the update user command. */ export type UpdateUser = { /** User identifier (ID or username) */ userId: Id; /** Optional new username (1-255 bytes) */ username?: string; /** Optional new status */ status?: UserStatus; }; /** * Update user command definition. * Updates a user's username and/or status. */ export declare const UPDATE_USER: { code: number; serialize: ({ userId, username, status }: UpdateUser) => Buffer; deserialize: (r: import("../../index.js").CommandResponse) => boolean; }; /** * Executable update user command function. */ export declare const updateUser: (getClient: import("../../index.js").ClientProvider) => (arg: UpdateUser) => Promise; //# sourceMappingURL=update-user.command.d.ts.map