import { RbacMatrix } from "./types"; /** * Compute the canonical edge JSON for a given (role, module) pair. * Union of module defaults and role-specific tokens, serialised. * Returns undefined if the role or module is not declared. */ export declare function resolveForRole(matrix: RbacMatrix, roleId: string, moduleId: string): string | undefined; /** * Compute the canonical defaults JSON for a module. * Returns undefined if the module is not declared. */ export declare function resolveDefault(matrix: RbacMatrix, moduleId: string): string | undefined; /** * Yield every (role, module) pair declared in the matrix. */ export declare function iterateDeclaredEdges(matrix: RbacMatrix): Iterable<{ roleId: string; moduleId: string; }>; /** * Yield every module declared in the matrix. */ export declare function iterateDeclaredModules(matrix: RbacMatrix): Iterable; //# sourceMappingURL=resolver.d.ts.map