import { z } from 'zod'; import type { Schema, TupleSchema } from '../../../../schema/index.js'; import type { Overwrite } from '../../../../types/overwrite.js'; import type { WithValidate } from '../utils.js'; import type { SchemaZodFormatter } from './schema.js'; import type { ZodFormatterOptions } from './types.js'; import type { SchemaZodFormatterRec, WithOptional } from './utils.js'; export type TupleZodFormatter = TupleSchema extends SCHEMA ? z.ZodTypeAny : WithOptional>, ...SchemaZodFormatterRec> ]> : never : never : z.ZodTypeAny>>; export declare const tupleZodFormatter: (schema: TupleSchema, options?: ZodFormatterOptions) => z.ZodTypeAny;