export declare const SCHEDULE_JOBS_FILENAME = "schedule-jobs.json"; export type JobNotifyCli = { channel: 'im'; platform?: string; endpointId?: string; senderId?: string; sceneId?: string; scope?: string; } | { channel: 'silent'; } | { channel: 'log'; }; export type JobScheduleCli = { kind: 'solar'; cron: string; tz?: string; } | { kind: 'lunar'; cron: string; tz?: string; } | { kind: 'workday'; cron: string; tz?: string; } | { kind: 'freeDay'; cron: string; tz?: string; } | { kind: 'every'; everyMs: number; } | { kind: 'at'; atMs: number; deleteAfterRun?: boolean; }; export interface ScheduleJobRecordCli { id: string; label?: string; enabled: boolean; schedule: JobScheduleCli; action: { kind: 'agent' | 'heartbeat'; prompt: string; }; notify: JobNotifyCli; createdAt: number; updatedAt: number; state: { lastExecutedAt?: number; lastStatus?: string; lastError?: string; }; source?: string; } export declare function parseNotifyChannel(channel: string): JobNotifyCli; export declare function readScheduleJobs(cwd?: string): Promise; export declare function writeScheduleJobs(cwd: string, jobs: ScheduleJobRecordCli[]): Promise; /** 将 5 段 cron 规范为 6 段(前置秒字段 0) */ export declare function normalizeCronExpression(expr: string): string; //# sourceMappingURL=assistant-jobs.d.ts.map