import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { GetReferralProgramResponse, BulkGetReferralProgramResponse, ReferralProgram, UpdateReferralProgramResponse, ActivateReferralProgramResponse, PauseReferralProgramResponse, GetAiSocialMediaPostsSuggestionsOptions, GetAISocialMediaPostsSuggestionsResponse, GenerateAiSocialMediaPostsSuggestionsOptions, GenerateAISocialMediaPostsSuggestionsResponse, GetReferralProgramPremiumFeaturesResponse, ProgramUpdatedEnvelope } from './index.typings.js'; export { AISocialMediaPostSuggestion, AccountInfo, AccountInfoMetadata, Action, ActionEvent, ActionWithLiterals, ActivateReferralProgramRequest, App, AppWithLiterals, BaseEventMetadata, BillingReference, BulkGetReferralProgramRequest, CancellationDetails, ContractSwitchReason, ContractSwitchReasonWithLiterals, ContractSwitchType, ContractSwitchTypeWithLiterals, ContractSwitched, Coupon, CouponDiscountTypeOptionsOneOf, CouponScope, CouponScopeOrMinSubtotalOneOf, Cycle, CycleCycleSelectorOneOf, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Emails, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FixedAmountDiscount, GenerateAISocialMediaPostsSuggestionsRequest, GetAISocialMediaPostsSuggestionsRequest, GetReferralProgramPremiumFeaturesRequest, GetReferralProgramRequest, Group, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, Initiator, InitiatorWithLiterals, Interval, IntervalUnit, IntervalUnitWithLiterals, LoyaltyPoints, MessageEnvelope, OneTime, Page, PauseReferralProgramRequest, PercentageDiscount, PremiumFeatures, PriceIncreaseTrigger, PriceIncreaseTriggerWithLiterals, ProductAdjustment, ProductAdjustmentWithLiterals, ProductPriceIncreaseData, ProgramInSite, ProgramStatus, ProgramStatusWithLiterals, ProviderName, ProviderNameWithLiterals, ReactivationData, ReactivationReasonEnum, ReactivationReasonEnumWithLiterals, RecurringChargeAttemptFailed, RecurringChargeSucceeded, ReferralAppInstallation, RefundType, RefundTypeWithLiterals, RestoreInfo, Reward, RewardOptionsOneOf, RewardType, RewardTypeWithLiterals, Subscription, SubscriptionAssigned, SubscriptionAutoRenewTurnedOff, SubscriptionAutoRenewTurnedOn, SubscriptionCancelled, SubscriptionCreated, SubscriptionEvent, SubscriptionEventEventOneOf, SubscriptionNearEndOfPeriod, SubscriptionPendingChange, SubscriptionStatus, SubscriptionStatusWithLiterals, SubscriptionTransferred, SubscriptionUnassigned, Type, TypeWithLiterals, UnassignReason, UnassignReasonWithLiterals, UpdateReferralProgramRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function getReferralProgram$1(httpClient: HttpClient): GetReferralProgramSignature; interface GetReferralProgramSignature { /** * Retrieves the referral program. */ (): Promise>; } /** @internal */ declare function bulkGetReferralProgram$1(httpClient: HttpClient): BulkGetReferralProgramSignature; interface BulkGetReferralProgramSignature { /** * Retrieves multiple referral programs for all metasites that the caller is the member of. * * Must be called with a [user identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities#identity-types). */ (): Promise>; } declare function updateReferralProgram$1(httpClient: HttpClient): UpdateReferralProgramSignature; interface UpdateReferralProgramSignature { /** * Updates a referral program. Supports partial updates. * * Revision number, which increments by 1 each time the referral program is updated. * To prevent conflicting changes, the current revision must be passed when updating the referral program. * @param - Referral program to update. Include the latest `revision` for a successful update. */ (referralProgram: NonNullablePaths): Promise>; } declare function activateReferralProgram$1(httpClient: HttpClient): ActivateReferralProgramSignature; interface ActivateReferralProgramSignature { /** * Activates the referral program, changing its status to `ACTIVE`. */ (): Promise>; } declare function pauseReferralProgram$1(httpClient: HttpClient): PauseReferralProgramSignature; interface PauseReferralProgramSignature { /** * Pauses the referral program, changing its status to `PAUSED`. */ (): Promise>; } declare function getAiSocialMediaPostsSuggestions$1(httpClient: HttpClient): GetAiSocialMediaPostsSuggestionsSignature; interface GetAiSocialMediaPostsSuggestionsSignature { /** * Retrieves pre-generated AI social media post suggestions for promoting the referral program. * * This method returns a list of AI-generated social media post suggestions that site owners or members can use to promote the referral program. You can display these suggestions to allow referring customers to easily copy and share them on their preferred social media platforms. * * >**Note**: This method retrieves existing suggestions. To generate new ones, * use Generate AI Social Media Posts Suggestions. */ (options?: GetAiSocialMediaPostsSuggestionsOptions): Promise>; } declare function generateAiSocialMediaPostsSuggestions$1(httpClient: HttpClient): GenerateAiSocialMediaPostsSuggestionsSignature; interface GenerateAiSocialMediaPostsSuggestionsSignature { /** * Creates new AI-generated social media post suggestions for promoting the referral program. * * This method generates new AI-powered social media post suggestions for promoting the referral program. Use it to refresh content or create alternatives to existing suggestions. * * >**Note**: This method generates new suggestions each time it's called. To retrieve existing suggestions without generating new ones, use Get AI Social Media Posts Suggestions. */ (options?: GenerateAiSocialMediaPostsSuggestionsOptions): Promise>; } declare function getReferralProgramPremiumFeatures$1(httpClient: HttpClient): GetReferralProgramPremiumFeaturesSignature; interface GetReferralProgramPremiumFeaturesSignature { /** * Retrieves information about the enabled premium features for the referral program. */ (): Promise>; } declare const onProgramUpdated$1: EventDefinition; declare const getReferralProgram: MaybeContext & typeof getReferralProgram$1>; /** @internal */ declare const bulkGetReferralProgram: MaybeContext & typeof bulkGetReferralProgram$1>; declare const updateReferralProgram: MaybeContext & typeof updateReferralProgram$1>; declare const activateReferralProgram: MaybeContext & typeof activateReferralProgram$1>; declare const pauseReferralProgram: MaybeContext & typeof pauseReferralProgram$1>; declare const getAiSocialMediaPostsSuggestions: MaybeContext & typeof getAiSocialMediaPostsSuggestions$1>; declare const generateAiSocialMediaPostsSuggestions: MaybeContext & typeof generateAiSocialMediaPostsSuggestions$1>; declare const getReferralProgramPremiumFeatures: MaybeContext & typeof getReferralProgramPremiumFeatures$1>; /** * Triggered when a referral program is updated. */ declare const onProgramUpdated: BuildEventDefinition & typeof onProgramUpdated$1; export { ActivateReferralProgramResponse, BulkGetReferralProgramResponse, GenerateAISocialMediaPostsSuggestionsResponse, GenerateAiSocialMediaPostsSuggestionsOptions, GetAISocialMediaPostsSuggestionsResponse, GetAiSocialMediaPostsSuggestionsOptions, GetReferralProgramPremiumFeaturesResponse, GetReferralProgramResponse, PauseReferralProgramResponse, ProgramUpdatedEnvelope, ReferralProgram, UpdateReferralProgramResponse, activateReferralProgram, bulkGetReferralProgram, generateAiSocialMediaPostsSuggestions, getAiSocialMediaPostsSuggestions, getReferralProgram, getReferralProgramPremiumFeatures, onProgramUpdated, pauseReferralProgram, updateReferralProgram };