/** * routes/principals.ts * * Handlers for the principals.* gateway verbs over the PrincipalRegistry * (../../principals). Thin verb registration: each handler reads the invocation * params, calls the registry, and maps a PrincipalRegistryError to an honest * wire status (INVALID_ARGUMENT -> 400, NOT_FOUND -> 404, ALREADY_EXISTS -> 409, * CONFLICT -> 409). * * Wired via GatewayMethodCatalog.register(descriptor, handler) against * descriptors already cataloged (without a handler) from * ../method-catalog-principals.ts, the same mechanism skills.* / fleet.* use. */ import type { GatewayMethodCatalog } from '../method-catalog.js'; import { PrincipalRegistry } from '../../principals/index.js'; export type PrincipalsGatewayService = Pick; export declare function registerPrincipalsGatewayMethods(catalog: GatewayMethodCatalog, service: PrincipalsGatewayService): void; //# sourceMappingURL=principals.d.ts.map