import type { Option, Vec } from '@polkadot/types/codec'; import type { Text, Type } from '@polkadot/types/primitive'; import type { Codec, Registry } from '@polkadot/types/types'; declare type Arg = { type: Type; } & Codec; declare type Item = { type: { isDoubleMap: boolean; isMap: boolean; isNMap: boolean; isPlain: boolean; asDoubleMap: { key1: Text; key2: Text; value: Text; }; asMap: { key: Text; value: Text; }; asNMap: { keyVec: Text[]; value: Text; }; asPlain: Text; }; } & Codec; declare type Storage = Option<{ items: Vec; } & Codec>; declare type Call = { args: Vec; } & Codec; declare type Calls = Option>; declare type Event = { args: Vec; } & Codec; declare type Events = Option>; declare type Module = { calls?: Calls; constants?: Vec<{ type: Text; } & Codec>; events?: Events; storage?: Storage; } & Codec; interface ExtractionMetadata { modules: Vec; } /** @internal */ export declare function getUniqTypes(registry: Registry, meta: ExtractionMetadata, throwError: boolean): string[]; export {};