export type LoopEventName = "attempt.started" | "worker.spawned" | "worker.idle" | "verify.done" | "rollover" | "loop.done" | "loop.max_attempts" | "loop.paused" | "loop.resumed" | "loop.stopped" | "loop.error" | "worker.question"; export type LoopEventPayload = { sessionId: string; attempt?: number; workerSessionId?: string; verdict?: string; details?: string; reason?: string; questionId?: string; question?: string; error?: string; }; export type LoopEventHandler = (payload: LoopEventPayload) => void; export declare class LoopEventBus { private readonly handlers; on(event: LoopEventName, handler: LoopEventHandler): () => void; emit(event: LoopEventName, payload: LoopEventPayload): void; } //# sourceMappingURL=loop-events.d.ts.map