import type { AnyZodObject, ArrayCardinality, ZodArray, ZodObject, ZodTypeAny } from 'zod'; type Identity = T; type Flatten = Identity<{ [Key in keyof T]: T[Key]; }>; export type MergeZodShapes = Flatten>; export type MergeZodObjects = ZodObject, Target['_def']['unknownKeys'], Target['_def']['catchall']>; export type AddPropertySchemaToZodObject = ZodObject, Base['_def']['unknownKeys'], Base['_def']['catchall']>; type CardinalityOf> = ArraySchema extends ZodArray ? Cardinality : never; type ZodArrayOfObjects = ZodArray; export type AddPropertySchemaToZodObjectOrArrayOfObjects = Schema extends ZodArrayOfObjects ? ZodArray, CardinalityOf> : Schema extends AnyZodObject ? AddPropertySchemaToZodObject : never; export {}; //# sourceMappingURL=zod-merge.d.ts.map