import { Constructor, Codec, InterfaceTypes, Registry } from '../types'; import Option from './Option'; import Struct from './Struct'; import Tuple from './Tuple'; declare type TypeWithValues = [Constructor, any[]]; /** * @name Linkage * @description The wrapper for the result from a LinkedMap */ export default class Linkage extends Struct { constructor(registry: Registry, Type: Constructor | InterfaceTypes, value?: any); static withKey(Type: Constructor | InterfaceTypes): Constructor>; get previous(): Option; get next(): Option; /** * @description Returns the base runtime type name for this instance */ toRawType(): string; /** * @description Custom toU8a which with bare mode does not return the linkage if empty */ toU8a(): Uint8Array; } /** * @name LinkageResult * @description A Linkage keys/Values tuple */ export declare class LinkageResult extends Tuple { constructor(registry: Registry, [TypeKey, keys]: TypeWithValues, [TypeValue, values]: TypeWithValues); } export {};