/** * Safestop and uncancel core module. * @task T4783 */ export interface SafestopResult { stopped: boolean; reason: string; sessionEnded: boolean; handoff?: string; dryRun: boolean; } export interface UncancelResult { taskId: string; uncancelled: boolean; previousStatus: string; newStatus: string; cascadeCount: number; dryRun: boolean; } /** Safe stop: signal clean shutdown for agents. */ export declare function safestop(projectRoot: string, opts?: { reason?: string; commit?: boolean; handoff?: string; noSessionEnd?: boolean; dryRun?: boolean; }): Promise; /** Uncancel a cancelled task (restore to pending). */ export declare function uncancelTask(projectRoot: string, params: { taskId: string; cascade?: boolean; notes?: string; dryRun?: boolean; }): Promise; //# sourceMappingURL=safestop.d.ts.map