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