import type { WalkTree } from "./renderer.js"; import { type TreeNode, type UIPayload } from "../../core/index.js"; /** One node's props, converted. Exported for the interactive swap: a tree the * screen VM produced enters the walk the same way the served payload did * (use-screen.ts). */ export declare const convertNode: (node: TreeNode) => TreeNode; export type ConvertedPayload = { ok: true; tree: WalkTree; } | { ok: false; error: { code: "version" | "provision"; message: string; }; }; export declare function convertPayload(payload: UIPayload): ConvertedPayload;