export default interface IPeerRepository < PeerAddress , Peer > { count : number ; get ( peerAddress ) : Peer ; getAll ( ) : Array < Peer > ; getManyByAddress ( peerAddresses ) : Array < Peer > ; has ( peerAddress ) : boolean ; remove ( peerAddress ) : void ; removeAll ( ) : void ; }