import { StartedSyncingRequest } from '@shardeum-foundation/lib-types/build/src/p2p/JoinTypes'; export declare const nodesYetToStartSyncing: Map; export declare let lostAfterSelection: string[]; export interface SyncStartedRequestResponse { success: boolean; reason: string; fatal: boolean; } export declare function addSyncStarted(syncStarted: StartedSyncingRequest): SyncStartedRequestResponse; /** * Returns the list of nodeIds of nodes that started syncing empties the map. */ export declare function drainSyncStarted(): StartedSyncingRequest[]; export declare function drainLostAfterSelectionNodes(): string[];