import { IRCMessage, IRCMessageData } from "../irc/irc-message.mjs"; import { TwitchBadgesList } from "../badges.mjs"; import { Color } from "../color.mjs"; import { TwitchEmoteSets } from "../parser/emote-sets.mjs"; //#region src/message/twitch-types/globaluserstate.d.ts /** * Global state of the logged in user. */ interface GlobalUserState { badgeInfo: TwitchBadgesList; badgeInfoRaw: string; badges: TwitchBadgesList; badgesRaw: string; color: Color | undefined; colorRaw: string; displayName: string; emoteSets: TwitchEmoteSets; emoteSetsRaw: string; userID: string; } declare class GlobaluserstateMessage extends IRCMessage implements GlobalUserState { readonly badgeInfo: TwitchBadgesList; readonly badgeInfoRaw: string; readonly badges: TwitchBadgesList; readonly badgesRaw: string; readonly color: Color | undefined; readonly colorRaw: string; readonly displayName: string; readonly emoteSets: TwitchEmoteSets; readonly emoteSetsRaw: string; readonly userID: string; /** @deprecated Use {@link userID} instead. */ get userId(): string; constructor(message: IRCMessageData); /** * Extracts a plain object only containing the fields defined by the * {@link GlobalUserState} interface. */ extractGlobalUserState(): GlobalUserState; } //#endregion export { GlobalUserState, GlobaluserstateMessage }; //# sourceMappingURL=globaluserstate.d.mts.map