import { Checkpoint } from "../checkpointStore.js"; import type { GlobalStoreJSON } from "../globalStore.js"; import type { StateJSON, StateStackJSON } from "../stateStack.js"; /** A stack as a run serializes it, from partial frames. */ export declare function makeStackJSON(frames?: Partial[]): StateStackJSON; export declare function makeGlobalsJSON(store?: Record>): GlobalStoreJSON; export declare const ROOT: string[]; export declare const TOOL: string[]; /** An agent-shaped checkpoint built by hand: a node frame holding the * store's thread `m`, a tool loop holding its newer copy of `m` with * one unanswered call to `search`, and that call's branch, whose own * loop holds a thread `sub` no store serializes and a fork branch * below it. A labelled time guard on the root stack has a clone on the * tool's stack. The root also carries a root cost budget. */ export declare function agentShapedCheckpoint(): Checkpoint;