method z.ZodEnum.prototype.excludeimport { z } from "https://dotland.deno.dev/x/zod@v3.23.7/index.ts"; const { ZodEnum } = z; exclude<ToExclude extends readonly [T[number], ...T[number][]]>(values: ToExclude, newDef?: RawCreateParams): ZodEnum<typecast<Writeable<FilterEnum<T, ToExclude[number]>>, [string, ...string[]]>>Type ParametersToExclude extends readonly [T[number], ...T[number][]]Parametersvalues: ToExcludeoptionalnewDef: RawCreateParams = [UNSUPPORTED]ReturnsZodEnum<typecast<Writeable<FilterEnum<T, ToExclude[number]>>, [string, ...string[]]>>