import { type TSetComplement } from "https://deno.land/x/typebox@0.33.22/src/type/sets/set.ts";
definition: (T extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? TSetIncludes<S, L> extends true ? TSetComplement<R, S, [...Acc]> : TSetComplement<R, S, [...Acc, L]> : Acc)