import { SmrtCollection } from '@happyvertical/smrt-core'; import { Membership } from '../models/Membership.js'; import { MembershipStatus } from '../types/index.js'; /** * Collection for managing Membership objects */ export declare class MembershipCollection extends SmrtCollection { static readonly _itemClass: typeof Membership; /** * Find all memberships for a user */ findByUser(userId: string): Promise; /** * Find all active memberships for a user */ findActiveByUser(userId: string): Promise; /** * Find all memberships in a tenant */ findByTenant(tenantId: string): Promise; /** * Find active memberships in a tenant */ findActiveByTenant(tenantId: string): Promise; /** * Find a specific user's membership in a tenant */ findByUserAndTenant(userId: string, tenantId: string): Promise; /** * Find memberships by role */ findByRole(roleId: string): Promise; /** * Find memberships by status */ findByStatus(status: MembershipStatus): Promise; } //# sourceMappingURL=MembershipCollection.d.ts.map