1 | import type { Vec } from '@polkadot/types-codec';
|
2 | import type { TypeDef } from '@polkadot/types-create/types';
|
3 | import type { PortableType } from '../interfaces/metadata';
|
4 | import type { SiLookupTypeId, SiType } from '../interfaces/scaleInfo';
|
5 | declare module '@polkadot/types-create/types/lookup' {
|
6 | interface ILookup {
|
7 | readonly names: string[];
|
8 | readonly types: Vec<PortableType>;
|
9 | getName(lookupId: SiLookupTypeId | string | number): string | undefined;
|
10 | getSiType(lookupId: SiLookupTypeId | string | number): SiType;
|
11 | getTypeDef(lookupId: SiLookupTypeId | string | number): TypeDef;
|
12 | }
|
13 | }
|