import { type AvailabilityRearmResult } from "../work-items/availability-resume.js"; import type { WorkflowRepository } from "../workflows/repository.js"; /** * The gateway half of the availability resume sweep (PLA-153): the sweep decides * WHEN a Todo comes back, this decides WHERE it lands. * * It lives here because answering that means reading a Workflow definition, and * `work-items/` does not import `workflows/`. Everything it does — the revision * lane on `transition`, the trigger lookup — is machinery that already existed * for a rejected gate sending work round again. */ export declare function startAvailabilityResumes(repository: WorkflowRepository): () => void; /** One re-arm. Exported for tests; the sweep above is the only caller in anger. */ export declare function availabilityRearm(todoId: string, repository: WorkflowRepository): AvailabilityRearmResult; //# sourceMappingURL=availability-resume.d.ts.map