/** * Express/Fastify projection for Manifest IR. * * Generates standalone router modules with typed request/response shapes, * auth middleware integration, and optional Zod request validation against * command parameter schemas. * * Surfaces: * - express.router → Complete router module with all entity routes * - express.entity → Single-entity router (entity-scoped) * - express.types → TypeScript request/response type definitions * - express.all → All surfaces combined * * The projection supports both Express and Fastify via the `framework` option. * Default is Express. */ import type { IR } from '../../ir'; import type { ProjectionTarget, ProjectionRequest, ProjectionResult } from '../interface'; /** * Express/Fastify route handler projection. * * Generates standalone router modules from Manifest IR with: * - Typed request/response shapes * - Auth middleware integration * - Optional Zod request validation * - Command dispatch through the Manifest runtime * * Supports both Express (Router) and Fastify (plugin) via the * `framework` option. */ export declare class ExpressProjection implements ProjectionTarget { readonly name = "express"; readonly description = "Express/Fastify route handlers and middleware from IR entities and commands"; readonly surfaces: readonly ["express.router", "express.entity", "express.types", "express.companions", "express.webhooks", "express.all"]; readonly descriptorMeta: import("..").ProjectionDescriptorMeta; generate(ir: IR, request: ProjectionRequest): ProjectionResult; } export type { ExpressProjectionOptions } from './types'; //# sourceMappingURL=generator.d.ts.map