import type { LruBlobStore } from "./blob-store.js"; /** * Serialize one event to a single wire-format JSON line (no trailing newline). * When `blobStore` is given, byte buffers in the payload are offloaded to it and * replaced by pointers; otherwise they degrade to `[Bytes n]` markers. */ export declare function serializeEvent(event: string, payload?: unknown, metadata?: Record, blobStore?: LruBlobStore): string; /** * Serialize one stdout/stderr line to a wire-format `log` frame (no trailing * newline). Log lines are plain text, so unlike {@link serializeEvent} there is * no payload to reduce — the line travels verbatim, ANSI escapes intact. */ export declare function serializeLog(stream: "stdout" | "stderr", line: string): string; //# sourceMappingURL=debug-serialize.d.ts.map