import { getRoundingMethod } from "./_lib-getRoundingMethod.js";
import { differenceInMilliseconds } from "./differenceInMilliseconds.js";
function differenceInSeconds(laterDate, earlierDate, options) {
  const diff = differenceInMilliseconds(laterDate, earlierDate) / 1e3;
  return getRoundingMethod(options?.roundingMethod)(diff);
}
export {
  differenceInSeconds as default,
  differenceInSeconds
};
//# sourceMappingURL=differenceInSeconds.js.map
