import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto2 } from "@bufbuild/protobuf"; export declare class FileDescriptorSet extends Message { file: FileDescriptorProto[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.FileDescriptorSet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileDescriptorSet; static fromJson(jsonValue: JsonValue, options?: Partial): FileDescriptorSet; static fromJsonString(jsonString: string, options?: Partial): FileDescriptorSet; static equals(a: FileDescriptorSet | PlainMessage | undefined, b: FileDescriptorSet | PlainMessage | undefined): boolean; } export declare class FileDescriptorProto extends Message { name?: string; package?: string; dependency: string[]; publicDependency: number[]; weakDependency: number[]; messageType: DescriptorProto[]; enumType: EnumDescriptorProto[]; service: ServiceDescriptorProto[]; extension: FieldDescriptorProto[]; options?: FileOptions; sourceCodeInfo?: SourceCodeInfo; syntax?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.FileDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): FileDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): FileDescriptorProto; static equals(a: FileDescriptorProto | PlainMessage | undefined, b: FileDescriptorProto | PlainMessage | undefined): boolean; } export declare class DescriptorProto extends Message { name?: string; field: FieldDescriptorProto[]; extension: FieldDescriptorProto[]; nestedType: DescriptorProto[]; enumType: EnumDescriptorProto[]; extensionRange: DescriptorProto_ExtensionRange[]; oneofDecl: OneofDescriptorProto[]; options?: MessageOptions; reservedRange: DescriptorProto_ReservedRange[]; reservedName: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.DescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): DescriptorProto; static fromJsonString(jsonString: string, options?: Partial): DescriptorProto; static equals(a: DescriptorProto | PlainMessage | undefined, b: DescriptorProto | PlainMessage | undefined): boolean; } export declare class DescriptorProto_ExtensionRange extends Message { start?: number; end?: number; options?: ExtensionRangeOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.DescriptorProto.ExtensionRange"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DescriptorProto_ExtensionRange; static fromJson(jsonValue: JsonValue, options?: Partial): DescriptorProto_ExtensionRange; static fromJsonString(jsonString: string, options?: Partial): DescriptorProto_ExtensionRange; static equals(a: DescriptorProto_ExtensionRange | PlainMessage | undefined, b: DescriptorProto_ExtensionRange | PlainMessage | undefined): boolean; } export declare class DescriptorProto_ReservedRange extends Message { start?: number; end?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.DescriptorProto.ReservedRange"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DescriptorProto_ReservedRange; static fromJson(jsonValue: JsonValue, options?: Partial): DescriptorProto_ReservedRange; static fromJsonString(jsonString: string, options?: Partial): DescriptorProto_ReservedRange; static equals(a: DescriptorProto_ReservedRange | PlainMessage | undefined, b: DescriptorProto_ReservedRange | PlainMessage | undefined): boolean; } export declare class ExtensionRangeOptions extends Message { uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.ExtensionRangeOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ExtensionRangeOptions; static fromJson(jsonValue: JsonValue, options?: Partial): ExtensionRangeOptions; static fromJsonString(jsonString: string, options?: Partial): ExtensionRangeOptions; static equals(a: ExtensionRangeOptions | PlainMessage | undefined, b: ExtensionRangeOptions | PlainMessage | undefined): boolean; } export declare class FieldDescriptorProto extends Message { name?: string; number?: number; label?: FieldDescriptorProto_Label; type?: FieldDescriptorProto_Type; typeName?: string; extendee?: string; defaultValue?: string; oneofIndex?: number; jsonName?: string; options?: FieldOptions; proto3Optional?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.FieldDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FieldDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): FieldDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): FieldDescriptorProto; static equals(a: FieldDescriptorProto | PlainMessage | undefined, b: FieldDescriptorProto | PlainMessage | undefined): boolean; } export declare enum FieldDescriptorProto_Type { DOUBLE = 1, FLOAT = 2, INT64 = 3, UINT64 = 4, INT32 = 5, FIXED64 = 6, FIXED32 = 7, BOOL = 8, STRING = 9, GROUP = 10, MESSAGE = 11, BYTES = 12, UINT32 = 13, ENUM = 14, SFIXED32 = 15, SFIXED64 = 16, SINT32 = 17, SINT64 = 18 } export declare enum FieldDescriptorProto_Label { OPTIONAL = 1, REQUIRED = 2, REPEATED = 3 } export declare class OneofDescriptorProto extends Message { name?: string; options?: OneofOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.OneofDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OneofDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): OneofDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): OneofDescriptorProto; static equals(a: OneofDescriptorProto | PlainMessage | undefined, b: OneofDescriptorProto | PlainMessage | undefined): boolean; } export declare class EnumDescriptorProto extends Message { name?: string; value: EnumValueDescriptorProto[]; options?: EnumOptions; reservedRange: EnumDescriptorProto_EnumReservedRange[]; reservedName: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.EnumDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EnumDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): EnumDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): EnumDescriptorProto; static equals(a: EnumDescriptorProto | PlainMessage | undefined, b: EnumDescriptorProto | PlainMessage | undefined): boolean; } export declare class EnumDescriptorProto_EnumReservedRange extends Message { start?: number; end?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.EnumDescriptorProto.EnumReservedRange"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EnumDescriptorProto_EnumReservedRange; static fromJson(jsonValue: JsonValue, options?: Partial): EnumDescriptorProto_EnumReservedRange; static fromJsonString(jsonString: string, options?: Partial): EnumDescriptorProto_EnumReservedRange; static equals(a: EnumDescriptorProto_EnumReservedRange | PlainMessage | undefined, b: EnumDescriptorProto_EnumReservedRange | PlainMessage | undefined): boolean; } export declare class EnumValueDescriptorProto extends Message { name?: string; number?: number; options?: EnumValueOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.EnumValueDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EnumValueDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): EnumValueDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): EnumValueDescriptorProto; static equals(a: EnumValueDescriptorProto | PlainMessage | undefined, b: EnumValueDescriptorProto | PlainMessage | undefined): boolean; } export declare class ServiceDescriptorProto extends Message { name?: string; method: MethodDescriptorProto[]; options?: ServiceOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.ServiceDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ServiceDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): ServiceDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): ServiceDescriptorProto; static equals(a: ServiceDescriptorProto | PlainMessage | undefined, b: ServiceDescriptorProto | PlainMessage | undefined): boolean; } export declare class MethodDescriptorProto extends Message { name?: string; inputType?: string; outputType?: string; options?: MethodOptions; clientStreaming?: boolean; serverStreaming?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.MethodDescriptorProto"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MethodDescriptorProto; static fromJson(jsonValue: JsonValue, options?: Partial): MethodDescriptorProto; static fromJsonString(jsonString: string, options?: Partial): MethodDescriptorProto; static equals(a: MethodDescriptorProto | PlainMessage | undefined, b: MethodDescriptorProto | PlainMessage | undefined): boolean; } export declare class FileOptions extends Message { javaPackage?: string; javaOuterClassname?: string; javaMultipleFiles?: boolean; javaGenerateEqualsAndHash?: boolean; javaStringCheckUtf8?: boolean; optimizeFor?: FileOptions_OptimizeMode; goPackage?: string; ccGenericServices?: boolean; javaGenericServices?: boolean; pyGenericServices?: boolean; phpGenericServices?: boolean; deprecated?: boolean; ccEnableArenas?: boolean; objcClassPrefix?: string; csharpNamespace?: string; swiftPrefix?: string; phpClassPrefix?: string; phpNamespace?: string; phpMetadataNamespace?: string; rubyPackage?: string; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.FileOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileOptions; static fromJson(jsonValue: JsonValue, options?: Partial): FileOptions; static fromJsonString(jsonString: string, options?: Partial): FileOptions; static equals(a: FileOptions | PlainMessage | undefined, b: FileOptions | PlainMessage | undefined): boolean; } export declare enum FileOptions_OptimizeMode { SPEED = 1, CODE_SIZE = 2, LITE_RUNTIME = 3 } export declare class MessageOptions extends Message { messageSetWireFormat?: boolean; noStandardDescriptorAccessor?: boolean; deprecated?: boolean; mapEntry?: boolean; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.MessageOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MessageOptions; static fromJson(jsonValue: JsonValue, options?: Partial): MessageOptions; static fromJsonString(jsonString: string, options?: Partial): MessageOptions; static equals(a: MessageOptions | PlainMessage | undefined, b: MessageOptions | PlainMessage | undefined): boolean; } export declare class FieldOptions extends Message { ctype?: FieldOptions_CType; packed?: boolean; jstype?: FieldOptions_JSType; lazy?: boolean; deprecated?: boolean; weak?: boolean; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.FieldOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FieldOptions; static fromJson(jsonValue: JsonValue, options?: Partial): FieldOptions; static fromJsonString(jsonString: string, options?: Partial): FieldOptions; static equals(a: FieldOptions | PlainMessage | undefined, b: FieldOptions | PlainMessage | undefined): boolean; } export declare enum FieldOptions_CType { STRING = 0, CORD = 1, STRING_PIECE = 2 } export declare enum FieldOptions_JSType { JS_NORMAL = 0, JS_STRING = 1, JS_NUMBER = 2 } export declare class OneofOptions extends Message { uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.OneofOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OneofOptions; static fromJson(jsonValue: JsonValue, options?: Partial): OneofOptions; static fromJsonString(jsonString: string, options?: Partial): OneofOptions; static equals(a: OneofOptions | PlainMessage | undefined, b: OneofOptions | PlainMessage | undefined): boolean; } export declare class EnumOptions extends Message { allowAlias?: boolean; deprecated?: boolean; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.EnumOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EnumOptions; static fromJson(jsonValue: JsonValue, options?: Partial): EnumOptions; static fromJsonString(jsonString: string, options?: Partial): EnumOptions; static equals(a: EnumOptions | PlainMessage | undefined, b: EnumOptions | PlainMessage | undefined): boolean; } export declare class EnumValueOptions extends Message { deprecated?: boolean; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.EnumValueOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EnumValueOptions; static fromJson(jsonValue: JsonValue, options?: Partial): EnumValueOptions; static fromJsonString(jsonString: string, options?: Partial): EnumValueOptions; static equals(a: EnumValueOptions | PlainMessage | undefined, b: EnumValueOptions | PlainMessage | undefined): boolean; } export declare class ServiceOptions extends Message { deprecated?: boolean; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.ServiceOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ServiceOptions; static fromJson(jsonValue: JsonValue, options?: Partial): ServiceOptions; static fromJsonString(jsonString: string, options?: Partial): ServiceOptions; static equals(a: ServiceOptions | PlainMessage | undefined, b: ServiceOptions | PlainMessage | undefined): boolean; } export declare class MethodOptions extends Message { deprecated?: boolean; idempotencyLevel?: MethodOptions_IdempotencyLevel; uninterpretedOption: UninterpretedOption[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.MethodOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MethodOptions; static fromJson(jsonValue: JsonValue, options?: Partial): MethodOptions; static fromJsonString(jsonString: string, options?: Partial): MethodOptions; static equals(a: MethodOptions | PlainMessage | undefined, b: MethodOptions | PlainMessage | undefined): boolean; } export declare enum MethodOptions_IdempotencyLevel { IDEMPOTENCY_UNKNOWN = 0, NO_SIDE_EFFECTS = 1, IDEMPOTENT = 2 } export declare class UninterpretedOption extends Message { name: UninterpretedOption_NamePart[]; identifierValue?: string; positiveIntValue?: bigint; negativeIntValue?: bigint; doubleValue?: number; stringValue?: Uint8Array; aggregateValue?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.UninterpretedOption"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UninterpretedOption; static fromJson(jsonValue: JsonValue, options?: Partial): UninterpretedOption; static fromJsonString(jsonString: string, options?: Partial): UninterpretedOption; static equals(a: UninterpretedOption | PlainMessage | undefined, b: UninterpretedOption | PlainMessage | undefined): boolean; } export declare class UninterpretedOption_NamePart extends Message { namePart?: string; isExtension?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.UninterpretedOption.NamePart"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UninterpretedOption_NamePart; static fromJson(jsonValue: JsonValue, options?: Partial): UninterpretedOption_NamePart; static fromJsonString(jsonString: string, options?: Partial): UninterpretedOption_NamePart; static equals(a: UninterpretedOption_NamePart | PlainMessage | undefined, b: UninterpretedOption_NamePart | PlainMessage | undefined): boolean; } export declare class SourceCodeInfo extends Message { location: SourceCodeInfo_Location[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.SourceCodeInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SourceCodeInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SourceCodeInfo; static fromJsonString(jsonString: string, options?: Partial): SourceCodeInfo; static equals(a: SourceCodeInfo | PlainMessage | undefined, b: SourceCodeInfo | PlainMessage | undefined): boolean; } export declare class SourceCodeInfo_Location extends Message { path: number[]; span: number[]; leadingComments?: string; trailingComments?: string; leadingDetachedComments: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.SourceCodeInfo.Location"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SourceCodeInfo_Location; static fromJson(jsonValue: JsonValue, options?: Partial): SourceCodeInfo_Location; static fromJsonString(jsonString: string, options?: Partial): SourceCodeInfo_Location; static equals(a: SourceCodeInfo_Location | PlainMessage | undefined, b: SourceCodeInfo_Location | PlainMessage | undefined): boolean; } export declare class GeneratedCodeInfo extends Message { annotation: GeneratedCodeInfo_Annotation[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.GeneratedCodeInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GeneratedCodeInfo; static fromJson(jsonValue: JsonValue, options?: Partial): GeneratedCodeInfo; static fromJsonString(jsonString: string, options?: Partial): GeneratedCodeInfo; static equals(a: GeneratedCodeInfo | PlainMessage | undefined, b: GeneratedCodeInfo | PlainMessage | undefined): boolean; } export declare class GeneratedCodeInfo_Annotation extends Message { path: number[]; sourceFile?: string; begin?: number; end?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "google.protobuf.GeneratedCodeInfo.Annotation"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GeneratedCodeInfo_Annotation; static fromJson(jsonValue: JsonValue, options?: Partial): GeneratedCodeInfo_Annotation; static fromJsonString(jsonString: string, options?: Partial): GeneratedCodeInfo_Annotation; static equals(a: GeneratedCodeInfo_Annotation | PlainMessage | undefined, b: GeneratedCodeInfo_Annotation | PlainMessage | undefined): boolean; } //# sourceMappingURL=descriptor_pb.d.ts.map