/** * Zod Schema Generation Module * * This module handles: * - Converting OpenAPI schemas to Zod validation schemas * - Supporting complex types, enums, unions, and validation rules * - Enabling runtime type safety and parameter validation */ /** * Generate Zod schema code from OpenAPI JSON schema * * @param schema - OpenAPI JSON schema * @returns Zod schema as a string of TypeScript code */ export declare function generateZodSchema(schema: any): string; /** * Generate Zod schema for request parameters * * @param parameters - Array of parameter definitions * @returns Object with Zod schemas for different parameter locations */ export declare function generateParameterSchemas(parameters: any[]): { path?: string; query?: string; header?: string; }; /** * Generate complete Zod schemas file for all endpoints * * @param endpoints - Array of optimized endpoints * @returns TypeScript code for Zod schemas */ export declare function generateZodSchemasFile(endpoints: any[]): string; //# sourceMappingURL=zod-generator.d.ts.map