import { GetShippingRatesResponse } from './src/service-plugins-types.js'; import { GetShippingRatesEnvelope } from './src/interfaces-ecom-v1-shipping-rates-provider.public.js'; export * from './src/service-plugins-error-classes'; export * from './src/service-plugins-types'; export { GetShippingRatesEnvelope }; /** * This method retrieves applicable shipping rates for a delivery from your app. * * Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed. * * > __Note:__ Do not call the Estimate Cart Totals, Estimate Current Cart Totals or Get Checkout methods from your implementation code for Get Shipping Rates. Doing so will result in an error. * @throws MissingPostalCodeWixError * @throws InvalidPostalCodeWixError * @throws InvalidAddressWixError * @throws GenericShippingRatesWixError */ export declare function getShippingRates(payload: GetShippingRatesEnvelope): GetShippingRatesResponse | Promise;