import { getRoundingMethod } from "./_lib-getRoundingMethod.js";
import { millisecondsInMinute } from "./constants.js";
import { differenceInMilliseconds } from "./differenceInMilliseconds.js";
function differenceInMinutes(dateLeft, dateRight, options) {
  const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;
  return getRoundingMethod(options?.roundingMethod)(diff);
}
export {
  differenceInMinutes as default,
  differenceInMinutes
};
//# sourceMappingURL=differenceInMinutes.js.map
