/** * src/agent/cron.ts * * Pillar A — Cron scheduled tasks. * * Exports: * addCronTask({ cron, prompt, recurring }) * listCronTasks() * removeCronTask(id) * * Persists to `.bizar/cron.json`. */ export interface CronTask { id: string; cron: string; prompt: string; recurring: boolean; createdAt: string; } /** * Add a cron task. * * @param opts.cron — cron expression (e.g. "0 * * * *") * @param opts.prompt — prompt to execute on trigger * @param opts.recurring — if false, task is removed after first run * @param opts.repoRoot — optional repo root override * @returns the created CronTask */ export declare function addCronTask(opts: { cron: string; prompt: string; recurring?: boolean; repoRoot?: string; }): CronTask; /** * List all cron tasks. */ export declare function listCronTasks(repoRoot?: string): CronTask[]; /** * Remove a cron task by id. * @returns true if the task existed and was removed */ export declare function removeCronTask(id: string, repoRoot?: string): boolean; //# sourceMappingURL=cron.d.ts.map