import type { TraceEvent } from '../types'; export type Reporter = { flushAll: () => Promise | void; report: (event: TraceEvent) => void; };