import type { Board } from "./model.js"; import type { Op } from "./ops.js"; export declare function toJSON(b: Board): { staves: number; title: string; goal: string | undefined; context: { langfuse?: import("./model.js").LangfuseConnection; agentProgress?: { state: "working" | "partial" | "ready"; summary: string; updatedAt: string; }; purpose?: string; improvement?: string; success?: string; outside?: string; forWhom?: "outside" | "inside" | "me"; shape?: "flow" | "project" | "service"; stakes?: string[]; mustNot?: string; scale?: string; where?: "code" | "people" | "drawn"; notes?: string; words?: string[]; stance?: "as-is" | "to-be"; } | undefined; intent: { primary: "cycle-time" | "labor-hours" | "error-rate" | "cost" | "throughput" | "risk"; target?: string; constraints?: string[]; } | undefined; who: { id: string; name: string; kind: import("./model.js").TrackKind; note: string | undefined; }[]; jobs: { id: string; name: string; who: string; parent: string | undefined; trigger: import("./model.js").Trigger | undefined; outcome: string | undefined; for: string | undefined; doneWhen: string[] | undefined; kind: string | undefined; tools: { name: string; reach: "api" | "mcp" | "screen" | "none"; personal?: boolean; does?: string; limits?: string; }[] | undefined; checks: { rule: string; onFail?: string; }[] | undefined; exits: import("./model.js").Exit[] | undefined; gate: import("./model.js").Gate | undefined; inputs: string[]; outputs: string[]; status: "confirmed" | "draft"; }[]; things: { id: string; name: string; kind: import("./model.js").ArtifactKind; }[]; regions: import("./model.js").Region[]; questions: import("./model.js").Question[]; comments: import("./model.js").Comment[]; }; export declare function fromJSON(d: any): Op[]; /** BPMN 2.0 XML → ops. Tolerant: namespaces vary; we read by local name. */ export declare function fromBPMN(xml: string): Op[];