export declare function jsonText(value: unknown): string;
export declare function jsonBytes(value: unknown): Uint8Array;
export declare function compactJsonText(value: unknown): string;
export declare function compactJsonBytes(value: unknown): Uint8Array;
/**
 * Spell a number the way ECMAScript's `Number::toString` does, which is what
 * `JSON.stringify` writes for a finite one. `String()` is the spec here; the
 * python twin reproduces its layout from `repr`, whose digits agree and whose
 * exponent thresholds and padding do not. A non-finite value has no JSON
 * spelling and renders `null`, as `JSON.stringify` does.
 */
export declare function numberText(value: number): string;
/**
 * Spell a payload value as text, as compact JSON in both languages.
 *
 * A string is itself; anything else renders as compact JSON, so a boolean
 * spells `true` rather than Python's `True`, a number lays out as
 * `numberText` says, and an object or array spells as one JSON literal rather
 * than `[object Object]`, its numbers included. Path labels and group values
 * are built from this, so one collection grows one tree.
 */
export declare function valueText(value: unknown): string;
export declare function jsonlBytes(rows: readonly unknown[]): Uint8Array;
export declare function jsonlBytesByCreatedAt(rows: readonly {
    created_at?: string | null;
}[]): Uint8Array;
//# sourceMappingURL=json.d.ts.map