/**
 * Domain Run status enum. See session-hierarchy.md §4.6 + §5.2 state machine.
 *
 * Distinct from the wire-side {@link WireRunStatus} in `contracts/api.ts`,
 * which maps these states onto HTTP payload shapes (`completed` /
 * `cancelling` / `expired`). Keep this enum purely the domain surface; any
 * consumer that needs the HTTP representation should translate at the bridge
 * boundary.
 *
 * Variants:
 *  - `queued` — run created, not yet started.
 *  - `running` — iteration loop in flight.
 *  - `awaiting_hitl` — synchronous-wait on a HITL gate (user present).
 *  - `awaiting_hitl_resolution` — persisted-wait after a HITL timeout under
 *    `HITLConfig.onTimeout = 'pause_run_until_resolved'`. User absent; Run
 *    persists until resolved or cancelled (permission-policies.md §13.3).
 *  - `awaiting_subsession` — parent Run has delegated to a child SubSession
 *    and is suspended until the Materializer seals the child's summary.
 *    Session-level fan-in treats this as `active` (delegation in flight
 *    means the parent IS active). See session-hierarchy.md §5.1.
 *  - `succeeded` — terminal, run completed without error.
 *  - `failed` — terminal, run errored out.
 *  - `cancelled` — terminal, explicitly cancelled.
 */
export type RunStatus = 'queued' | 'running' | 'awaiting_hitl' | 'awaiting_hitl_resolution' | 'awaiting_subsession' | 'succeeded' | 'failed' | 'cancelled';
//# sourceMappingURL=status.d.ts.map