import type { ZodObject, ZodRawShape } from 'zod'; import type { MapSchema, MapSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; import type { FromZodSchema } from './fromZodSchema.js'; export type ZodObjectAny = ZodObject; export type FromZodObject = ZOD_SCHEMA extends ZodObject ? ROOT extends true ? MapSchema_<{ [KEY in keyof ZOD_SCHEMA_SHAPE]: FromZodSchema; }, PROPS> : MapSchema<{ [KEY in keyof ZOD_SCHEMA_SHAPE]: FromZodSchema; }, PROPS> : never; export declare const fromZodObject: (zodObject: ZodObjectAny) => MapSchema;