UNPKG

774 BTypeScriptView Raw
1import type { Registry } from '@polkadot/types-codec/types';
2import type { DecoratedMeta } from './types.js';
3import { Metadata } from '../Metadata.js';
4import { decorateConstants } from './constants/index.js';
5import { decorateErrors } from './errors/index.js';
6import { decorateEvents, filterEventsSome } from './events/index.js';
7import { decorateExtrinsics, filterCallsSome } from './extrinsics/index.js';
8import { decorateStorage } from './storage/index.js';
9/**
10 * Expands the metadata by decoration into consts, query and tx sections
11 */
12export declare function expandMetadata(registry: Registry, metadata: Metadata): DecoratedMeta;
13export { decorateConstants, decorateErrors, decorateEvents, decorateExtrinsics, decorateStorage, filterCallsSome, filterEventsSome };