/** * Simple event bus for cross-component communication * From AIU implementation - enables decoupled component communication */ type EventCallback = (data: any) => void; declare class EventBus { private listeners; /** * Subscribe to an event */ on(event: string, callback: EventCallback): void; /** * Unsubscribe from an event */ off(event: string, callback: EventCallback): void; /** * Emit an event to all subscribers */ emit(event: string, data?: any): void; /** * Remove all listeners for an event, or all events if no event specified */ clear(event?: string): void; } export declare const eventBus: EventBus; export {}; //# sourceMappingURL=event-bus.d.ts.map