/** * VM-compatible workflow mode serialization. * * This module is designed to be bundled into the QuickJS WASM VM. * It has NO Node.js dependencies (no Buffer, no node:util). * * Produces and consumes the same wire format as the Node.js workflow.ts — * format-prefixed devalue data ("devl" + devalue.stringify output). */ /** * Serialize a value to format-prefixed bytes. * * @param value - The value to serialize * @returns Uint8Array with "devl" prefix + devalue payload */ export declare function serialize(value: unknown): Uint8Array; /** * Deserialize format-prefixed bytes back to a value. * * @param data - Uint8Array with format prefix, or legacy non-binary data * @returns The deserialized value */ export declare function deserialize(data: Uint8Array | unknown): unknown; //# sourceMappingURL=workflow-vm.d.ts.map