import { publicKey } from '@shardeum-foundation/lib-types'; import { SignedObject } from '@shardeum-foundation/lib-types/build/src/p2p/P2PTypes'; import { ArchiverDownMsg, ArchiverRefutesLostMsg, ArchiverUpMsg, InvestigateArchiverMsg } from '@shardeum-foundation/lib-types/build/src/p2p/LostArchiverTypes'; /** TYPES */ export interface LostArchiverRecord { isInvestigator: boolean; gossippedDownMsg: boolean; gossippedUpMsg: boolean; target: publicKey; status: 'reported' | 'investigating' | 'down' | 'up'; investigateMsg?: SignedObject; archiverDownMsg?: SignedObject; archiverUpMsg?: SignedObject; archiverRefuteMsg?: SignedObject; cyclesToWait: number; } /** DATA */ /** * An internal map used to keep track of Archivers going through the LostArchivers protocol. * Maps Archiver public key to a LostRecord in the map. */ export declare const lostArchiversMap: Map;