/** * Adds the given number of months to the given date and returns a new Date object. * * @deprecated Use {@link shiftMonths} instead. */ export declare function addMonths(months: number, date?: Date): Date; /** * Shifts the given date by a specified number of months and returns a new Date object. * * Can take both positive and negative values for months. * * @param {number} months - The number of months to add to the date. * @param {Date} [date=new Date()] - The date to add the months to. Defaults to the current date. * @returns {Date} - A new Date object with the given number of months added. */ export declare function shiftMonths(months: number, date?: Date | string | number): Date;