import Base from '../Base'; import type Party from '../structures/party/Party'; import type ClientParty from '../structures/party/ClientParty'; import type { EOSPresencePropsInGame, PresenceOnlineType } from '../../resources/structs'; /** * Represents the client's EOS Connect STOMP manager (i.e. chat messages) */ declare class STOMP extends Base { private connection?; connectionId?: string; publicConnectionId?: string; privateConnectionId?: string; private publicSubscriptionId?; private privateSubscriptionId?; private pingInterval?; private reconnectTimer?; private reconnecting; private lifecycle; private cancelConnect?; private cancelPartyRestore?; private partyEventQueue; private handledMessages; get isConnected(): boolean; /** * Connects to EOS Connect and waits for initialization. */ connect(): Promise; private openConnection; private reconnect; private registerEvents; private subscribeEAS; private static isEOSConnectMessage; private static isAuthenticationErrorFrame; private handleFriendMessage; private handleChatMembersJoin; private handleChatMessage; private handlePresence; private restoreParty; private runPartyTransition; private getCurrentParty; private handlePartyMemberJoined; private handlePartyMemberRemoved; private handlePartyUpdated; private handlePartyKicked; private handlePartyInvite; private handlePartyJoinRequest; /** * Updates public EOS presence for the current connection. * @param activityValue The activity text * @param props The presence properties * @param onlineType The online status */ patchPresence(activityValue: string, props: EOSPresencePropsInGame, onlineType?: PresenceOnlineType): Promise; /** * Updates private EOS presence with the party's join information. * @param onlineType The presence's online type (e.g. "online" or "away") * @param party The party to advertise, or undefined to clear party information */ patchInternalPresence(onlineType: PresenceOnlineType, party?: Party | ClientParty): Promise; disconnect(): void; private clearConnection; private sendMessage; } export default STOMP;