import type { HoursTypeInt } from "../../types/clock/hoursTypeInt"; import type { DayType } from "../../types/date/dayType"; import type { MonType } from "../../types/date/monType"; export type BIRTHDAYSIMPLE = (birthdays: Date | `${number}-${T}-${DayType}` | `${number}:${T}:${DayType}` | `${number}/${T}/${DayType}` | { year: number; mon: number; day: number; }, timeDifference?: HoursTypeInt) => number; /** * Calculate age from birthdate * @param birthdays - Birthday date in various formats * @param timeDifference - Time zone difference in hours (default: 9) * @returns Age in years * @example birthdaySimple("2000-01-01"); * birthdaySimple("2000:01:01"); * birthdaySimple("2000/01/01"); * birthdaySimple({ year: 2000, mon: 1, day: 1 }); * birthdaySimple(new Date(2000, 0, 1)); */ export declare const birthdaySimple: BIRTHDAYSIMPLE;