import type { EffectMessage } from './effect-message' import type { EntryEffect } from './entry-effect' import type { Gift } from './gift' import type { Interaction } from './interaction' import type { LikeClick } from './like-click' import type { LikesUpdate } from './likes-update' import type { LiveCutoff } from './live-cutoff' import type { LiveEnd, Preparing } from './live-end' import type { Live, LiveStart } from './live-start' import type { LiveWarning } from './live-warning' import type { LotteryResult } from './lottery-result' import type { LotteryStart } from './lottery-start' import type { Message } from './message' import type { RecallDanmaku } from './message-recall' import type { ModAssign } from './mod-assign' import type { ModList } from './mod-list' import type { ModRevoke } from './mod-revoke' import type { Mvp } from './mvp' import type { Notice } from './notice' import type { OnlineRankUpdate } from './online-rank-update' import type { OnlineUpdate } from './online-update' import type { RedEnvelopeResult } from './red-envelope-result' import type { RedEnvelopeStart } from './red-envelope-start' import type { RoomMetaUpdate } from './room-meta-update' import type { RoomMuteOff } from './room-mute-off' import type { RoomMuteOn } from './room-mute-on' import type { RoomNameUpdate } from './room-name-update' import type { SuperChat } from './superchat' import type { SuperChatDelete } from './superchat-delete' import type { System } from './system' import type { Toast } from './toast' import type { UserBlock } from './user-block' import type { WatchedUpdate } from './watched-update' // Protobuf types reachable from OnlineRankUpdate['list'], exported so TypeDoc can document them export type { OnlineRankV3, OnlineRankV3_OnlineList, OnlineRankV3_OnlineList_UInfo, OnlineRankV3_OnlineList_UInfo_Base, OnlineRankV3_OnlineList_UInfo_Guard, } from './protobuf' // Re-export all individual event types export * from './effect-message' export * from './entry-effect' export * from './gift' export * from './interaction' export * from './like-click' export * from './likes-update' export * from './live-cutoff' export * from './live-end' export * from './live-start' export * from './live-warning' export * from './lottery-result' export * from './lottery-start' export * from './message' export * from './message-recall' export * from './mod-assign' export * from './mod-list' export * from './mod-revoke' export * from './mvp' export * from './notice' export * from './online-rank-update' export * from './online-update' export * from './red-envelope-result' export * from './red-envelope-start' export * from './room-meta-update' export * from './room-mute-off' export * from './room-mute-on' export * from './room-name-update' export * from './superchat' export * from './superchat-delete' export * from './system' export * from './toast' export * from './user-block' export * from './watched-update' /** * General event parsed from bilibili WebSocket raw data * Use a custom name instead of `Event` to avoid confusion with Node.js Event * */ export type LaplaceEventGeneralGifts = Toast | Gift | SuperChat | Mvp | RedEnvelopeStart export type LaplaceEvent = | LaplaceEventGeneralGifts | System | Interaction | EntryEffect | Message | SuperChatDelete | UserBlock | LiveWarning | LiveCutoff | LikeClick | RedEnvelopeResult | LotteryStart | LotteryResult | RoomNameUpdate | RoomMuteOn | RoomMuteOff | WatchedUpdate | LikesUpdate | OnlineUpdate | LiveStart | LiveEnd | Live | Preparing | Notice | EffectMessage | OnlineRankUpdate | RecallDanmaku | RoomMetaUpdate | ModAssign | ModRevoke | ModList export type LaplaceEventTypes = LaplaceEvent['type']