import type { RbacMatrix } from "../dsl/types"; interface RbacMatrixPutBody { data: { type: string; id?: string; attributes: { matrix: RbacMatrix; roleNames: Record; moduleNames: Record; outputPath: string; }; }; } /** * Dev-only endpoints for editing the rbac matrix. * * Registered ONLY when `devMode` is enabled on RbacModule.register (see * `apps/api/src/features/features.modules.ts`). * * Both endpoints speak JSON:API (single-resource envelopes) so the frontend * can consume them via the standard `callApi()` pipeline instead of a * bespoke raw-fetch escape hatch. */ export declare class RbacDevController { private readonly matrix; private readonly moduleUserPaths; constructor(matrix: RbacMatrix | null, moduleUserPaths: Record | null); getMatrix(): { data: { type: string; id: string; attributes: { matrix: RbacMatrix>; modulePaths: Record; }; }; }; putMatrix(body: RbacMatrixPutBody): Promise<{ data: { type: string; id: string; attributes: { bytesWritten: number; path: string; }; }; }>; } export {}; //# sourceMappingURL=rbac-dev.controller.d.ts.map