import { Timezone } from 'countries-and-timezones'; /** @return {string[]} All of the known timezones from the 'countries-and-timezones' */ export declare function getTimezoneNames(): string[]; /** * @param {string} timeZone a timeZone in IANA format */ export declare function getTimezoneObj(timeZone: string): Timezone; /** * @param {string} timeZone Local timezone of the user in IANA format, used to get the TimeZone object from 'countries-and-timezones'. * @param {Date} fromStart The date that the timezone offset is being fetched for. * @return {number} Returns the offset in minutes for the given timezone and date */ export declare function getTimezoneOffsetFromTimezone(timeZone: string, fromStart?: Date): number; /** * @param {Date} date The date to check if is during daylight savings time. * @return {boolean} Is the given date during daylight savings time */ export declare function isDST(date: Date): boolean; /** * @param {string} userTimeZone A timezone in the IAN format that the user/client is in. * @param {string} timeZone A timezone in IANA format that we want 'fromStart' to be localized to. * @param {Date} fromStart A date from the user's timezone to be localized to the supplied timezone * @return {string} String for display a timezone option in the timezone selector. Format is '${Timezone abbr} (${timeZone}) - ${current time of "timeZone"}' */ export declare function buildTimezoneDisplay(timeZone: string, userTimeZone?: string, fromStart?: Date): string; /** * @return {string} Returns the timezone based on client's location, returns UTC when the 'Intl' lib is unavailable, mostly in older browsers. */ export declare function getTimezone(): string;