/** Helpers for time zones, based on `Intl.DateTimeFormat` */ export declare namespace Timezones { const Current: string; const CurrentOffset: number; /** * Get the offset in minutes for a given time zone and date. Uses Intl.DateTimeFormat * to get the time zone name, then parses it to get the offset. * @param timeZone time zone name, e.g. 'America/New_York', 'Europe/Kyiv', etc. * @param date date to get the offset for. If not provided, uses the current date. * @returns offset in minutes. Positive values are west of UTC, negative values are east of UTC. */ function getOffset(timeZone: string, date?: Date | number): number; /** Returns a new date with the specified timezone offset applied. * * Usage case can be imagined like this: if your local wall clock shows time X, * what your clock will show when another local wall clock in the specified timezone will be showing time X. */ function shiftToTimeZone(date: Date, tz: string | number): Date; }