import type { AutomationEventType, AutomationEventPayloads, AutomationEventHandler } from './types.js'; export declare class AutomationEventBus { private handlers; on(event: E, handler: AutomationEventHandler): void; /** Emit an event — handlers run sequentially, errors are returned (not thrown) */ emit(event: E, payload: AutomationEventPayloads[E]): Promise; /** Check if any handlers are registered for an event */ has(event: AutomationEventType): boolean; removeAll(): void; } //# sourceMappingURL=events.d.ts.map