//#region src/workflow/world.d.ts
declare let world: any;
/**
 * Re-enqueue a workflow run by its ID.
 * This creates a new job in the queue for an existing run.
 *
 * Use this to recover orphaned workflows that are stuck in "running" state
 * but have no corresponding job in the queue (e.g., after server restart).
 */
declare function reenqueueRun(runId: string): Promise<void>;
declare function recoverOrphanedWorkflows(): Promise<number>;
//#endregion
export { recoverOrphanedWorkflows, reenqueueRun, world };