import { CronJob, CronJobParameters } from 'cron'; import { StatsResult } from '../stats/stats.interface'; export declare class CronHelper { private static readonly redis; static crons: {}; static nextTime(cronTime: string): { next: Date; calendar: string; fromNow: string; }; static reg(operation: string, cronTime: string, handler: () => Promise | any>, opts?: Omit & { ttl?: number; }): CronJob; }