import type { DB } from '../../data/db/index.js'; import type { Rbac } from './types.js'; export declare function enforcePermission(rbac: Rbac, db: DB, userId: string, tenantId: string, authVersion: number, resource: string, action: string, requiredScope?: string): Promise; //# sourceMappingURL=middleware.d.ts.map