// @flow // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. import type { Locale } from 'date-fns' type OptionsWithTZ = { weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, additionalDigits?: 0 | 1 | 2, timeZone?: string, locale?: Locale, includeSeconds?: boolean, addSuffix?: boolean, unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', roundingMethod?: 'floor' | 'ceil' | 'round', awareOfUnicodeTokens?: boolean, } type CurriedFn1 = (a: A) => R type CurriedFn2 = (a: A) => CurriedFn1 | ((a: A, b: B) => R) type CurriedFn3 = ( a: A ) => | CurriedFn2 | ((a: A, b: B) => CurriedFn1 | ((a: A, b: B, c: C) => R)) type CurriedFn4 = ( a: A ) => | CurriedFn3 | (( a: A, b: B ) => | CurriedFn2 | (( a: A, b: B, c: C ) => CurriedFn1 | ((a: A, b: B, c: C, d: D) => R))) declare module.exports: { format: CurriedFn2, formatInTimeZone: CurriedFn3, formatInTimeZoneWithOptions: CurriedFn4< OptionsWithTZ, string, string, Date | string | number, string >, formatWithOptions: CurriedFn3, getTimezoneOffset: CurriedFn2, toDate: CurriedFn1, toDateWithOptions: CurriedFn2, utcToZonedTime: CurriedFn2, utcToZonedTimeWithOptions: CurriedFn3, zonedTimeToUtc: CurriedFn2, zonedTimeToUtcWithOptions: CurriedFn3, }