/** * Calculate the number of days between two dates. */ export declare function daysBetween(date1: Date, date2: Date): number; /** * Calculate the number of days a date is old from now. */ export declare function daysOld(dateStr: string, now?: Date): number; /** * Parse an ISO 8601 date string to a Date object. * Supports both date (YYYY-MM-DD) and date-time formats. */ export declare function parseDate(dateStr: string): Date; /** * Check if a date string is before another date string. */ export declare function isBefore(date1: string, date2: string): boolean; /** * Check if a date string is after another date string. */ export declare function isAfter(date1: string, date2: string): boolean; /** * Check if a date string is in the past. */ export declare function isPast(dateStr: string, now?: Date): boolean; /** * Check if a date string is in the future. */ export declare function isFuture(dateStr: string, now?: Date): boolean; /** * Freshness thresholds for date validation (in days). */ export declare const FRESHNESS_THRESHOLDS: { /** Sanctions screening should be within 90 days */ readonly SANCTIONS_SCREENING: 90; /** PEP risk assessment should be within 180 days */ readonly PEP_ASSESSMENT: 180; /** Adverse media assessment should be within 180 days */ readonly ADVERSE_MEDIA: 180; /** Tax ID verification should be within 2 years (730 days) */ readonly TAX_VERIFICATION: 730; }; //# sourceMappingURL=dates.d.ts.map