import { IFormatHandler, SpecParts } from "../Formatter"; /** * Complement to `setArtificialNow`, returns * the agreed upon current time * * @return {number} real or artificial current timestamp, in milliseconds */ export declare function getNow(): number; /** * Set an artificial value for 'currentTime'. * Useful for debugging, or for setting up relative time scenarios * against a non-current context. * A string or number or Date suitable for a Date constructor * can be passed. Pass 0 or undefined to turn off. * * @param [datevalue] - a value suitable for a Date constructor, or none to turn off * */ export declare function setArtificialNow(datevalue: any): void; /** * DateRangeFormatter * * This is the _named handler_ for 'daterange' formatting. * * Evaluates the date format passed and uses this to group common aspects as implied by the given format * and then applies the group-separated formatting to the start and end dates of the range. * Uses `Intl` where appropriate and available. */ export default class DateRangeFormatter implements IFormatHandler { format(specParts: SpecParts, value: any): string; }