UNPKG

274 BTypeScriptView Raw
1import type { Codec, CodecClass, Registry } from '@polkadot/types-codec/types';
2import type { DetectCodec } from '../types';
3export declare function createClass<T extends Codec = Codec, K extends string = string>(registry: Registry, type: K): CodecClass<DetectCodec<T, K>>;