import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { FollowedChannel, ListFollowedChannelsResponse, FollowedChannelCreatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, CreateFollowedChannelRequest, CreateFollowedChannelResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, IdentificationData, IdentificationDataIdOneOf, ListFollowedChannelsRequest, MessageEnvelope, RestoreInfo, Type, TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function createFollowedChannel$1(httpClient: HttpClient): CreateFollowedChannelSignature; interface CreateFollowedChannelSignature { /** * Creates an entity for the specified account ID when the account follows a social media channel. * * Members can only follow enabled channels. A Wix user has to enable channels in the dashboard. * * >**Note:** * >This method requires [visitor or member authentication](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities). * @param - Followed social media channel details. * @returns Followed social media channel details. */ (followedChannel: NonNullablePaths): Promise>; } declare function listFollowedChannels$1(httpClient: HttpClient): ListFollowedChannelsSignature; interface ListFollowedChannelsSignature { /** * Retrieves a list of social media channels followed by the account. The list is ordered by creation date. * * >**Note:** * >This method requires [visitor or member authentication](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities). */ (): Promise>; } declare const onFollowedChannelCreated$1: EventDefinition; declare const createFollowedChannel: MaybeContext & typeof createFollowedChannel$1>; declare const listFollowedChannels: MaybeContext & typeof listFollowedChannels$1>; /** * Triggered when an account follows a new channel. */ declare const onFollowedChannelCreated: BuildEventDefinition & typeof onFollowedChannelCreated$1; export { FollowedChannel, FollowedChannelCreatedEnvelope, ListFollowedChannelsResponse, createFollowedChannel, listFollowedChannels, onFollowedChannelCreated };