import type { AutopilotEvent, AutopilotEventName } from '../../types/index.js';
type EventHandler = (event: AutopilotEvent) => void | Promise<void>;
export declare function onAutopilotEvent(name: AutopilotEventName, handler: EventHandler): void;
export declare function emitAutopilotEvent(event: AutopilotEvent): void;
/** Clears all handlers — used in tests */
export declare function clearAutopilotHandlers(): void;
export {};
//# sourceMappingURL=event-bus.d.ts.map