import type { BinaryReader, BinaryWriter } from './core.js'; /** * Copies protobuf `Value` JSON data to the runtime JavaScript representation. * * Objects and arrays are copied recursively. Primitive values are returned * unchanged. */ export declare function valueFromJSON(o: any): any; /** Copies a runtime protobuf `Value` to JSON-safe objects, arrays, or primitives. */ export declare function valueToJSON(v: any): any; /** * Writes a JavaScript value as a protobuf `Value` message. * * Supported values are `null`, numbers, strings, booleans, arrays, and plain * object-like values. */ export declare function writeValue(writer: BinaryWriter, v: any): void; /** * Reads one length-delimited protobuf `Value` message body. * * When the input contains several oneof alternatives, the last decoded value * wins. Unknown fields are skipped. */ export declare function readValue(reader: BinaryReader, length: number): any; //# sourceMappingURL=values.d.ts.map