import { PeerAddress, PeerStore } from '../../fileStores'; import { Peer } from './peer'; export declare const MAX_PEER_ADDRESSES = 50; /** * PeerStoreManager stores the necessary data for connecting to peers on startup * to speed up connecting to the network. */ export declare class PeerStoreManager { peerStore: PeerStore; private peers; constructor(peerStore: PeerStore); get priorConnectedPeerAddresses(): ReadonlyArray>; /** * Removes address associated with a peer from address stores */ removePeer(peer: Peer): Promise; /** * Adds a peer if the peer has an outbound websocket connection */ addPeer(peer: Peer): Promise; private insertPeerAddress; save(): Promise; } //# sourceMappingURL=peerStoreManager.d.ts.map