import { RequestOptionsFactory } from '@wix/sdk-types'; /** Retrieves a referral event by ID. */ export declare function getReferralEvent(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of referral events. * * The `queryReferralEvents()` function builds a query to retrieve a list of referral events and returns a `ReferralEventsQueryBuilder` object. * * The returned object contains the query definition, which is typically used to run the query using the `find()` function. * * You can refine the query by chaining `ReferralEventsQueryBuilder` functions onto the query. `ReferralEventsQueryBuilder` functions enable you to sort, filter, and control the results `queryReferralEvents()` returns. * * `queryReferralEvents()` runs with these `ReferralEventsQueryBuilder` defaults, which you can override: * * - skip(0) * - limit(50) * - descending("_createdDate") * * The functions that are chained to `queryReferralEvents()` are applied in the order they're called. For example, if you apply ascending('actionEvent') and then descending('rewardEvent'), the results are sorted first by the action events, and then, if there are multiple results with the same action events, the items are sorted by reward events. */ export declare function queryReferralEvent(payload: object): RequestOptionsFactory; /** Retrieves referral statistics. */ export declare function getReferralStatistics(payload: object): RequestOptionsFactory; /** * Retrieves a list of referring customer totals, given the provided paging, filtering, and sorting. * * To learn about working with Query endpoints, see * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination), * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection). */ export declare function queryReferringCustomerTotals(payload: object): RequestOptionsFactory; /** * Retrieves a list of referred friend actions, given the provided paging, filtering, and sorting. * * To learn about working with Query endpoints, see * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination), * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection). */ export declare function queryReferredFriendActions(payload: object): RequestOptionsFactory;