import type { JsonReadOptions, JsonValue, JsonWriteOptions, MessageType } from "../../index.js"; export declare const protobufPackage = "google.protobuf"; /** * `NullValue` is a singleton enumeration to represent the null value for the * `Value` type union. * * The JSON representation for `NullValue` is JSON `null`. * * @generated from enum google.protobuf.NullValue */ export declare enum NullValue { /** * Null value. * * @generated from enum value: NULL_VALUE = 0; */ NULL_VALUE = 0 } export declare const NullValue_Enum: import("../../enum.js").EnumType; /** * `ListValue` is a wrapper around a repeated field of values. * * The JSON representation for `ListValue` is JSON array. * * @generated from message google.protobuf.ListValue */ export interface ListValue { /** * Repeated field of dynamically typed values. * * @generated from field: repeated google.protobuf.Value values = 1; */ values?: Value[]; } declare const ListValue_Wkt: { toJson(msg: ListValue, options?: Partial): JsonValue; fromJson(json: JsonValue | null | undefined, options?: Partial): ListValue; }; export declare const ListValue: MessageType & typeof ListValue_Wkt; /** * `Value` represents a dynamically typed value which can be either * null, a number, a string, a boolean, a recursive struct value, or a * list of values. A producer of value is expected to set one of these * variants. Absence of any variant indicates an error. * * The JSON representation for `Value` is JSON value. * * @generated from message google.protobuf.Value */ export interface Value { /** * The kind of value. * * @generated from oneof google.protobuf.Value.kind */ kind?: { value?: undefined; case: undefined; } | { /** * Represents a null value. * * @generated from field: google.protobuf.NullValue null_value = 1; */ value: NullValue; case: "nullValue"; } | { /** * Represents a double value. * * @generated from field: double number_value = 2; */ value: number; case: "numberValue"; } | { /** * Represents a string value. * * @generated from field: string string_value = 3; */ value: string; case: "stringValue"; } | { /** * Represents a boolean value. * * @generated from field: bool bool_value = 4; */ value: boolean; case: "boolValue"; } | { /** * Represents a structured value. * * @generated from field: google.protobuf.Struct struct_value = 5; */ value: Struct; case: "structValue"; } | { /** * Represents a repeated `Value`. * * @generated from field: google.protobuf.ListValue list_value = 6; */ value: ListValue; case: "listValue"; }; } declare const Value_Wkt: { toJson(msg: Value, options?: Partial): JsonValue; fromJson(json: JsonValue | null | undefined, _options?: Partial): Value; }; export declare const Value: MessageType & typeof Value_Wkt; /** * `Struct` represents a structured data value, consisting of fields * which map to dynamically typed values. In some languages, `Struct` * might be supported by a native representation. For example, in * scripting languages like JS a struct is represented as an * object. The details of that representation are described together * with the proto support for the language. * * The JSON representation for `Struct` is JSON object. * * @generated from message google.protobuf.Struct */ export interface Struct { /** * Unordered map of dynamically typed values. * * @generated from field: map fields = 1; */ fields?: { [key: string]: Value; }; } declare const Struct_Wkt: { toJson(msg: Struct, options?: Partial): JsonValue; fromJson(json: JsonValue | null | undefined, _options?: Partial): Struct; }; export declare const Struct: MessageType & typeof Struct_Wkt; export {};