eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
17 lines • 778 B
TypeScript
/**
* 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<Uint8Array | unknown>;
/**
* Deserialize a value for the client environment (e.g. workflow return value).
*/
export declare function deserialize(data: Uint8Array | unknown, encryptionKey?: CryptoKey, options?: CodecOptions): Promise<unknown>;
//# sourceMappingURL=client.d.ts.map