import { Codec, Constructor, RegistryTypes } from '../../types'; export declare class TypeRegistry { static readonly defaultRegistry: TypeRegistry; private _classes; private _definitions; register(type: Constructor | RegistryTypes): void; register(name: string, type: Constructor): void; private registerObject; get(name: string): Constructor | undefined; getDefinition(name: string): string | undefined; getOrThrow(name: string, msg?: string): Constructor; hasType(name: string): boolean; } export declare function getTypeRegistry(): TypeRegistry;