method Enum.withimport { Enum } from "https://deno.land/x/polkadot@0.2.17/types-codec/mod.ts"; with(Types: Record<string, string | CodecClass> | Record<string, number> | string[]): EnumCodecClass<Enum>ParametersTypes: Record<string, string | CodecClass> | Record<string, number> | string[]ReturnsEnumCodecClass<Enum>