import type { PeerId } from './peer-id.ts';
import type { Multiaddr } from '@multiformats/multiaddr';
/**
 * A `PeerInfo` is a lightweight object that represents a remote peer, it can be
 * obtained from peer discovery mechanisms, HTTP RPC endpoints, etc.
 *
 * @see https://libp2p.io/docs/peers/#peer-info
 */
export interface PeerInfo {
    /**
     * The identifier of the remote peer
     */
    id: PeerId;
    /**
     * The multiaddrs a peer is listening on
     */
    multiaddrs: Multiaddr[];
}
//# sourceMappingURL=peer-info.d.ts.map