import moment from "moment"; export declare class DateFormatter { constructor(format: string, secondaryFormat?: string); /** Use formatLocal when displaying times relative to the user i.e. when * somebody else replied to their comment, or when a file was uploaded. */ formatLocal(date: Date): string; /** Use formatUTC when all users should see the same information, regardless * of their geographical location. i.e. dates pertaining to what happened on * the job site */ formatUTC(date: moment.MomentInput): string; formatRangeLocal(startDate: Date, endDate?: Date): string; parseUTC(date: string | null): Date; private readonly formatString; private readonly secondaryFormat?; } export default DateFormatter;