import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ReferralEvent, GetReferralStatisticsResponse, QueryReferringCustomerTotalsOptions, QueryReferringCustomerTotalsResponse, QueryReferredFriendActionsOptions, QueryReferredFriendActionsResponse, ReferralEventCreatedEnvelope, ReferralEventsQueryBuilder, ReferralEventQuery, typedQueryReferralEvent } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, CommonQueryWithEntityContext, Coupon, CouponDiscountTypeOptionsOneOf, CouponScope, CouponScopeOrMinSubtotalOneOf, CreateReferralEventRequest, CreateReferralEventResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FixedAmountDiscount, GetReferralEventRequest, GetReferralEventResponse, GetReferralStatisticsRequest, Group, IdentificationData, IdentificationDataIdOneOf, LoyaltyPoints, MessageEnvelope, PercentageDiscount, QueryReferralEventRequest, QueryReferralEventResponse, QueryReferredFriendActionsRequest, QueryReferringCustomerTotalsRequest, ReferralEventEventTypeOneOf, ReferralEventQuerySpec, ReferralEventsQueryResult, ReferredFriendAction, ReferredFriendActionEvent, ReferredFriendActionRewardTypeOptionsOneOf, ReferredFriendDetails, ReferredFriendSignupEvent, ReferringCustomerTotal, ReprocessReferralEventsRequest, ReprocessReferralEventsRequestEntityOneOf, ReprocessReferralEventsResponse, RestoreInfo, Reward, RewardEvent, RewardEventReceiverOneOf, RewardWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, SuccessfulReferralEvent, Trigger, V1ActionEvent, V1Coupon, V1SuccessfulReferralEvent, V1Trigger, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function getReferralEvent$1(httpClient: HttpClient): GetReferralEventSignature; interface GetReferralEventSignature { /** * Retrieves a referral event by ID. * @param - ID of the referral event to retrieve. * @returns Retrieved referral event. */ (referralEventId: string): Promise>; } declare function getReferralStatistics$1(httpClient: HttpClient): GetReferralStatisticsSignature; interface GetReferralStatisticsSignature { /** * Retrieves referral statistics. */ (): Promise>; } declare function queryReferringCustomerTotals$1(httpClient: HttpClient): QueryReferringCustomerTotalsSignature; interface QueryReferringCustomerTotalsSignature { /** * 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). */ (options?: QueryReferringCustomerTotalsOptions): Promise>; } declare function queryReferredFriendActions$1(httpClient: HttpClient): QueryReferredFriendActionsSignature; interface QueryReferredFriendActionsSignature { /** * 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). */ (options?: QueryReferredFriendActionsOptions): Promise>; } declare const onReferralEventCreated$1: EventDefinition; declare function customQueryReferralEvent(httpClient: HttpClient): { (): ReferralEventsQueryBuilder; (query: ReferralEventQuery): ReturnType; }; declare const getReferralEvent: MaybeContext & typeof getReferralEvent$1>; declare const getReferralStatistics: MaybeContext & typeof getReferralStatistics$1>; declare const queryReferringCustomerTotals: MaybeContext & typeof queryReferringCustomerTotals$1>; declare const queryReferredFriendActions: MaybeContext & typeof queryReferredFriendActions$1>; declare const queryReferralEvent: MaybeContext & typeof customQueryReferralEvent>; /** */ declare const onReferralEventCreated: BuildEventDefinition & typeof onReferralEventCreated$1; export { GetReferralStatisticsResponse, QueryReferredFriendActionsOptions, QueryReferredFriendActionsResponse, QueryReferringCustomerTotalsOptions, QueryReferringCustomerTotalsResponse, ReferralEvent, ReferralEventCreatedEnvelope, ReferralEventQuery, ReferralEventsQueryBuilder, getReferralEvent, getReferralStatistics, onReferralEventCreated, queryReferralEvent, queryReferredFriendActions, queryReferringCustomerTotals };