import type { Group } from '../models/Group.js'; import type { Person } from '../models/Person.js'; import type { CancelablePromise } from '../core/CancelablePromise.js'; export declare class GroupService { /** * Get group by name * Get the user group with the group name * @param groupName * @param expand * @returns Group The user group with the group name * @throws ApiError */ static getGroup(groupName: string, expand?: string): CancelablePromise; /** * Get groups * Get a paginated collection of user groups * @param expand * @param limit * @param start * @returns any The number of user groups in the system * @throws ApiError */ static getGroups(expand?: string, limit?: number, start?: number): CancelablePromise<{ results?: Array; totalCount?: number; start?: number; limit?: number; size?: number; _links?: { base?: string; context?: string; self?: string; next?: string; prev?: string; }; }>; /** * Get members of group * Get a paginated collection of users in the given group * @param groupName * @param expand * @param limit * @param start * @returns any a collection of users in the given group * @throws ApiError */ static getMembers(groupName: Group, expand?: string, limit?: number, start?: number): CancelablePromise<{ results?: Array; totalCount?: number; start?: number; limit?: number; size?: number; _links?: { base?: string; context?: string; self?: string; next?: string; prev?: string; }; }>; /** * Get group members of group * Get a paginated collection of groups in the given group * @param groupName * @param expand * @param limit * @param start * @returns any a collection of groups in the given group * @throws ApiError */ static getNestedGroupMembers(groupName: Group, expand?: string, limit?: number, start?: number): CancelablePromise<{ results?: Array; totalCount?: number; start?: number; limit?: number; size?: number; _links?: { base?: string; context?: string; self?: string; next?: string; prev?: string; }; }>; } //# sourceMappingURL=GroupService.d.ts.map