type alias z.FilterEnumimport { type z } from "https://dotland.deno.dev/x/zod@v3.22.2/index.ts"; const { FilterEnum } = z; Type ParametersValuesToExcludedefinition: Values extends [] ? [] : Values extends [infer Head, ...infer Rest] ? Head extends ToExclude ? FilterEnum<Rest, ToExclude> : [Head, ...FilterEnum<Rest, ToExclude>] : never