import { AsyncTask } from '../../common/AsyncTask';
import { Job, JobStatus } from '../../common/Job';
import { Task } from '../../common/Task';
import { SimpleIntervalSchedule } from './SimpleIntervalSchedule';
export type JobOptions = {
    preventOverrun?: boolean;
    id?: string;
};
export declare class SimpleIntervalJob extends Job {
    private timer?;
    private readonly schedule;
    private readonly task;
    private readonly preventOverrun;
    constructor(schedule: SimpleIntervalSchedule, task: Task | AsyncTask, options?: JobOptions);
    start(): void;
    stop(): void;
    getStatus(): JobStatus;
}
