type alias z.FilterEnumimport { type z } from "https://dotland.deno.dev/x/zod@v3.22.0/mod.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