import { SmrtObject, SmrtObjectOptions } from '@happyvertical/smrt-core'; /** * Constructor options for {@link GroupRole}. */ export interface GroupRoleOptions extends SmrtObjectOptions { groupId?: string; roleId?: string; } /** * GroupRole is a join table linking Groups to Roles. * * Groups can have multiple roles assigned, and members of the group * inherit the permissions from all assigned roles. * * @example * ```typescript * // Assign a role to a group * const groupRole = await groupRoles.create({ * groupId: editorsGroup.id, * roleId: editorRole.id * }); * await groupRole.save(); * ``` */ export declare class GroupRole extends SmrtObject { /** * Foreign key to Group */ groupId?: string; /** * Foreign key to Role */ roleId?: string; constructor(options?: GroupRoleOptions); } //# sourceMappingURL=GroupRole.d.ts.map