import { notReachable as a } from "../../utils/notReachable.js";
const s = (t, r) => {
  const { variant: e, amount: o } = r;
  switch (e) {
    case "source":
      t.sourceTokenAmount = o;
      break;
    case "target":
      t.targetTokenAmount = o;
      break;
    default:
      a(e, { throwError: !1 });
  }
};
export {
  s as tokenSetAmount
};
//# sourceMappingURL=tokenSetAmount.js.map
