import type { WorkflowDefinition } from "./model.js"; import type { WorkflowRearmTarget } from "./todo-ports.js"; /** * Where a re-armed Todo has to land, read off the CURRENT definition rather than * the snapshot a run started with: a workflow disabled or retired since then * fires nothing, and a Todo left sitting at its trigger status would look queued * forever. The status comes from the trigger, never from a hardcoded default — * every Todo-triggered workflow gets this, not one of them. * * Two callers now read the same trigger: a rejection sending work round again, * and the availability sweep bringing a quota-parked Todo back. */ export declare function resolveRearmTarget(definition: WorkflowDefinition | null, workflowId: string): WorkflowRearmTarget; //# sourceMappingURL=rearm-target.d.ts.map