import { useMemo as r } from "react";
import { guardStates as m } from "../../machine/guards/index.js";
import { b as n } from "../../config-D-Ik_SSx.js";
const i = (t) => {
  const { ctx: s } = n(), o = m(s, ["transfer_success"]);
  return r(() => {
    let e = 1;
    return o ? (s.sourceToken.symbol !== s.targetToken.symbol && (e += 1), s.sendAddress && (e += 1), t && (e += 1), e) : 0;
  }, [t, s.sendAddress, s.sourceToken, s.targetToken]);
};
export {
  i as useSummaryItemsCount
};
//# sourceMappingURL=useSummaryItemsCount.js.map
