UNPKG

476 BTypeScriptView Raw
1import type { StorageEntryTypeLatest } from '../interfaces/metadata/index.js';
2import type { SiLookupTypeId } from '../interfaces/scaleInfo/index.js';
3import type { InterfaceTypes, Registry } from '../types/index.js';
4/** @internal */
5export declare function unwrapStorageSi(type: StorageEntryTypeLatest): SiLookupTypeId;
6/** @internal */
7export declare function unwrapStorageType(registry: Registry, type: StorageEntryTypeLatest, isOptional?: boolean): keyof InterfaceTypes;