/** * Format a range string from two dates. * Auto-swaps if startDate > endDate. */ export default function formatRangeString(startDate: Date, endDate: Date | null, dateFormat: string): string;