import { Log } from "@holz/core"; /** * Converts a log to a JSON-serializable object. * Keys ordered to make visually skimming a log file easier. */ export declare const toJSON: (log: Log) => Record; /** * Best-effort attempt at converting `Error` instances to serializable JSON. * * These are among the most important logs, but the default behavior produces * an empty object. * * This is NOT a lossless conversion. Values are too dynamic, especially * considering custom errors. But it should handle the vast majority. */ export declare const errorToJSON: (error: Error) => Record;