import { TypeRegistry } from '@polkadot/types'; import { Constants, Extrinsics } from '@polkadot/types/metadata/decorate/types'; /** * From a metadata hex string (for example returned by RPC), create decorated * modules with their calls (transactions). * * @ignore * @param registry - The registry of the metadata. * @param metadataRpc - The metadata as hex string. */ export declare function createDecoratedTx(registry: TypeRegistry, metadataRpc: `0x${string}`): Extrinsics; /** * From a metadata hex string (for example returned by RPC), create decorated * modules with their constants. * * @param registry - The registry of the metadata. * @param metadataRpc - The metadata as hex string. */ export declare function createDecoratedConstants(registry: TypeRegistry, metadataRpc: `0x${string}`): Constants;