export interface PendingTasksSweepResult { selected: number; dispatched: number; markedFailed: number; skipped: number; dispatchFailed: number; } export interface PendingTasksSweepOptions { webhookBaseUrl?: string; limit?: number; durableOnly?: boolean; } /** * One pass: find stuck tasks and re-fire the processor for each. * Exported for tests and for manual triggers. */ export declare function retryStuckPendingTasks(input?: string | PendingTasksSweepOptions): Promise; /** * Start the periodic retry loop. Safe to call multiple times — second call * is a no-op. */ export declare function startPendingTasksRetryJob(options?: { webhookBaseUrl?: string; }): void; /** Stop the retry loop. */ export declare function stopPendingTasksRetryJob(): void; //# sourceMappingURL=pending-tasks-retry-job.d.ts.map