import type { ZodTuple, ZodTypeAny } from 'zod'; import type { TupleSchema, TupleSchema_ } from '../../../index.js'; import type { SchemaProps } from '../../../schema/types/schemaProps.js'; import type { FromZodSchemaRec } from './fromZodSchema.js'; export type ZodTupleAny = ZodTuple<[ZodTypeAny, ...ZodTypeAny[]], ZodTypeAny | null>; export type FromZodTuple = ZOD_SCHEMA extends ZodTuple ? ROOT extends true ? TupleSchema_, PROPS> : TupleSchema, PROPS> : never; export declare const fromZodTuple: (zodTuple: ZodTupleAny) => TupleSchema;