/** * Operator transitions for the application delivery outbox (WFT-85): retrying * a parked, dead-lettered, or rejected delivery, and closing a parked one for * good. * * Both are ordinary compare-and-swap transitions on a terminal record. A retry * reopens the delivery — its open-count and due-index maintenance ride in the * same batch — and a dead-letter moves its retention entry to the new terminal * instant. * * @module core/outbox-operations */ import type { ApplicationDeliveryOperatorResult } from './outbox-contract.ts'; import { type OutboxRuntime } from './outbox-internals.ts'; /** Return a parked, dead-lettered, or rejected delivery to the due index with at least one more attempt: an unspent budget is kept, a spent one is raised by one. */ export declare function retryDelivery(runtime: OutboxRuntime, deliveryId: string): Promise; /** Close a parked `unknown-outcome` delivery as dead-lettered. */ export declare function deadLetterDelivery(runtime: OutboxRuntime, deliveryId: string, reason: string | undefined): Promise;