/** * Lossless compaction of data dumps: JSON (including pretty JSON cut mid-value) and Python reprs as `key: value` * lines and `(N rows) a|b|c` tables, CSV quotes stripped, fixed-width padding collapsed. Every transform applies only * where it makes the text shorter. */ /** * Every JSON / Python-literal block of `text` densified: multi-line JSON blocks over 300 chars, runs of 3+ one-line * flat dicts, one-line JSON or reprs on lines over 300 chars. `strict` (file reads) converts only multi-line JSON. */ export declare function densify(text: string, strict: boolean): { text: string; blocks: number; }; /** * The lossless view of an output: truncated JSON salvaged, JSON/reprs densified, CSV quotes stripped, fixed-width * padding to `|` (when it saves ≥ 20% of the block and > 100 chars), numeric-array padding to one space (> 100 chars). */ export declare function losslessView(output: string): string;