import { createRbac, hasPermission, enforcePermission, scopeSatisfies, PermissionCache } from './index.js'; /** Role-based access control namespace — permission checking, enforcement, scope hierarchy. */ export declare const rbac: { /** Creates an Rbac instance from config (roles, permissions, hierarchy). */ create: typeof createRbac; /** Checks if a permission set includes the required resource/action/scope. Pure function, no DB. */ check: typeof hasPermission; /** Checks permission and throws ForbiddenError if denied. Loads permissions from DB with caching. */ enforce: typeof enforcePermission; /** Checks if a granted scope satisfies a required scope given a hierarchy (e.g. org > team > self). */ satisfies: typeof scopeSatisfies; /** LRU cache for resolved permissions — avoids repeated DB lookups within a request. */ PermissionCache: typeof PermissionCache; }; //# sourceMappingURL=namespace.d.ts.map