import type { BreakpointHit } from '../breakpoints/Types'; export type DebugEvent = { type: 'thread-created'; id: string; parentId?: string; taskName: string; status: string; } | { type: 'thread-state-changed'; id: string; status: string; } | { type: 'thread-disposed'; id: string; error?: string; } | { type: 'breakpoint-hit'; hit: BreakpointHit; } | { type: 'breakpoints-changed'; }; export type SequencedDebugEvent = DebugEvent & { sequence: number; }; export type DebugEventListener = (event: SequencedDebugEvent) => void; export interface DebugEvents { readonly sequence: number; emit(event: DebugEvent): void; on(listener: DebugEventListener): () => void; } export declare function createDebugEvents(): DebugEvents;