/** * Serialize JavaScript runtime values back to Elo code representation. * * This is useful for displaying execution results in a readable Elo-native format. */ /** * Convert a JavaScript runtime value to its Elo code representation. * * @param value - The JavaScript value to serialize * @returns A string containing the Elo code representation * * @example * toEloCode(null) // => "null" * toEloCode(true) // => "true" * toEloCode(42) // => "42" * toEloCode(3.14) // => "3.14" * toEloCode('hello') // => "'hello'" * toEloCode([1, 2, 3]) // => "[1, 2, 3]" * toEloCode({name: 'Alice'}) // => "{name: 'Alice'}" * // DateTime objects render as D-prefixed ISO strings * // Duration objects render as ISO duration strings */ export declare function toEloCode(value: unknown): string; //# sourceMappingURL=serialize.d.ts.map