import { P2P } from '@shardeum-foundation/lib-types'; /** FUNCTIONS */ export declare function init(): void; export declare function sync(activeNodes: P2P.SyncTypes.ActiveNode[]): Promise; type SyncNode = Partial & Pick>; export declare function syncNewCycles(activeNodes: SyncNode[]): Promise; export declare function extraSyncLogsEnabled(source?: string): boolean; export declare function digestCycle(cycle: P2P.CycleCreatorTypes.CycleRecord, source: string): void; export declare function getNewestCycle(activeNodes: SyncNode[]): Promise; export declare function activeNodeCount(cycle: P2P.CycleCreatorTypes.CycleRecord): number; export declare function showNodeCount(cycle: P2P.CycleCreatorTypes.CycleRecord): void; export declare function totalNodeCount(cycle: P2P.CycleCreatorTypes.CycleRecord): number; export {};