// @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 } } declare module.exports: ( intervalLeft: Interval, intervalRight: Interval ) => number