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