// @flow

declare module.exports: (
  dateToCompare: Date | string | number,
  date: Date | string | number,
  options?: {
    addSuffix?: boolean,
    unit?: 's' | 'm' | 'h' | 'd' | 'M' | 'Y',
    partialMethod?: 'floor' | 'ceil' | 'round',
    locale?: Object
  }
) => string
