import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { CalculateTaxOptions, CalculateTaxResponse, CalculateTaxApplicationErrors, ListTaxCalculatorsResponse } from './index.typings.js'; export { Address, AddressIndex, AddressIndexAddressIndexOptionsOneOf, AggregateTaxBreakdownsRequest, AggregateTaxBreakdownsResponse, AggregatedTaxBreakdown, ApplicationError, CalculateTaxRequest, ExemptBy, ExemptByWithLiterals, ExemptCalculationDetails, ExemptCalculationDetailsExemptByOptionsOneOf, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemTaxDetails, LineItemTaxSummary, ListTaxCalculatorsRequest, MultipleAddresses, TaxBreakdown, TaxCalculationGateway, TaxCalculatorDetails, TaxSummary } from './index.typings.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. * * 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?: NonNullablePaths): Promise & { __applicationErrorsType?: CalculateTaxApplicationErrors; }>; } 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 { CalculateTaxApplicationErrors, CalculateTaxOptions, CalculateTaxResponse, ListTaxCalculatorsResponse, calculateTax, listTaxCalculators };