import { DiffRoundingMethod } from './diffRound.js'; import { DateInput, MaybeDateInput } from './types.js'; /** * Returns the difference between 2 dates in hours. * @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 diffHours(dateA: DateInput, dateB?: MaybeDateInput, roundingMethod?: DiffRoundingMethod): number; /** * Returns the difference between 2 dates in hours. * @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 diffHours(dateA: MaybeDateInput, dateB: DateInput, roundingMethod?: DiffRoundingMethod): number; export { diffHours };