import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { C as CalculateTaxOptions, a as CalculateTaxResponse, b as CalculateTaxResponseNonNullableFields, L as ListTaxCalculatorsResponse, c as ListTaxCalculatorsResponseNonNullableFields } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ByCUh6PW.js'; export { A as Address, f as AddressIndex, g as AddressIndexAddressIndexOptionsOneOf, i as AggregatedTaxBreakdown, m as ApplicationError, d as CalculateTaxRequest, J as JurisdictionType, e as LineItem, j as LineItemTaxDetails, l as LineItemTaxSummary, n as ListTaxCalculatorsRequest, M as MultipleAddresses, k as TaxBreakdown, T as TaxCalculationGateway, o as TaxCalculatorDetails, h as TaxSummary } from './gateways-billing-v1-tax-calculation-gateway-tax-calculation.universal-ByCUh6PW.js'; declare function calculateTax$1(httpClient: HttpClient): CalculateTaxSignature; interface CalculateTaxSignature { /** * Calculates tax for the provided line items. * * Tax is calculated for each line item based on the tax region * that corresponds to the address provided in `lineItems.addressIndex` and the tax group in `taxGroupId`. If no tax region is found for * the line item's address then no tax will be calculated for this line item. If no tax group with that `taxGroupId` is found then the * default tax group is used to calculate tax. Call List Default Tax Groups to retrieve a site's default tax groups. * * The tax is calculated by a tax calculator app installed on the site. * Call List Tax Calculators to see which tax calculators are available. * To provide your own tax calculations, use the Tax Calculation service plugin. * * The breakdown of calculated tax returned, includes: * + `taxSummary`: The overall total tax calculated. * + `taxSummary.aggregatedTaxBreakdown`: The total tax calculated for each jurisdiction. * + `lineItemTaxDetails.taxSummary`: The total tax calculated for each line item. * + `lineItemTaxDetails.taxBreakdown`: The tax calculated for each line item in each jurisdiction. * @param - Calculate tax options. */ (options?: CalculateTaxOptions | undefined): Promise; } declare function listTaxCalculators$1(httpClient: HttpClient): ListTaxCalculatorsSignature; interface ListTaxCalculatorsSignature { /** * Retrieves a list of installed tax calculators. * * Wix uses these calculators to calculate tax. */ (): Promise; } declare const calculateTax: MaybeContext & typeof calculateTax$1>; declare const listTaxCalculators: MaybeContext & typeof listTaxCalculators$1>; export { CalculateTaxOptions, CalculateTaxResponse, CalculateTaxResponseNonNullableFields, ListTaxCalculatorsResponse, ListTaxCalculatorsResponseNonNullableFields, calculateTax, listTaxCalculators };