import type { BuddyBotConfig } from '../types';
export declare interface ScheduleConfig {
  cron: string
  timezone?: string
  runOnStartup?: boolean
  maxRuntime?: number
}
export declare interface SchedulerJob {
  id: string
  name: string
  schedule: ScheduleConfig
  lastRun?: Date
  nextRun?: Date
  status: 'idle' | 'running' | 'error'
  config: BuddyBotConfig
}
export declare class Scheduler {
  constructor(verbose?: boolean);
  addJob(job: SchedulerJob): void;
  removeJob(jobId: string): void;
  start(): void;
  stop(): void;
  getJobStatus(jobId: string): SchedulerJob | undefined;
  getAllJobs(): SchedulerJob[];
  static createJobFromConfig(config: BuddyBotConfig, jobId?: string): SchedulerJob;
  static readonly PRESETS: unknown;
}
