/** * Role Model Interface (auto-generated from Drizzle schema) */ interface RoleModel { id: string; orgId: string; workspaceId?: string; userId?: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; name: string; title: string; description?: string; scopeType: string; scopeId: string; builtIn: boolean; archived: boolean; tenantId?: string; } declare const Collection$1: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; name: { type: string; maxLength: number; }; title: { type: string; maxLength: number; }; description: { type: string; maxLength: number; }; scopeType: { type: string; maxLength: number; }; scopeId: { type: string; maxLength: number; }; builtIn: { type: string; }; archived: { type: string; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; /** * RoleMembership Model Interface (auto-generated from Drizzle schema) */ interface RoleMembershipModel { id: string; orgId: string; workspaceId?: string; userId: string; createdAt: string; updatedAt: string; metadata?: Record; extended?: Record; roleId: string; grantedBy: string; scopeType: string; scopeId: string; status: string; expiresAt: string; tenantId?: string; } declare const Collection: { name: string; schema: { title: string; version: number; primaryKey: string; type: string; properties: { id: { type: string; maxLength: number; }; orgId: { type: string; maxLength: number; }; workspaceId: { type: string; maxLength: number; }; userId: { type: string; maxLength: number; }; createdAt: { type: string; maxLength: number; format: string; }; updatedAt: { type: string; maxLength: number; format: string; }; metadata: { type: string; }; extended: { type: string; }; roleId: { type: string; maxLength: number; }; grantedBy: { type: string; maxLength: number; }; scopeType: { type: string; maxLength: number; }; scopeId: { type: string; maxLength: number; }; status: { type: string; maxLength: number; default: string; }; expiresAt: { type: string; maxLength: number; format: string; }; tenantId: { type: string; maxLength: number; }; }; required: string[]; indexes: string[][]; }; hooks: { preInsert: (doc: Record) => Record; preSave: (doc: Record, oldDoc: Record) => Record; }; migrationStrategies: {}; }; export { Collection$1 as C, type RoleModel as R, type RoleMembershipModel as a, Collection as b };