import { ChainProperties, DispatchErrorModule } from '../interfaces/types'; import { CallFunction, Codec, Constructor, InterfaceTypes, RegistryError, RegistryTypes, Registry, RegistryMetadata, RegisteredTypes } from '../types'; import { EventData } from '../generic/Event'; export declare class TypeRegistry implements Registry { #private; constructor(); get chainDecimals(): number; get chainSS58(): number | undefined; get chainToken(): string; get knownTypes(): RegisteredTypes; get signedExtensions(): string[]; /** * @describe Creates an instance of the class */ createClass(type: K): Constructor; /** * @description Creates an instance of a type as registered */ createType(type: K, ...params: unknown[]): InterfaceTypes[K]; findMetaCall(callIndex: Uint8Array): CallFunction; findMetaError(errorIndex: Uint8Array | DispatchErrorModule): RegistryError; findMetaEvent(eventIndex: Uint8Array): Constructor; get(name: string, withUnknown?: boolean): Constructor | undefined; getChainProperties(): ChainProperties | undefined; getDefinition(name: string): string | undefined; getOrThrow(name: string, msg?: string): Constructor; getOrUnknown(name: string): Constructor; getSignedExtensionExtra(): Record; getSignedExtensionTypes(): Record; hasClass(name: string): boolean; hasDef(name: string): boolean; hasType(name: string): boolean; register(type: Constructor | RegistryTypes): void; register(name: string, type: Constructor): void; private _registerObject; setChainProperties(properties?: ChainProperties): void; setKnownTypes(knownTypes: RegisteredTypes): void; setMetadata(metadata: RegistryMetadata, signedExtensions?: string[]): void; setSignedExtensions(signedExtensions?: string[]): void; }