import type { IDecodedMessage } from "./message.js"; export interface IAsyncIterator { iterator: AsyncIterator; stop: Unsubscribe; } export type Unsubscribe = () => void | Promise; export type PubSubTopic = string; export type ContentTopic = string; export type PeerIdStr = string;