/** * session-export — format a persisted session for export. * * Two formats: * - `formatJson` — the full SessionData as pretty-printed JSON (lossless, * machine-readable, re-importable). * - `formatTranscript` — a human-readable Markdown transcript rendering each * message with its role, tool-call names/args, and results. * * Both are pure functions over SessionData — no I/O, no deps — so they're * trivially testable. */ import type { SessionData } from '../../../core/types.js'; /** Lossless JSON dump of the full session record. */ export declare function formatJson(session: SessionData): string; /** * Human-readable Markdown transcript. Tool calls within an assistant message * render as sub-sections; standalone role:"tool" results are joined by * toolCallId (the same join the feed-serializer does for the TUI display). */ export declare function formatTranscript(session: SessionData): string;