import { DateInput } from './types.js'; import { DiffRoundingMethod } from './diffRound.js'; /** * Returns the difference between 2 dates in days. * @param dateA - A date to compare with the right date * @param [dateB] - A date to compare with the left date or nothing to compare with the current time * @param [roundingMethod] - the rounding method to use, default: trunc */ declare function diffWeeks(dateA: DateInput, dateB: DateInput, roundingMethod?: DiffRoundingMethod): number; /** * Returns the difference between 2 dates in days. * @param [dateA] - A date to compare with the right date or null to compare with the current time * @param dateB - A date to compare with the left date * @param [roundingMethod] - the rounding method to use, default: trunc */ declare function diffWeeks(dateA: DateInput, dateB: DateInput, roundingMethod?: DiffRoundingMethod): number; export { diffWeeks };