import { RequestOptionsFactory } from '@wix/sdk-types'; /** * Retrieves refund information about an order's payments, line items, shipping, and additional fees. * * The following information is returned: * - Whether a payment is refundable; previously refunded amounts; possible refund amounts for each payment. * - Refundable and previously refunded quantities for each line item, as well as shipping and additional fees. */ export declare function getOrderRefundability(payload: object): RequestOptionsFactory; /** Calculates refund amounts for a given list of an order's line items, shipping, and additional fees. */ export declare function calculateRefund(payload: object): RequestOptionsFactory; /** * Calls relevant payment providers and creates refund transactions for the requested payments. * * Refunds marked with `paymentRefunds.externalRefund = true` do not call payment providers and * only update the order's transactions records. */ export declare function refundPayments(payload: object): RequestOptionsFactory; /** * Authorizes a payment using an order's saved payment method. * * Use the `delayedCaptureSettings` field to specify whether the payment should also be captured/voided immediately or at a later time. * Alternatively, the payment can be manually captured or voided using the Capture Authorized Payments or Void Authorized Payments methods. */ export declare function authorizeChargeWithSavedPaymentMethod(payload: object): RequestOptionsFactory; /** Voids an order's authorized payments. */ export declare function voidAuthorizedPayments(payload: object): RequestOptionsFactory; /** Captures an order's authorized payments. */ export declare function captureAuthorizedPayments(payload: object): RequestOptionsFactory;