//#region src/date/diffMonths.d.ts /** * Calculates the number of months between two dates. * * @param date1 - The first date * @param date2 - The second date * @returns The number of months between the two dates (positive if date1 > date2) * * @example * diffMonths(new Date('2024-04-15'), new Date('2024-01-15')) // => 3 * diffMonths(new Date('2024-01-15'), new Date('2024-04-15')) // => -3 */ declare function diffMonths(date1: Date, date2: Date): number; //#endregion export { diffMonths }; //# sourceMappingURL=diffMonths.d.cts.map