/** * Code Generator * * Reads parsed Arazzo ASTs and emits TypeScript source code: * - One input interface per workflow (from JSON Schema inputs) * - One output interface per workflow (from output mappings) * - One async method per workflow on the client class * - JSDoc from Arazzo description fields */ import type { ParsedWorkflow } from '../parser/types.js'; export interface CodegenOptions { /** Output directory for generated files */ outputDir: string; /** Class name for the generated client */ className?: string; /** Output file name */ fileName?: string; } /** * Generate TypeScript SDK from parsed Arazzo workflows. * * Produces a single file with: * - Input/output interfaces for each workflow * - A client class with one method per workflow */ export declare function generateSDK(parsedWorkflows: ParsedWorkflow[], options: CodegenOptions): string; /** * Generate only the TypeScript interfaces without the client class. * Useful for creating type-only packages. */ export declare function generateTypes(parsedWorkflows: ParsedWorkflow[], options: CodegenOptions): string; //# sourceMappingURL=codegen.d.ts.map