import { type WhenArgsOutput } from "https://deno.land/x/ts_matches@v5.4.0/src/matches.ts";
definition: A extends [ValueOrFunction<infer T, infer V>] ? V : A extends [...ParserOrLiteral<infer In>[], ValueOrFunction<infer In, infer Out>] ? Out : never