const maybeConvertAmount = (amount, currency) => {
  return isZeroDecimal(currency) ? amount : amount / 100;
};
const isZeroDecimal = (currency) => {
  var _a;
  return ['bif', 'clp', 'djf', 'gnf', 'jpy', 'kmf', 'krw', 'xaf'].includes((_a = currency === null || currency === void 0 ? void 0 : currency.toLowerCase) === null || _a === void 0 ? void 0 : _a.call(currency));
};

export { isZeroDecimal as i, maybeConvertAmount as m };
