declare class BnDateUtils { /** * Check if a value is a valid Date object */ static isValidDate(value: unknown): value is Date; /** * Format a date to a string using locale options */ static formatDate(date: Date, locale?: string, options?: Intl.DateTimeFormatOptions): string; /** * Format a date to ISO string (YYYY-MM-DD) */ static formatToIsoDate(date: Date): string; /** * Format time to HH:MM:SS */ static formatTime(date: Date): string; /** * Add days to a date */ static addDays(date: Date, days: number): Date; /** * Add months to a date */ static addMonths(date: Date, months: number): Date; /** * Add years to a date */ static addYears(date: Date, years: number): Date; /** * Get the difference between two dates in days */ static getDaysDifference(date1: Date, date2: Date): number; /** * Check if a date is today */ static isToday(date: Date): boolean; /** * Check if a date is in the past */ static isPast(date: Date): boolean; /** * Check if a date is in the future */ static isFuture(date: Date): boolean; /** * Get the start of day (00:00:00) */ static startOfDay(date: Date): Date; /** * Get the end of day (23:59:59.999) */ static endOfDay(date: Date): Date; /** * Check if two dates are on the same day */ static isSameDay(date1: Date, date2: Date): boolean; /** * Parse a date string in various formats */ static parseDate(dateString: string): Date | null; /** * Get relative time string (e.g., "vor 2 Tagen", "in 3 Stunden") */ static getRelativeTime(date: Date, locale?: string): string; } export { BnDateUtils };