export declare const SECOND = 1000; export declare const MINUTE: number; export declare const HOUR: number; export declare const DAY: number; export declare function formatRelativeDate(date: Date | string): string; export declare function parseDate(dateStr: string): Date | null; /** * Parses `YYYY-MM-DD` or `YYYY-MM-DD[T ]HH:MM[:SS[.fraction]]` with an optional `Z` or `+HH:MM` * offset, which includes everything `Date.toISOString()` produces. * Without an offset the value is local time, date-only included (unlike `new Date('2026-10-20')`, * which is UTC). Returns `null` for anything else, including calendar dates that `Date` would * silently roll over such as `2026-02-30`. */ export declare function parseLocalDate(value: string): Date | null; export declare function formatDateTime(date: Date): string; //# sourceMappingURL=dates.d.ts.map