/** @hidden */
export declare const createEventEmitter: () => import("mitt").Emitter<Amity.Events>;
export declare const proxyMqttEvents: (mqttClient: Amity.Client['mqtt'], emitter: Amity.Client['emitter']) => void;
/**
 * Standardize the subscription of SSE through web sockets
 *
 * @param client The current client for which to subscribe the event to
 * @param namespace A unique name for the logger
 * @param event The websocket event name
 * @param fn A wrapper for the callback.
 * @returns A dispose function to unsubscribe to the event
 *
 * @category Transport
 * @hidden
 */
export declare const createEventSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: Amity.Listener<Amity.Events[T], any>) => Amity.Unsubscriber;
export declare const createMqttMessageSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: (params: Record<string, unknown>) => void) => Amity.Unsubscriber;
/**
 * Wrapper around dispatch event
 *
 * @hidden
 */
export declare const fireEvent: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "user.didBlock" | "user.didUnblock" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantJoined" | "room.participantLeft" | "room.participantStageJoined" | "room.participantStageLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "room.didUpdate" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel.archived" | "local.channel.unarchived" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "local.room.didUpdate" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "visitorUsageLimitReached" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(event: T, payload: Amity.Events[T]) => void;
//# sourceMappingURL=events.d.ts.map