/** * Serialize application data before sending it to the interpreter. * * JSON.stringify alone can allocate an arbitrarily large intermediate string. * This writer accounts for each piece, refuses cycles and non-JSON values, and * limits nesting. It never installs application objects in the guest realm. * Undefined is supported only as a top-level result, represented out of band. */ export declare function encodeCodeValue(value: unknown, maxBytes: number): string | undefined; //# sourceMappingURL=json-value.d.ts.map