import { SmrtObject, SmrtObjectOptions } from '@happyvertical/smrt-core'; /** * Constructor options for {@link GroupMember}. */ export interface GroupMemberOptions extends SmrtObjectOptions { groupId?: string; userId?: string; } /** * GroupMember is a join table linking Users to Groups. * * A user can belong to multiple groups within a tenant. * Group membership grants additional permissions via GroupRole. * * @example * ```typescript * // Add user to a group * const groupMember = await groupMembers.create({ * groupId: editorsGroup.id, * userId: user.id * }); * await groupMember.save(); * ``` */ export declare class GroupMember extends SmrtObject { /** * Foreign key to Group */ groupId?: string; /** * Foreign key to User */ userId?: string; constructor(options?: GroupMemberOptions); } //# sourceMappingURL=GroupMember.d.ts.map