import type { RbacMatrix } from "./types"; /** * Identity function used to attach typing to an rbac matrix literal. * * The generic parameter binds the matrix to a concrete `MODULE_USER_PATHS` * shape so that scoped-path arguments in `perm.update("...")` etc. are * type-checked against the module they are declared under. * * Usage: * export const rbac = defineRbac({ * [ModuleId.Part]: { default: [perm.read], ... }, * }); */ export declare function defineRbac>(matrix: RbacMatrix): RbacMatrix; //# sourceMappingURL=define-rbac.d.ts.map