import { RequestOptionsFactory } from '@wix/sdk-types'; /** * Redeems a customer's loyalty points for a loyalty reward and creates a loyalty coupon. * * Creating a loyalty coupon also creates a corresponding "reference" coupon with the [Coupons API](https://dev.wix.com/api/rest/coupons/about-wix-coupons). * The customer receives the reference coupon, which they can apply to their order. The loyalty coupon and its corresponding reference coupon * are linked and the loyalty coupon's `status` reflects the current state of the reference coupon. * * Check which loyalty rewards a site has available with [List Rewards](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/list-rewards). */ export declare function redeemPointsForCoupon(payload: object): RequestOptionsFactory; /** * Redeems a current customer's loyalty points for a loyalty reward and creates a loyalty coupon. * * Creating a loyalty coupon also creates a corresponding "reference" coupon with the [Coupons API](https://dev.wix.com/api/rest/coupons/about-wix-coupons). * The customer receives the reference coupon, which they can apply to their order. The loyalty coupon and its corresponding reference coupon * are linked and the loyalty coupon's `status` reflects the current state of the reference coupon. * * Check which loyalty rewards a site has available with [List Rewards](https://dev.wix.com/docs/rest/crm/loyalty-program/rewards/list-rewards). * * >**Note:** * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions). */ export declare function redeemCurrentMemberPointsForCoupon(payload: object): RequestOptionsFactory; /** Retrieves a loyalty coupon. */ export declare function getLoyaltyCoupon(payload: object): RequestOptionsFactory; /** Retrieves a sequence of loyalty coupons */ export declare function bulkGetLoyaltyCoupon(payload: object): RequestOptionsFactory; /** * Retrieves the loyalty coupons for the currently logged-in member. * * >**Note:** * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions). */ export declare function getCurrentMemberCoupons(payload: object): RequestOptionsFactory; /** Retrieves a list of loyalty coupons, given the provided paging, filtering, and sorting. */ export declare function queryLoyaltyCoupon(payload: object): RequestOptionsFactory; /** * Deletes a loyalty coupon. * * The deletion of a loyalty coupon does not impact the functionality of the corresponding coupon itself. */ export declare function deleteLoyaltyCoupon(payload: object): RequestOptionsFactory;