import { IRCMessageData } from "../irc/irc-message.mjs"; import { Channel, ChannelIRCMessage } from "../irc/channel-irc-message.mjs"; //#region src/message/twitch-types/roomstate.d.ts interface RoomState { emoteOnly: boolean; emoteOnlyRaw: string; /** * followers-only duration in minutes */ followersOnlyDuration: number; followersOnlyDurationRaw: string; r9k: boolean; r9kRaw: string; slowModeDuration: number; slowModeDurationRaw: string; subscribersOnly: boolean; subscribersOnlyRaw: string; } declare function hasAllStateTags(partialRoomState: Partial): partialRoomState is RoomState; declare class RoomstateMessage extends ChannelIRCMessage { private readonly _channelRoomId; readonly emoteOnly: boolean | undefined; readonly emoteOnlyRaw: string | undefined; readonly followersOnlyDuration: number | undefined; readonly followersOnlyDurationRaw: string | undefined; readonly r9k: boolean | undefined; readonly r9kRaw: string | undefined; readonly slowModeDuration: number | undefined; readonly slowModeDurationRaw: string | undefined; readonly subscribersOnly: boolean | undefined; readonly subscribersOnlyRaw: string | undefined; get channel(): Channel & { readonly id: string; }; /** @deprecated Use {@link channel.id} instead. */ get channelID(): string; constructor(message: IRCMessageData); extractRoomState(): Partial; } //#endregion export { RoomState, RoomstateMessage, hasAllStateTags }; //# sourceMappingURL=roomstate.d.mts.map