import { o as GetBalanceEnvelope, b as GetBalanceResponse, q as RedeemEnvelope, c as RedeemResponse, _ as _voidEnvelope, d as VoidResponse } from './service-plugins-error-classes-DkqM_r-l.js'; export { A as AiContext, l as AlreadyRedeemedWixError, n as AlreadyVoidedWixError, C as Context, m as CurrencyNotSupportedWixError, E as ExtendedFields, a as GetBalanceRequest, i as GiftCardDisabledWixError, j as GiftCardExpiredWixError, h as GiftCardNotFoundWixError, e as GiftCardProviderConfig, G as GiftCardProviderEntity, f as IdentificationData, g as IdentificationDataIdOneOf, I as IdentityType, k as InsufficientFundsWixError, M as MissingCurrencyWixError, R as RedeemRequest, T as TransactionNotFoundWixError, V as VoidRequest } from './service-plugins-error-classes-DkqM_r-l.js'; import '@wix/sdk-types'; /** * This method retrieves gift card data from your app. * Wix calls this method when a customer applies a gift card as a payment method at checkout. * @throws GiftCardNotFoundWixError * @throws GiftCardDisabledWixError * @throws GiftCardExpiredWixError * @throws MissingCurrencyWixError */ declare function getBalance(payload: GetBalanceEnvelope): GetBalanceResponse | Promise; /** * This method requests that a transaction be created by your app. * Wix calls this method when a customer completes a purchase that includes a gift card as a payment method at checkout. * @throws GiftCardNotFoundWixError * @throws GiftCardDisabledWixError * @throws GiftCardExpiredWixError * @throws InsufficientFundsWixError * @throws AlreadyRedeemedWixError * @throws CurrencyNotSupportedWixError * @throws MissingCurrencyWixError */ declare function redeem(payload: RedeemEnvelope): RedeemResponse | Promise; /** * This method requests that a gift card transaction be voided by your app. * Wix calls this method when a purchase fails after gift card redemption. */ declare function _void(payload: _voidEnvelope): VoidResponse | Promise; export { GetBalanceEnvelope, GetBalanceResponse, RedeemEnvelope, RedeemResponse, VoidResponse, _void, _voidEnvelope, getBalance, redeem };