/** * snapshotFromEnvelope — pure mapping from an Envelope v2 to a WorkflowSnapshot v1. * * The conductor builds its own lightweight snapshot from the envelope; it does * NOT call compileWorkflowSnapshot (that's a separate concern). */ import type { WorkflowSnapshot } from "@gtrabanco/agentic-workflow-schema"; import type { EnvelopeLike } from "./types.js"; /** * Map an Envelope v2 into a WorkflowSnapshot v1. * Pure function — no I/O, no side effects. */ export declare function snapshotFromEnvelope(env: EnvelopeLike): WorkflowSnapshot;