import { ItemRO, TotalRO, ShippingRO, ItemTotalRO, ItemsRO, ItemQtyRO, PriceRO } from '../readonlyInterfaces'; import { addPrices, itemsGroupReduce, minusItem } from './basics'; export declare const documents: { total: (ap: ReturnType) => (documents: readonly T[]) => number; shipping: (ap: ReturnType) => (documents: readonly T_1[]) => number; items: { total: (injectable: { ap: ReturnType; igr: ReturnType; }) => >(documents: readonly T_2[]) => U[]; qty: (igr: ReturnType) => >(documents: readonly T_3[]) => U_1[]; minus: (injectable: { ap: ReturnType; igr: ReturnType; mi: ReturnType; }) => , P extends ItemRO & import("../readonlyInterfaces").QtyRO & TotalRO & PriceRO, T_4 extends ItemsRO

>(from: readonly T_4[], subtrahend: readonly S[]) => P[]; }; };