//#region src/channels/health-monitor.ts
var ChannelHealthMonitor = class {
	state = /* @__PURE__ */ new Map();
	set(channelId, accountId, next) {
		this.state.set(`${channelId}:${accountId}`, next);
	}
	get(channelId, accountId) {
		return this.state.get(`${channelId}:${accountId}`);
	}
	/** Snapshot for diagnostics / `getRuntimeSnapshot()`. */
	toJSON() {
		return Object.fromEntries(this.state);
	}
};
//#endregion
export { ChannelHealthMonitor };

//# sourceMappingURL=health-monitor.js.map