import type { CommandResponse } from '../../client/client.type.js'; import { type User, type UserStatus } from './user.utils.js'; import { type UserPermissions } from './permissions.utils.js'; /** * Parameters for the create user command. */ export type CreateUser = { /** Username (1-255 bytes) */ username: string; /** Password (1-255 bytes) */ password: string; /** User status (Active or Inactive) */ status: UserStatus; /** Optional user permissions */ permissions?: UserPermissions; }; /** * Create user command definition. * Creates a new user with the specified credentials and permissions. */ export declare const CREATE_USER: { code: number; serialize: ({ username, password, status, permissions }: CreateUser) => Buffer; deserialize: (r: CommandResponse) => User; }; /** * Executable create user command function. */ export declare const createUser: (getClient: import("../../client/client.type.js").ClientProvider) => (arg: CreateUser) => Promise; //# sourceMappingURL=create-user.command.d.ts.map