export interface PendingLoopSchedule { name: string; cron: string; cronLabel: string; /** Raw clock line the user typed (e.g. 每天凌晨2点). */ timeText: string; objective: string; exitDescription: string; headless: boolean; createdAt: number; } type PendingListener = (threadKey: string) => void; export declare function onLoopSchedulePendingChanged(fn: PendingListener): () => void; export declare function setPendingLoopSchedule(threadKey: string, p: Omit): void; export declare function getPendingLoopSchedule(threadKey: string): PendingLoopSchedule | null; export declare function clearPendingLoopSchedule(threadKey: string): void; export declare function _sizeLoopScheduleForTest(): number; export declare function _clearLoopScheduleForTest(): void; export declare function tryConsumeLoopScheduleReply(threadKey: string, text: string): { decision: 'confirm'; pending: PendingLoopSchedule; } | { decision: 'cancel'; pending: PendingLoopSchedule; } | null; export {}; //# sourceMappingURL=pending-loop-schedule.d.ts.map