// @flow // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. export type Interval = { start: Date | number, end: Date | number } export type Locale = { formatDistance: (...args: Array) => any, formatRelative: (...args: Array) => any, localize: { ordinalNumber: (...args: Array) => any, era: (...args: Array) => any, quarter: (...args: Array) => any, month: (...args: Array) => any, day: (...args: Array) => any, dayPeriod: (...args: Array) => any }, formatLong: Object, date: (...args: Array) => any, time: (...args: Array) => any, dateTime: (...args: Array) => any, match: { ordinalNumber: (...args: Array) => any, era: (...args: Array) => any, quarter: (...args: Array) => any, month: (...args: Array) => any, day: (...args: Array) => any, dayPeriod: (...args: Array) => any }, options?: { weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 } } 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)) declare module.exports: CurriedFn3< { weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, locale?: Locale }, number, Date | number, Date >