export { normalizeTimezone, safeTimezone, sanitizeTimezoneForDB } from './normalization.cjs'; export { isValidTimezone } from './detection.cjs'; import '@multisystemsuite/timezone-engine-shared-types'; /** * Convert a Date object to a wall-clock Date in the given timezone. * The returned Date's local methods (.getHours(), .getDate(), …) reflect * the time at that location. */ declare function convertToTimezone(date: Date, timeZone: string): Date; /** * Format a Date using a simple token-based format string. * * Supported tokens: YYYY, YY, MM, DD, HH, mm, ss, SSS * * @example * formatDate(new Date(), "DD/MM/YYYY HH:mm") */ declare function formatDate(date: Date, format: string): string; /** * Convert a date to the site's timezone then format it. * Returns null if the date is invalid or not provided. */ declare function formatDateForSite(date: Date | string | null | undefined, timeZone: string, dateTimeFormat: string): string | null; /** * Return the current timestamp formatted for a given site timezone + format. */ declare function getFormattedDateTime(timeZone: string, dateTimeFormat: string): string; /** Alias for token-based formatting — avoids clash with locale-aware formatDate */ declare const formatDateWithPattern: typeof formatDate; export { convertToTimezone, formatDate, formatDateForSite, formatDateWithPattern, getFormattedDateTime };