import { DateInput, MaybeDateInput } from './types.js'; /** * Returns the difference between 2 dates in years. * @param dateA - A date to compare with the dateB date * @param [dateB] - A date to compare with the dateA date or nothing to compare with the current time */ declare function diffYears(dateA: DateInput, dateB?: MaybeDateInput): number; /** * Returns the difference between 2 dates in years. * @param [dateA] - A date to compare with the dateB date or null to compare with the current time * @param dateB - A date to compare with the dateA date */ declare function diffYears(dateA: MaybeDateInput, dateB: DateInput): number; export { diffYears };