import { EventEmitter } from 'events'; import { EventType } from '../types/event-type.js'; import type { EventPayloadMap } from '../types/event-payload-map-type.js'; /** * Typed event bus used to decouple side-effect services (audio, commands, * webhooks, storage) from the core state-machine handlers. */ export declare class EventBusService extends EventEmitter { emit(event: K, payload: EventPayloadMap[K]): boolean; on(event: K, listener: (payload: EventPayloadMap[K]) => void): this; off(event: K, listener: (payload: EventPayloadMap[K]) => void): this; }