import { RequestOptionsFactory } from '@wix/sdk-types'; /** Retrieves a benefit pool. */ export declare function getPool(payload: object): RequestOptionsFactory; /** * Updates a benefit pool. * * Each time the pool is updated, * `revision` increments by 1. * The current `revision` must be passed when updating the pool. * This ensures you're working with the latest pool * and prevents unintended overwrites. */ export declare function updatePool(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of pools. * * The `queryPools()` method builds a query to retrieve a list of pools and returns a `PoolsQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](/pools/pools-query-builder/find) function. * * You can refine the query by chaining `PoolsQueryBuilder` methods onto the query. `PoolsQueryBuilder` methods enable you to filter, sort, and control the results that `queryPools()` returns. * * The following `PoolsQueryBuilder` functions are supported for `queryPools()`. For a full description of the pool object, see the object returned for the [`items`](/pools/pools-query-result/items) property in `PoolsQueryResult`. */ export declare function queryPools(payload: object): RequestOptionsFactory; /** * Redeems a benefit by the pool owner in exchange for available credits from the benefit pool. * * The mechanism of purchasing specified benefit items. * * Benefit redemption adjusts the available credits in the pool's balance to reflect the new balance after the transaction. * * Upon redemption, a new transaction is created, maintaining balance history for the benefit pool. */ export declare function redeemBenefit(payload: object): RequestOptionsFactory; /** * Checks if a benefit can be redeemed based on the current credit status of the benefit pool. * * Manually verify if their is a sufficient credit balance, and that all policy requirements are met prior to redeeming the benefit. */ export declare function checkBenefitEligibility(payload: object): RequestOptionsFactory; /** * Checks if multiple benefits can be redeemed based on the current credit balance of the benefit pool. * * Used to manually check if their is a sufficient credit balance, and that all policy requirements are met prior to redeeming the benefits. */ export declare function bulkCheckBenefitEligibility(payload: object): RequestOptionsFactory; /** Retrieve available benefits that can be redeemed based on the current credit balance of the benefit pool. */ export declare function getEligibleBenefits(payload: object): RequestOptionsFactory; /** Updates multiple benefit pools. */ export declare function bulkUpdatePools(payload: object): RequestOptionsFactory;