import type { MessageType } from "../../index.js"; import { Any } from "./any.pb.js"; import { SourceContext } from "./source_context.pb.js"; export declare const protobufPackage = "google.protobuf"; /** * The syntax in which a protocol buffer element is defined. * * @generated from enum google.protobuf.Syntax */ export declare enum Syntax { /** * Syntax `proto2`. * * @generated from enum value: SYNTAX_PROTO2 = 0; */ PROTO2 = 0, /** * Syntax `proto3`. * * @generated from enum value: SYNTAX_PROTO3 = 1; */ PROTO3 = 1, /** * Syntax `editions`. * * @generated from enum value: SYNTAX_EDITIONS = 2; */ EDITIONS = 2 } export declare const Syntax_Enum: import("../../enum.js").EnumType; /** * Basic field types. * * @generated from enum google.protobuf.Field.Kind */ export declare enum Field_Kind { /** * Field type unknown. * * @generated from enum value: TYPE_UNKNOWN = 0; */ TYPE_UNKNOWN = 0, /** * Field type double. * * @generated from enum value: TYPE_DOUBLE = 1; */ TYPE_DOUBLE = 1, /** * Field type float. * * @generated from enum value: TYPE_FLOAT = 2; */ TYPE_FLOAT = 2, /** * Field type int64. * * @generated from enum value: TYPE_INT64 = 3; */ TYPE_INT64 = 3, /** * Field type uint64. * * @generated from enum value: TYPE_UINT64 = 4; */ TYPE_UINT64 = 4, /** * Field type int32. * * @generated from enum value: TYPE_INT32 = 5; */ TYPE_INT32 = 5, /** * Field type fixed64. * * @generated from enum value: TYPE_FIXED64 = 6; */ TYPE_FIXED64 = 6, /** * Field type fixed32. * * @generated from enum value: TYPE_FIXED32 = 7; */ TYPE_FIXED32 = 7, /** * Field type bool. * * @generated from enum value: TYPE_BOOL = 8; */ TYPE_BOOL = 8, /** * Field type string. * * @generated from enum value: TYPE_STRING = 9; */ TYPE_STRING = 9, /** * Field type group. Proto2 syntax only, and deprecated. * * @generated from enum value: TYPE_GROUP = 10; */ TYPE_GROUP = 10, /** * Field type message. * * @generated from enum value: TYPE_MESSAGE = 11; */ TYPE_MESSAGE = 11, /** * Field type bytes. * * @generated from enum value: TYPE_BYTES = 12; */ TYPE_BYTES = 12, /** * Field type uint32. * * @generated from enum value: TYPE_UINT32 = 13; */ TYPE_UINT32 = 13, /** * Field type enum. * * @generated from enum value: TYPE_ENUM = 14; */ TYPE_ENUM = 14, /** * Field type sfixed32. * * @generated from enum value: TYPE_SFIXED32 = 15; */ TYPE_SFIXED32 = 15, /** * Field type sfixed64. * * @generated from enum value: TYPE_SFIXED64 = 16; */ TYPE_SFIXED64 = 16, /** * Field type sint32. * * @generated from enum value: TYPE_SINT32 = 17; */ TYPE_SINT32 = 17, /** * Field type sint64. * * @generated from enum value: TYPE_SINT64 = 18; */ TYPE_SINT64 = 18 } export declare const Field_Kind_Enum: import("../../enum.js").EnumType; /** * Whether a field is optional, required, or repeated. * * @generated from enum google.protobuf.Field.Cardinality */ export declare enum Field_Cardinality { /** * For fields with unknown cardinality. * * @generated from enum value: CARDINALITY_UNKNOWN = 0; */ UNKNOWN = 0, /** * For optional fields. * * @generated from enum value: CARDINALITY_OPTIONAL = 1; */ OPTIONAL = 1, /** * For required fields. Proto2 syntax only. * * @generated from enum value: CARDINALITY_REQUIRED = 2; */ REQUIRED = 2, /** * For repeated fields. * * @generated from enum value: CARDINALITY_REPEATED = 3; */ REPEATED = 3 } export declare const Field_Cardinality_Enum: import("../../enum.js").EnumType; /** * A protocol buffer option, which can be attached to a message, field, * enumeration, etc. * * @generated from message google.protobuf.Option */ export interface Option { /** * The option's name. For protobuf built-in options (options defined in * descriptor.proto), this is the short name. For example, `"map_entry"`. * For custom options, it should be the fully-qualified name. For example, * `"google.api.http"`. * * @generated from field: string name = 1; */ name?: string; /** * The option's value packed in an Any message. If the value is a primitive, * the corresponding wrapper type defined in google/protobuf/wrappers.proto * should be used. If the value is an enum, it should be stored as an int32 * value using the google.protobuf.Int32Value type. * * @generated from field: google.protobuf.Any value = 2; */ value?: Any; } export declare const Option: MessageType