/** * Convert a row record to CSV. Pure + testable — the CLI's `export --format csv` * delegates here. * * Nested objects/arrays are JSON-encoded (not collapsed to `[object Object]`), * so a product row with a `variants` array round-trips as valid JSON inside the * cell. `null`/`undefined` become empty cells. Values containing a comma, quote, * or newline are quoted with `"` doubled per RFC 4180. */ export declare function csvCell(val: unknown): string; /** Serialize an array of row records to a CSV string (header + rows). */ export declare function toCsv(items: readonly Record[]): string;