/** * Client (external) mode serialization. * * Used when starting workflows from the client side (serializing workflow * arguments) and when receiving workflow return values. Supports encryption. */ import type { CodecOptions } from './codec.js'; import { type CryptoKey } from './encryption.js'; /** * Serialize a value from the client environment (e.g. workflow arguments). */ export declare function serialize(value: unknown, encryptionKey?: CryptoKey, options?: CodecOptions): Promise; /** * Deserialize a value for the client environment (e.g. workflow return value). */ export declare function deserialize(data: Uint8Array | unknown, encryptionKey?: CryptoKey, options?: CodecOptions): Promise; //# sourceMappingURL=client.d.ts.map