/** * PeerState type and creator */ import { PeerRoundState } from './peer-round-state'; export interface PeerStateData { readonly roundState: PeerRoundState; readonly stats?: { readonly votes: string; readonly blockParts: string; }; } export interface PeerState { readonly nodeAddress: string; readonly peerState?: PeerStateData; } export declare const PeerStateCodec: import("../../../codec").BaseCodec; export declare function createPeerState(data: unknown): PeerState;