import { type z } from "https://deno.land/x/zod@v3.20.5/index.ts";
const { ZodFormattedError } = z;
definition: { _errors: U[]; } & (NonNullable<T> extends [any, ...any[]] ? [K in keyof NonNullable<T>]?: ZodFormattedError<NonNullable<T>[K], U> : NonNullable<T> extends any[] ? { [k: number]: ZodFormattedError<NonNullable<T>[number], U>; } : NonNullable<T> extends object ? [K in keyof NonNullable<T>]?: ZodFormattedError<NonNullable<T>[K], U> : unknown)