import { EventEmitter } from 'events'; export interface CronWorkerOptions { emitter: EventEmitter; model?: string; systemPrompt?: string; } export interface CronJobContext { jobId?: string; jobName?: string; channel?: string; } export interface CronCompletedEvent { jobId: string; jobName: string; result: string; duration: number; channel?: string; } export interface CronFailedEvent { jobId: string; jobName: string; error: string; duration: number; channel?: string; } export declare class CronWorker { private cli; private readonly emitter; private readonly model; private readonly systemPrompt; private executionQueue; constructor(options: CronWorkerOptions); private ensureCLI; execute(prompt: string, context?: CronJobContext): Promise; private executeInternal; stop(): Promise; } //# sourceMappingURL=cron-worker.d.ts.map