import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";

//#region src/infra/symframe-broadcast.ts
var symframe_broadcast_exports = /* @__PURE__ */ __exportAll({
	emitSymframePush: () => emitSymframePush,
	onSymframePush: () => onSymframePush
});
const listeners = /* @__PURE__ */ new Set();
function emitSymframePush(payload) {
	for (const listener of listeners) try {
		listener(payload);
	} catch {}
}
function onSymframePush(listener) {
	listeners.add(listener);
	return () => {
		listeners.delete(listener);
	};
}

//#endregion
export { onSymframePush as n, symframe_broadcast_exports as r, emitSymframePush as t };