/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { MachineResult } from "./traversal/result.js"; import type { TraversalResult } from "@breadboard-ai/types"; export declare const replacer: (key: string, value: unknown) => unknown; export declare const reviver: (key: string, value: unknown & { $type?: string; value: Iterable; }) => { $type?: string; value: Iterable; } | Map; export declare const saveRunnerState: (type: string, result: TraversalResult) => string; export declare const loadRunnerState: (s: string) => { state: MachineResult; type: any; }; export declare const cloneState: (result: TraversalResult) => TraversalResult; //# sourceMappingURL=serialization.d.ts.map