import { format } from 'date-fns';
declare function extractDateFromMongoId(id: string, time?: boolean): string;
declare const DateUtils: {
    millis: () => number;
    formatDate: (date: Date | null, fmt: string) => string;
    format: typeof format;
    parseISOString: (s: string) => Date;
    isValidDate: (date: Date) => boolean;
    parseDate: (dateStr: string, formatStr: string, referenceDate?: Date) => Date;
    addSecondsToDate: (date: Date, seconds: number) => Date;
    parseTime: (time: number) => string;
    extractDateFromMongoId: typeof extractDateFromMongoId;
    formatDateTime: (isoDateStr: string, outputFormat: string) => string;
};
export default DateUtils;
