import type { EvershopRequest } from '../../../../types/request.js'; /** * POST /api/shipments/:shipment_uuid/cancel — cancel a single shipment. The * underlying `updateShipmentStatus(uuid, 'canceled')` handles phase-transition * checks (terminal `delivered` rejects). The order rollup recompute fires * automatically, updating `order.shipment_status`. * * Whole-order cancellation goes through `cancelOrder` (existing endpoint), * which iterates and calls this kind of logic per shipment internally. */ declare const _default: (request: EvershopRequest, response: any, next: any) => Promise; export default _default;