import { CustomDecorator } from '@nestjs/common'; import { CRUD } from '../@types/scope'; export declare const META_GROUPNAME = "keycloak-groupname"; /** * Decorator that assigns Metadata to be used by a GroupGuard. * * For example: \ * `@DefineGroup('read', 'project', 'unlimited', 'projectId')` \ * `@UseGuards(GroupGuard)` * * @param scopeType CRUD operation. * @param groupName Prefix that is used by all Keycloak groups. * @param unlimitedSuffix Optional parameter, that defines a scope, that can bypass the GroupGuard. * @param paramName Optional suffix that defines to which URL parameter the group is referred to. * Defaults to groupName + "Id" * * @fritzforsit */ export declare const DefineGroup: (scopeType: CRUD, groupName: string, unlimitedSuffix?: string, paramName?: string) => CustomDecorator; //# sourceMappingURL=group.decorator.d.ts.map