import { z } from 'zod'; import type { ListSchema } 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 { WithOptional } from './utils.js'; export type ListZodFormatter = ListSchema extends SCHEMA ? z.ZodTypeAny : WithOptional>>>>; export declare const listZodFormatter: (schema: ListSchema, options?: ZodFormatterOptions) => z.ZodTypeAny;