import type { ArrayCardinality, ZodArray, ZodTypeAny } from 'zod'; import type { ListSchema, ListSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; import type { FromZodSchema } from './fromZodSchema.js'; export type ZodArrayAny = ZodArray; export type FromZodArray = ZOD_SCHEMA extends ZodArray ? ROOT extends true ? ListSchema_, PROPS> : ListSchema, PROPS> : never; export declare const fromZodArray: (zodArray: ZodArrayAny) => ListSchema;