import { PipeTransform } from '@angular/core'; import * as moment from 'moment-timezone'; export declare class TzPipe implements PipeTransform { /** * Parse or Convert moment value for selected TZData.

* Examples: *

* @param {moment.MomentInput} value date/time/timestamp value - can be with TimeZone id or shift, or without it.

* See wikipedia article for most usable string formats.

* Example:

* - 2007-03-01T13:00:00Z - With TimeZone info ('Z' = UTC);

* - 2007-03-01T13:00:00 - Without TimeZone info.

* @param {string} tzdata TZData value.

* See wikipedia examples

* @param {boolean} parseInZone

* If TRUE - parse value (without TZ id or shift) in defined TZData (Parse mode).

* If FALSE - convert value (without TZ id or shift) to defined TZData (Conversion mode), and parse it in current TZ.

* NOTE: If moment value has TZ id or shift part - Parse mode will be used and "parseInZone" will be ignored.

* @returns {any} new moment value for defined TZData */ transform(value: moment.MomentInput, tzdata: string, parseInZone?: boolean): any; }