import { type DiscoveryEvent } from "https://deno.land/x/earthstar@v10.2.0/src/discovery/types.ts";
A discovery service event, indicating:
- That a new peer has been discovered
- That another peer discovered us and initiated sync
- That a peer which had been previously discovered has exited.