export declare const PAYLOAD_MAGIC: Buffer; export declare const PAYLOAD_ENVELOPE_VERSION = 1; export declare const PAYLOAD_CODEC_NAME = "memoflow-portable-json"; export declare const PAYLOAD_CODEC_VERSION = 1; export declare const PAYLOAD_CONTENT_TYPE = "application/vnd.memoflow.portable-json.v1+json"; export declare const MAX_PAYLOAD_BODY_BYTES: number; export declare const MAX_PAYLOAD_METADATA_BYTES: number; export declare const MAX_PAYLOAD_METADATA_ENTRIES = 32; export declare const PORTABLE_UNDEFINED: unique symbol; export declare function encodePortablePayload(value: unknown, metadata?: Record): Buffer; export declare function isPortableEnvelope(bytes: Buffer | Uint8Array): boolean; export declare function decodePortablePayload(bytes: Buffer | Uint8Array): unknown;