import { type InputTaggedUnion } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/scale.ts";
Type Parameters
M extends Record<number, AnyVariant>
definition: [I in keyof M]: Expand<Readonly<Record<K, Extract<M[I], AnyVariant>["tag"]>> & Input<Extract<M[I], AnyVariant>["codec"]>>[keyof M & number]