import { type z } from "https://deno.land/x/zod@v3.22.1/index.ts";
const { FilterEnum } = z;
definition: Values extends [] ? [] : Values extends [infer Head, ...infer Rest] ? Head extends ToExclude ? FilterEnum<Rest, ToExclude> : [Head, ...FilterEnum<Rest, ToExclude>] : never