import type { RestoreOptions } from "./errors.js"; import type { Checkpoint } from "./state/checkpointStore.js"; /** * Capture a checkpoint of the current execution state. The source * location attached to the checkpoint (`moduleId` / `scopeName` / * `stepPath`) is read from the active `agencyStore` frame's * `callsite` slot, which `Runner.runInScope` seeds for every step * body. Calls made outside a runner step (e.g. from bootstrap scope) * fall back to the empty `""::""::""` location. */ export declare function checkpoint(): Promise; export declare function getCheckpoint(checkpointId: number): Checkpoint; export declare function restore(checkpointIdOrCheckpoint: number | Checkpoint, options: RestoreOptions): void;