type alias DetectCodecimport { type DetectCodec } from "https://dotland.deno.dev/x/polkadot@0.2.45/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]>>