import { TTimeStatus } from 'spm-core/enums'; declare type TIntervalDiff = 'years' | 'months' | 'weeks' | 'days' | 'hours' | 'minutes' | 'seconds'; export declare class DateTimeUtils { static now(): Date; static toUtc(date: Date | string): string; static toLocal(date: string | Date | undefined): Date; static toDate(date: string | Date | undefined): Date | null; static toLocalWithFormat(date: string | Date | undefined, f?: string): string; static getDiff(date: Date, interval: TIntervalDiff): number; static getTimeStatus(startDate: Date, endDate: Date): TTimeStatus; } export {};