import type { AgeResult, I18nStrings } from './types.js'; /** * Calculate post-menstrual age in days. * PMA = gestational age at birth (in days) + chronological age (in days) */ export declare function postMenstrualAgeDays(chronologicalDays: number, gestationalAgeWeeks: number): number; /** * Calculate age in days between two dates (ignoring time-of-day). * Uses UTC to avoid timezone/DST issues. */ export declare function ageInDays(dateOfBirth: Date, dateOfMeasurement: Date): number; /** * Calculate corrected age for premature infants. * Correction = (40 - gestationalAgeWeeks) * 7 days * Applied only when chronological age < 2 years (731 days). */ export declare function correctedAgeInDays(chronologicalDays: number, gestationalAgeWeeks?: number): number; /** * Format age as a human-readable string. * - < 1 month: days only * - < 2 years: months and days * - >= 2 years: years and months */ export declare function formatAge(days: number, strings: I18nStrings['age']): string; /** * Calculate full age information including prematurity correction. */ export declare function calculateAge(dateOfBirth: Date, dateOfMeasurement: Date, gestationalAgeWeeks: number | undefined, strings: I18nStrings['age']): AgeResult; //# sourceMappingURL=age.d.ts.map