"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const getRoundingMethod = require("./_lib-getRoundingMethod.cjs");
const differenceInMilliseconds = require("./differenceInMilliseconds.cjs");
function differenceInSeconds(laterDate, earlierDate, options) {
  const diff = differenceInMilliseconds.differenceInMilliseconds(laterDate, earlierDate) / 1e3;
  return getRoundingMethod.getRoundingMethod(options?.roundingMethod)(diff);
}
exports.default = differenceInSeconds;
exports.differenceInSeconds = differenceInSeconds;
//# sourceMappingURL=differenceInSeconds.cjs.map
