import { Job } from "./job.js";
export declare class Cron {
    private handles;
    private jobs;
    private started;
    MustAdd(jobId: string, cronExpr: string, fn: (() => void) | null): void;
    Add(jobId: string, cronExpr: string, fn: (() => void) | null): Error | null;
    Remove(jobId: string): void;
    RemoveAll(): void;
    Total(): number;
    Jobs(): Job[];
    Stop(): void;
    Start(): void;
    HasStarted(): boolean;
    private startJob;
    private stopBunJob;
    private stopAllBunJobs;
}
