import { type IWorkspaceUserGroup } from "@gooddata/sdk-model"; import { type IPagedResource } from "../../common/paging.js"; /** * Configuration options for querying user groups * * @alpha */ export interface IWorkspaceUserGroupsQueryOptions { /** * String prefix filter */ search?: string; /** * Specify (zero-based) starting offset for the results. */ offset?: number; /** * Specify number of items per page. */ limit?: number; } /** * Service to query user groups for current workspace * * @alpha */ export interface IWorkspaceUserGroupsQuery { /** * Starts the user groups query. * * @returns promise with a list of all user groups matching the specified options */ query(options: IWorkspaceUserGroupsQueryOptions): Promise; } /** * Paged result of user groups query. Last page of data returns empty items. * * @alpha */ export type IWorkspaceUserGroupsQueryResult = IPagedResource; //# sourceMappingURL=index.d.ts.map