/** * Route Manifest Generator * * Reads service classes, extracts route + internal method declarations, * and generates YAML route manifests for ForgeProxy. * * `forge generate` produces: * * # routes/users.yaml * service: users * prefix: /api/users * auth: required * rate_limit: 1000/min * * routes: * - method: GET * path: /:id * handler: getUser * * # Backend-only methods (callable via IPC, not via HTTP) * internal_methods: * - name: validatePassword * local_only: true # zero-copy, same-process only */ import type { ServiceClassLike } from "../decorators/index.js"; interface RouteServiceConfig { prefix?: string | null; auth?: string | null; rateLimit?: string | null; _projectId?: string; _hostDomain?: string; } /** * Generate a route manifest for a single service. */ export declare function generateRouteManifest(serviceName: string, ServiceClass: ServiceClassLike, serviceConfig?: RouteServiceConfig): string | null; /** * Generate route manifests for all services. */ export declare function generateAllRouteManifests(serviceClasses: Record, serviceConfigs?: Record): Map; export {}; //# sourceMappingURL=RouteManifestGenerator.d.ts.map