import { CronCommand, CronJob, CronJobParams, CronOnCompleteCommand } from 'cron';
export declare class CronJobManager {
    private jobs;
    constructor(key?: string, tab?: string | Date, task?: CronCommand<any, boolean>, onComplete?: CronOnCompleteCommand, start?: boolean, timeZone?: string, context?: CronJobParams, runOnInit?: boolean);
    getJob(key: string): CronJob;
    getJobs(): string[];
    add(key: string, tab: string | Date, task: CronCommand<any, boolean>, onComplete?: CronOnCompleteCommand, start?: boolean, timeZone?: string, context?: CronJobParams, runOnInit?: boolean): Promise<void>;
    update(key: string, tab: string | Date, task: CronCommand<any, boolean>, onComplete?: () => void, start?: boolean, timeZone?: string, context?: any, runOnInit?: boolean): Promise<void>;
    delete(key: string): Promise<void>;
    start(key: string): void;
    stop(key: string): Promise<void>;
    stopAll(): Promise<void>;
    exists(key: string): boolean;
}
