import { ServicePluginDefinition } from '@wix/sdk-types'; import { Context, GetPaymentSettingsRequest, GetPaymentSettingsResponse, GetPaymentSettingsForCheckoutRequest, GetPaymentSettingsForCheckoutResponse } from './service-plugins-types.js'; export interface GetPaymentSettingsEnvelope { request: GetPaymentSettingsRequest; metadata: Context; } export interface GetPaymentSettingsForCheckoutEnvelope { request: GetPaymentSettingsForCheckoutRequest; metadata: Context; } export declare const provideHandlers: ServicePluginDefinition<{ /** * * This method retrieves payment settings from your app. * * Wix calls this method during the payment process. For example, when a customer inserts credit card details and places an order. * This method retrieves the payment settings to apply, and Wix passes on the settings to the payment provider. */ getPaymentSettings(payload: GetPaymentSettingsEnvelope): GetPaymentSettingsResponse | Promise; /** * Returns payment settings for provided Checkout entity. */ getPaymentSettingsForCheckout(payload: GetPaymentSettingsForCheckoutEnvelope): GetPaymentSettingsForCheckoutResponse | Promise; }>;