export declare const DATE_RANGE_SEPARATOR = " - "; /** * Formats a date object using the specified format string */ export declare const formatDate: (date: Date, formatString: string) => string; /** * Parses a date string using the specified format */ export declare const parseDate: (dateString: string, formatString: string, referenceDate?: Date) => Date | null; /** * Try to parse a date string using multiple formats */ export declare const tryParseDate: (dateString: string, formatStrings: string[], referenceDate?: Date) => Date | null; /** * Handles parsing a timestamp (number) into a Date */ export declare const parseTimestamp: (timestamp: number, unit?: "ms" | "s") => Date | null; /** * Parses a date range string (format: "start - end") */ export declare const parseDateRange: (rangeString: string, dateFormat: string, timeFormat?: string) => { from: Date | null; to: Date | null; }; /** * Format a date range as a string */ export declare const formatDateRange: (from: Date | null, to: Date | null, dateFormat: string, timeFormat?: string) => string; /** * Extract time components from a date */ export declare const extractTimeComponents: (date: Date) => { hours: string; minutes: string; seconds: string; }; /** * Apply time components to a date */ export declare const applyTimeToDate: (date: Date, time: { hours: string; minutes: string; seconds: string; }) => Date; /** * Safely parses a value that might be a timestamp or a date string */ export declare const parseSmartDate: (value: string, dateFormat: string, timeFormat?: string) => Date | null;