import type { ContextData } from "@boardwalk-labs/workflow/runtime"; import type { Run } from "./wire/run.js"; /** The claim-payload siblings of the run row that feed `context` (P3.7). Fields are optional so * an older backend's claim (predating them) degrades to the logged fallbacks. */ export interface ClaimContextExtras { workflowVersion?: number | null; environment?: { id: string; name: string; } | null; } /** Build the bootstrap `context` data for a claimed run. Pure; fallbacks are logged, never thrown. */ export declare function buildContextData(run: Run, workspaceRoot: string, extras?: ClaimContextExtras): ContextData;