import type { IsoPrice } from '../../domain.objects/IsoPrice'; import type { IsoPriceShape } from '../../domain.objects/IsoPriceShape'; import type { IsoPriceWords } from '../../domain.objects/IsoPriceWords'; /** * .what = subtracts second price from first * .why = enables price difference computation * * @throws BadRequestError if currencies do not match * * @example * subPrices('USD 50.00', 'USD 20.00') * // => 'USD 30.00' * * @example * subPrices('USD 10.00', 'USD 50.00') * // => 'USD -40.00' (negative allowed) */ export declare function subPrices(minuend: IsoPrice | string, subtrahend: IsoPrice | string, options?: { format?: 'words'; }): IsoPriceWords; export declare function subPrices(minuend: IsoPrice | string, subtrahend: IsoPrice | string, options: { format: 'shape'; }): IsoPriceShape; /** * .what = alias for subPrices * .why = provides price-prefixed variant */ export declare const priceSub: typeof subPrices;