type alias DetectCodecimport { type DetectCodec } from "https://deno.land/x/polkadot@0.2.25/types/types/index.ts"; Type ParametersT extends CodecK extends stringdefinition: K extends keyof InterfaceTypes ? InterfaceTypes[K] : T extends | ICompact | IEnum | IMap | IMethod | INumber | IOption | IResult | ISet | IStruct | ITuple | IU8a | IVec ? T : __Codec<__Codecs<__Tokenize<__Sanitize<K>>[0]>>