const a = (e) => {
  if (!e.quote || e.quote.type === "QUOTE_DEPOSIT_ANY_AMOUNT")
    return;
  const t = parseFloat(e.quote.amountOutUsd) - parseFloat(e.quote.amountInUsd), o = (parseFloat(e.quote.amountOutUsd) - parseFloat(e.quote.amountInUsd)) / parseFloat(e.quote.amountInUsd) * 100;
  return {
    usd: t,
    percentage: o
  };
};
export {
  a as getUsdTradeDelta
};
//# sourceMappingURL=getUsdTradeDelta.js.map
