import type { CreateUserGroup } from '../models/CreateUserGroup'; import type { ResponseEmpty } from '../models/ResponseEmpty'; import type { ResponseUserGroup } from '../models/ResponseUserGroup'; import type { UserGroup } from '../models/UserGroup'; import type { UserGroupNotFoundError } from '../models/UserGroupNotFoundError'; export declare class UserGroupService { /** * Get all * Lists all usergroups. * @returns UserGroup * @throws ApiError */ static userGroupControllerGetAll(): Promise>; /** * Post * Create a new usergroup object (id will be generated automagicly). * @param requestBody CreateUserGroup * @returns any * @throws ApiError */ static userGroupControllerPost(requestBody?: CreateUserGroup): Promise<(UserGroup | UserGroupNotFoundError)>; /** * Get one * Returns a usergroup of a specified id (if it exists) * @param id * @returns UserGroup * @throws ApiError */ static userGroupControllerGetOne(id: number): Promise; /** * Put * Update a usergroup object (id can't be changed). * @param id * @param requestBody UserGroup * @returns UserGroup * @throws ApiError */ static userGroupControllerPut(id: number, requestBody?: UserGroup): Promise; /** * Remove * Delete a specified usergroup (if it exists). * @param id * @param force * @returns ResponseUserGroup * @returns ResponseEmpty * @throws ApiError */ static userGroupControllerRemove(id: number, force?: boolean): Promise; }