const e=require(`../../../types/hinkal.types.cjs`);require(`../../../types/index.cjs`);var t=t=>{let n=e.EventType.BalanceChange,r=new CustomEvent(n,{detail:t});typeof document<`u`?document.dispatchEvent(r):process?.emit(`message`,r,void 0)};exports.balanceChangedHandler=t;