/** * Date utilities for effective date logic and rolling windows */ export declare function isEffectiveDate(date: Date, effectiveDate: Date, expiryDate?: Date): boolean; export interface RollingWindow { startDate: Date; endDate: Date; days: number; } export declare function calculateRollingWindow(referenceDate: Date, windowDays: number): RollingWindow; export declare function isWithinRollingWindow(date: Date, window: RollingWindow): boolean; export declare function filterDatesInWindow(dates: Date[], window: RollingWindow): Date[]; export declare function calculateRetentionExpiry(creationDate: Date, retentionDays: number): Date; export declare function shouldArchive(creationDate: Date, archivalAfterDays: number, currentDate?: Date): boolean; export declare function shouldDelete(creationDate: Date, retentionDays: number, currentDate?: Date): boolean; export declare function formatISO20022Date(date: Date): string; export declare function formatISO20022DateTime(date: Date): string; //# sourceMappingURL=dates.d.ts.map