/** * Type Mapper * * Maps JSON Schema property types to TypeScript type strings. * Used by the code generator to produce typed interfaces from * Arazzo workflow input/output schemas. */ import type { JsonSchemaProperty, JsonSchemaObject } from '../parser/types.js'; /** * Convert a JSON Schema type to its TypeScript equivalent. */ export declare function mapSchemaTypeToTS(prop: JsonSchemaProperty): string; /** * Generate a TypeScript interface body from JSON Schema properties. */ export declare function generateInterfaceProperties(properties: Record, required?: string[], indent?: string): string; /** * Generate a full TypeScript interface from a JSON Schema object. */ export declare function generateInterface(name: string, schema: JsonSchemaObject, exportInterface?: boolean): string; /** * Generate TypeScript type for workflow outputs based on output expression mappings. * Since Arazzo outputs are runtime expressions, we infer types as unknown * unless we can determine them from the expression pattern. */ export declare function generateOutputInterface(name: string, outputs: Record): string; /** * Convert a string to PascalCase for interface names. */ export declare function toPascalCase(str: string): string; /** * Convert a string to camelCase for function/variable names. */ export declare function toCamelCase(str: string): string; //# sourceMappingURL=type-mapper.d.ts.map