import type { Run } from "./spec.ts"; export interface Flow { /** The event that started it: an action, the first of a run of spawns, or a fault on nothing (a crash). */ start: number; kind: "action" | "spawn" | "fault"; /** Every event of the flow, by index into the run's events, in order. */ events: number[]; } /** The flows of a run, in the order they started. */ export declare function flowsOf(run: Run): Flow[];