import { z, ZodTypeAny } from 'zod';
import { EntitySchema } from '../types/schema';
/**
 * Converts a JSON schema from the backend into a Zod validation schema.
 * This allows the frontend to perform the same validation as the backend.
 */
export declare function schemaToZod(entitySchema: EntitySchema): z.ZodObject<Record<string, ZodTypeAny>>;
/**
 * Generate default values based on schema
 */
export declare function generateDefaults(entitySchema: EntitySchema): Record<string, unknown>;
