"use client";
import { normalizeDates as f } from "./_lib/normalizeDates.js";
function s(n, r, a) {
  const [e, t] = f(
    a?.in,
    n,
    r
  ), o = e.getFullYear() - t.getFullYear(), l = e.getMonth() - t.getMonth();
  return o * 12 + l;
}
export {
  s as default,
  s as differenceInCalendarMonths
};
