import type { ReceivedDto } from '../components/transfer-details/TransferDetailsProps';
/**
 * Extra items are those present in `items` but NOT in `itemsAtSubmission`
 * (i.e. appended by the backend during a delivery order).
 */
export declare function computeExtraItems(po: FdoPurchaseOrder | undefined): FdoPurchaseOrderItem[];
/**
 * Build a received map for extra items by aggregating amounts from delivery order history.
 */
export declare function buildExtrasReceivedMap(po: FdoPurchaseOrder | undefined, extraItems: FdoPurchaseOrderItem[]): Record<string, ReceivedDto>;
