/** * Return epoch timestamp * @param regime Set if you want milisecond format or second format * @returns */ export declare const nowTimestamp: (regime?: "milisecond" | "second") => number; /** * Return now local timestamp plus number of seconds to add * @param secondsToAdd Seconds to add from now (1 = now + 1 sec.) * @returns Timestamp of the future (past) on seconds */ export declare const nowPlusTime: (secondsToAdd: number) => number; /** * Convert epoch time value into ISO format * @param epochValue Epoch value of the timestamp * @returns ISO format of the date */ export declare const epochToIsoFormat: (epochValue: number) => string; /** * Return epoch timestamp * @param regime Set if you want milisecond format or second format * @returns */ export declare const nowTimestampIso: () => string; /** * Check if input date is valid for ISO format * @param dateToCheck * @returns */ export declare const hasIsoFormat: (dateToCheck: string) => boolean; /** * Convert date in ISO formtat to milisecond timestamp * @param isoDate Date in ISO 8601 format * @returns Timestamp representing the date in miliseconds */ export declare const isoDateToTimestamp: (isoDate: string) => number; /** * Format ISO 8601 interval to from-to values * @param interval Defined inteval in ISO format (from/to) of the UTC * @returns Tuple - from timestamp and to timestamp */ export declare const isoIntervalToTimestamps: (interval: string) => [number, number];