/** * Step mode serialization. * * Used by the step handler for serializing step return values and * deserializing step arguments. Supports encryption as a composable layer. */ import type { CodecOptions } from './codec.js'; import { type CryptoKey } from './encryption.js'; /** * Serialize a value from the step execution environment. */ export declare function serialize(value: unknown, encryptionKey?: CryptoKey, options?: CodecOptions): Promise; /** * Deserialize a value for the step execution environment. */ export declare function deserialize(data: Uint8Array | unknown, encryptionKey?: CryptoKey, options?: CodecOptions): Promise; //# sourceMappingURL=step.d.ts.map