/** * @factory/permissions — pure permission decision engine. * * - {@link ./levels} — PermissionLevel ordering, role + prisma enum mapping * - {@link ./rules} — static role→action matrix + share visibility helper * - {@link ./resolve} — the decision engine: grants (explicit + inherited), * shares, role baseline → one explainable level * * No I/O, no DB, no auth — the API layer builds a {@link PermissionRequest} * from resolved context and codes against the documented resolution * contract (see `README.md` and the header of `src/resolve.ts`). */ export * from "./levels.js"; export * from "./rules.js"; export * from "./resolve.js";