/** * Convert the CoCo tax percentage, for example found on "lineItems", which ranges from 0-1 as floating point numbers to the minor units. * * @example CoCo taxRate of 0.21, normalized is 21%, in minor-units = 2100 * @example CoCo taxRate of 0.07, normalized is 7%, in minor-units = 700 * @example CoCo taxRate of 0.489, normalized is 48.9%, in minor-units = 4891 * * @param decimalTaxRate the tax rate expressed in decimals between 0-1 as floating point numbers taken from the CoCo taxRate (see docs below). * * @throw "Error" if the provided value is not between 0 and 1; * * @returns 0 if undefined is provided * * @see https://docs.commercetools.com/api/projects/taxCategories#ctp:api:type:TaxRate */ declare const convertCoCoTaxPercentage: (decimalTaxRate?: number) => number; export { convertCoCoTaxPercentage };