/// import type { SocketHandle, Status } from './Interfaces.js'; import type { SRWebsocket } from './SRWebsocket.js'; import { EventEmitter } from 'events'; export declare class SREventBus extends EventEmitter implements EventEmitter { _events: { [key in keyof SocketHandle]?: Function[] | Function; }; SRWebsocket: SRWebsocket; status: Status; constructor(SRWebsocket: SRWebsocket); emit(type: T, context: SocketHandle[T]): boolean; post_types: string[]; parseMessage(json: any): boolean; message(json: any): boolean; notice(json: any): boolean; request(json: any): boolean; meta_event(json: any): boolean; message_sent(json: any): boolean; }