import { Constructor, Codec, InterfaceTypes } 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(Type: Constructor | InterfaceTypes, value?: any); static withKey(Type: Constructor | InterfaceTypes): Constructor>; readonly previous: Option; readonly 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(isBare?: boolean): Uint8Array; } /** * @name LinkageResult * @description A Linkage keys/Values tuple */ export declare class LinkageResult extends Tuple { constructor([TypeKey, keys]: TypeWithValues, [TypeValue, values]: TypeWithValues); } export {};