import * as moment from "moment-timezone"; import { FormGroup, FormControl } from "@angular/forms"; export declare type FormatDateTzOptions = { format?: string; timezone?: string; }; export declare type InitDateTzOptions = { date?: moment.Moment | string; startOf?: moment.unitOfTime.StartOf; timezone?: string; }; export declare class TimezoneUtils { static formatDateString(dateString: string, format?: string): string; static formatMomentDate(date: moment.Moment, format?: string): string; static formatDateStringTz(dateString: string, options?: FormatDateTzOptions): string; static convertToTz(date: string | moment.Moment, timezone?: string): moment.Moment; static convertTzToUtc(momentDate: moment.Moment): moment.Moment; static convertTzToUtcString(momentDate: moment.Moment): string; static formDateChange(newDate: moment.Moment, f: FormGroup, fieldName: string, timezone?: string): boolean; static formControlDateChange(newDate: moment.Moment, control: FormControl, timezone?: string): boolean; static initDateToTz(params?: InitDateTzOptions): moment.Moment; static changeTimeZoneWithoutShiftingDateTime(newDate: moment.Moment, timezone?: string): string; }