@replit/protocol 0.2.75 → 0.2.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,6 +205,11 @@ declare var npm$namespace$replit$goval$api: {|
205
205
  IGovalCert: Class<replit$goval$api$IGovalCert>,
206
206
  IGovalToken: Class<replit$goval$api$IGovalToken>,
207
207
  IGovalReplIdentity: Class<replit$goval$api$IGovalReplIdentity>,
208
+ ILoreCommand: Class<replit$goval$api$ILoreCommand>,
209
+ IClusterTransfer: Class<replit$goval$api$IClusterTransfer>,
210
+ ISoftTakedown: Class<replit$goval$api$ISoftTakedown>,
211
+ IGovalCommand: Class<replit$goval$api$IGovalCommand>,
212
+ IRestore: Class<replit$goval$api$IRestore>,
208
213
  Command: typeof replit$goval$api$Command,
209
214
  NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
210
215
  NixPackageAddResponse: typeof replit$goval$api$NixPackageAddResponse,
@@ -389,6 +394,11 @@ declare var npm$namespace$replit$goval$api: {|
389
394
  GovalCert: typeof replit$goval$api$GovalCert,
390
395
  GovalToken: typeof replit$goval$api$GovalToken,
391
396
  GovalReplIdentity: typeof replit$goval$api$GovalReplIdentity,
397
+ LoreCommand: typeof replit$goval$api$LoreCommand,
398
+ ClusterTransfer: typeof replit$goval$api$ClusterTransfer,
399
+ SoftTakedown: typeof replit$goval$api$SoftTakedown,
400
+ GovalCommand: typeof replit$goval$api$GovalCommand,
401
+ Restore: typeof replit$goval$api$Restore,
392
402
  features: typeof npm$namespace$replit$goval$api$features,
393
403
  repl: typeof npm$namespace$replit$goval$api$repl,
394
404
  |};
@@ -27896,6 +27906,708 @@ declare class replit$goval$api$GovalReplIdentity {
27896
27906
  |};
27897
27907
  }
27898
27908
 
27909
+ /**
27910
+ * Properties of a LoreCommand.
27911
+ */
27912
+ declare type replit$goval$api$ILoreCommand = {|
27913
+ /**
27914
+ * LoreCommand clusterTransfer
27915
+ */
27916
+ clusterTransfer?:
27917
+ | replit$goval$api$ClusterTransfer
27918
+ | replit$goval$api$IClusterTransfer
27919
+ | null,
27920
+
27921
+ /**
27922
+ * LoreCommand softTakedown
27923
+ */
27924
+ softTakedown?:
27925
+ | replit$goval$api$SoftTakedown
27926
+ | replit$goval$api$ISoftTakedown
27927
+ | null,
27928
+
27929
+ /**
27930
+ * LoreCommand govalCommand
27931
+ */
27932
+ govalCommand?:
27933
+ | replit$goval$api$GovalCommand
27934
+ | replit$goval$api$IGovalCommand
27935
+ | null,
27936
+
27937
+ /**
27938
+ * LoreCommand restore
27939
+ */
27940
+ restore?: replit$goval$api$Restore | replit$goval$api$IRestore | null,
27941
+ |};
27942
+
27943
+ /**
27944
+ * Represents a LoreCommand.
27945
+ */
27946
+ declare class replit$goval$api$LoreCommand {
27947
+ /**
27948
+ * Constructs a new LoreCommand.
27949
+ * @param [properties] Properties to set
27950
+ */
27951
+ constructor(properties?: replit$goval$api$ILoreCommand): this;
27952
+
27953
+ /**
27954
+ * LoreCommand clusterTransfer.
27955
+ */
27956
+ clusterTransfer?: replit$goval$api$ClusterTransfer | null;
27957
+
27958
+ /**
27959
+ * LoreCommand softTakedown.
27960
+ */
27961
+ softTakedown?: replit$goval$api$SoftTakedown | null;
27962
+
27963
+ /**
27964
+ * LoreCommand govalCommand.
27965
+ */
27966
+ govalCommand?: replit$goval$api$GovalCommand | null;
27967
+
27968
+ /**
27969
+ * LoreCommand restore.
27970
+ */
27971
+ restore?: replit$goval$api$Restore | null;
27972
+
27973
+ /**
27974
+ * LoreCommand command.
27975
+ */
27976
+ command?: "clusterTransfer" | "softTakedown" | "govalCommand" | "restore";
27977
+
27978
+ /**
27979
+ * Creates a new LoreCommand instance using the specified properties.
27980
+ * @param [properties] Properties to set
27981
+ * @returns LoreCommand instance
27982
+ */
27983
+ static create(
27984
+ properties?: replit$goval$api$ILoreCommand
27985
+ ): replit$goval$api$LoreCommand;
27986
+
27987
+ /**
27988
+ * [object Object],[object Object],[object Object]
27989
+ * @param message LoreCommand message or plain object to encode
27990
+ * @param [writer] Writer to encode to
27991
+ * @returns Writer
27992
+ */
27993
+ static encode(
27994
+ message: replit$goval$api$LoreCommand,
27995
+ writer?: $protobuf.Writer
27996
+ ): $protobuf.Writer;
27997
+
27998
+ /**
27999
+ * [object Object],[object Object],[object Object]
28000
+ * @param message LoreCommand message or plain object to encode
28001
+ * @param [writer] Writer to encode to
28002
+ * @returns Writer
28003
+ */
28004
+ static encodeDelimited(
28005
+ message: replit$goval$api$LoreCommand,
28006
+ writer?: $protobuf.Writer
28007
+ ): $protobuf.Writer;
28008
+
28009
+ /**
28010
+ * Decodes a LoreCommand message from the specified reader or buffer.
28011
+ * @param reader Reader or buffer to decode from
28012
+ * @param [length] Message length if known beforehand
28013
+ * @returns LoreCommand
28014
+ * @throws {Error} If the payload is not a reader or valid buffer
28015
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28016
+ */
28017
+ static decode(
28018
+ reader: $protobuf.Reader | Uint8Array,
28019
+ length?: number
28020
+ ): replit$goval$api$LoreCommand;
28021
+
28022
+ /**
28023
+ * Decodes a LoreCommand message from the specified reader or buffer, length delimited.
28024
+ * @param reader Reader or buffer to decode from
28025
+ * @returns LoreCommand
28026
+ * @throws {Error} If the payload is not a reader or valid buffer
28027
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28028
+ */
28029
+ static decodeDelimited(
28030
+ reader: $protobuf.Reader | Uint8Array
28031
+ ): replit$goval$api$LoreCommand;
28032
+
28033
+ /**
28034
+ * Verifies a LoreCommand message.
28035
+ * @param message Plain object to verify
28036
+ * @returns `null` if valid, otherwise the reason why it is not
28037
+ */
28038
+ static verify(message: {|
28039
+ [k: string]: any,
28040
+ |}): string | null;
28041
+
28042
+ /**
28043
+ * Creates a LoreCommand message from a plain object. Also converts values to their respective internal types.
28044
+ * @param object Plain object
28045
+ * @returns LoreCommand
28046
+ */
28047
+ static fromObject(object: {|
28048
+ [k: string]: any,
28049
+ |}): replit$goval$api$LoreCommand;
28050
+
28051
+ /**
28052
+ * Creates a plain object from a LoreCommand message. Also converts values to other types if specified.
28053
+ * @param message LoreCommand
28054
+ * @param [options] Conversion options
28055
+ * @returns Plain object
28056
+ */
28057
+ static toObject(
28058
+ message: replit$goval$api$LoreCommand,
28059
+ options?: $protobuf.IConversionOptions
28060
+ ): {|
28061
+ [k: string]: any,
28062
+ |};
28063
+
28064
+ /**
28065
+ * Converts this LoreCommand to JSON.
28066
+ * @returns JSON object
28067
+ */
28068
+ toJSON(): {|
28069
+ [k: string]: any,
28070
+ |};
28071
+ }
28072
+
28073
+ /**
28074
+ * Properties of a ClusterTransfer.
28075
+ */
28076
+ declare type replit$goval$api$IClusterTransfer = {|
28077
+ /**
28078
+ * ClusterTransfer replId
28079
+ */
28080
+ replId?: string | null,
28081
+
28082
+ /**
28083
+ * ClusterTransfer user
28084
+ */
28085
+ user?: string | null,
28086
+
28087
+ /**
28088
+ * ClusterTransfer newClusterId
28089
+ */
28090
+ newClusterId?: string | null,
28091
+
28092
+ /**
28093
+ * ClusterTransfer transferId
28094
+ */
28095
+ transferId?: string | null,
28096
+ |};
28097
+
28098
+ /**
28099
+ * Represents a ClusterTransfer.
28100
+ */
28101
+ declare class replit$goval$api$ClusterTransfer {
28102
+ /**
28103
+ * Constructs a new ClusterTransfer.
28104
+ * @param [properties] Properties to set
28105
+ */
28106
+ constructor(properties?: replit$goval$api$IClusterTransfer): this;
28107
+
28108
+ /**
28109
+ * ClusterTransfer replId.
28110
+ */
28111
+ replId: string;
28112
+
28113
+ /**
28114
+ * ClusterTransfer user.
28115
+ */
28116
+ user: string;
28117
+
28118
+ /**
28119
+ * ClusterTransfer newClusterId.
28120
+ */
28121
+ newClusterId: string;
28122
+
28123
+ /**
28124
+ * ClusterTransfer transferId.
28125
+ */
28126
+ transferId: string;
28127
+
28128
+ /**
28129
+ * Creates a new ClusterTransfer instance using the specified properties.
28130
+ * @param [properties] Properties to set
28131
+ * @returns ClusterTransfer instance
28132
+ */
28133
+ static create(
28134
+ properties?: replit$goval$api$IClusterTransfer
28135
+ ): replit$goval$api$ClusterTransfer;
28136
+
28137
+ /**
28138
+ * [object Object],[object Object],[object Object]
28139
+ * @param message ClusterTransfer message or plain object to encode
28140
+ * @param [writer] Writer to encode to
28141
+ * @returns Writer
28142
+ */
28143
+ static encode(
28144
+ message: replit$goval$api$ClusterTransfer,
28145
+ writer?: $protobuf.Writer
28146
+ ): $protobuf.Writer;
28147
+
28148
+ /**
28149
+ * [object Object],[object Object],[object Object]
28150
+ * @param message ClusterTransfer message or plain object to encode
28151
+ * @param [writer] Writer to encode to
28152
+ * @returns Writer
28153
+ */
28154
+ static encodeDelimited(
28155
+ message: replit$goval$api$ClusterTransfer,
28156
+ writer?: $protobuf.Writer
28157
+ ): $protobuf.Writer;
28158
+
28159
+ /**
28160
+ * Decodes a ClusterTransfer message from the specified reader or buffer.
28161
+ * @param reader Reader or buffer to decode from
28162
+ * @param [length] Message length if known beforehand
28163
+ * @returns ClusterTransfer
28164
+ * @throws {Error} If the payload is not a reader or valid buffer
28165
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28166
+ */
28167
+ static decode(
28168
+ reader: $protobuf.Reader | Uint8Array,
28169
+ length?: number
28170
+ ): replit$goval$api$ClusterTransfer;
28171
+
28172
+ /**
28173
+ * Decodes a ClusterTransfer message from the specified reader or buffer, length delimited.
28174
+ * @param reader Reader or buffer to decode from
28175
+ * @returns ClusterTransfer
28176
+ * @throws {Error} If the payload is not a reader or valid buffer
28177
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28178
+ */
28179
+ static decodeDelimited(
28180
+ reader: $protobuf.Reader | Uint8Array
28181
+ ): replit$goval$api$ClusterTransfer;
28182
+
28183
+ /**
28184
+ * Verifies a ClusterTransfer message.
28185
+ * @param message Plain object to verify
28186
+ * @returns `null` if valid, otherwise the reason why it is not
28187
+ */
28188
+ static verify(message: {|
28189
+ [k: string]: any,
28190
+ |}): string | null;
28191
+
28192
+ /**
28193
+ * Creates a ClusterTransfer message from a plain object. Also converts values to their respective internal types.
28194
+ * @param object Plain object
28195
+ * @returns ClusterTransfer
28196
+ */
28197
+ static fromObject(object: {|
28198
+ [k: string]: any,
28199
+ |}): replit$goval$api$ClusterTransfer;
28200
+
28201
+ /**
28202
+ * Creates a plain object from a ClusterTransfer message. Also converts values to other types if specified.
28203
+ * @param message ClusterTransfer
28204
+ * @param [options] Conversion options
28205
+ * @returns Plain object
28206
+ */
28207
+ static toObject(
28208
+ message: replit$goval$api$ClusterTransfer,
28209
+ options?: $protobuf.IConversionOptions
28210
+ ): {|
28211
+ [k: string]: any,
28212
+ |};
28213
+
28214
+ /**
28215
+ * Converts this ClusterTransfer to JSON.
28216
+ * @returns JSON object
28217
+ */
28218
+ toJSON(): {|
28219
+ [k: string]: any,
28220
+ |};
28221
+ }
28222
+
28223
+ /**
28224
+ * Properties of a SoftTakedown.
28225
+ */
28226
+ declare type replit$goval$api$ISoftTakedown = {|
28227
+ /**
28228
+ * SoftTakedown replId
28229
+ */
28230
+ replId?: string | null,
28231
+
28232
+ /**
28233
+ * SoftTakedown softTakedownId
28234
+ */
28235
+ softTakedownId?: string | null,
28236
+ |};
28237
+
28238
+ /**
28239
+ * Represents a SoftTakedown.
28240
+ */
28241
+ declare class replit$goval$api$SoftTakedown {
28242
+ /**
28243
+ * Constructs a new SoftTakedown.
28244
+ * @param [properties] Properties to set
28245
+ */
28246
+ constructor(properties?: replit$goval$api$ISoftTakedown): this;
28247
+
28248
+ /**
28249
+ * SoftTakedown replId.
28250
+ */
28251
+ replId: string;
28252
+
28253
+ /**
28254
+ * SoftTakedown softTakedownId.
28255
+ */
28256
+ softTakedownId: string;
28257
+
28258
+ /**
28259
+ * Creates a new SoftTakedown instance using the specified properties.
28260
+ * @param [properties] Properties to set
28261
+ * @returns SoftTakedown instance
28262
+ */
28263
+ static create(
28264
+ properties?: replit$goval$api$ISoftTakedown
28265
+ ): replit$goval$api$SoftTakedown;
28266
+
28267
+ /**
28268
+ * [object Object],[object Object],[object Object]
28269
+ * @param message SoftTakedown message or plain object to encode
28270
+ * @param [writer] Writer to encode to
28271
+ * @returns Writer
28272
+ */
28273
+ static encode(
28274
+ message: replit$goval$api$SoftTakedown,
28275
+ writer?: $protobuf.Writer
28276
+ ): $protobuf.Writer;
28277
+
28278
+ /**
28279
+ * [object Object],[object Object],[object Object]
28280
+ * @param message SoftTakedown message or plain object to encode
28281
+ * @param [writer] Writer to encode to
28282
+ * @returns Writer
28283
+ */
28284
+ static encodeDelimited(
28285
+ message: replit$goval$api$SoftTakedown,
28286
+ writer?: $protobuf.Writer
28287
+ ): $protobuf.Writer;
28288
+
28289
+ /**
28290
+ * Decodes a SoftTakedown message from the specified reader or buffer.
28291
+ * @param reader Reader or buffer to decode from
28292
+ * @param [length] Message length if known beforehand
28293
+ * @returns SoftTakedown
28294
+ * @throws {Error} If the payload is not a reader or valid buffer
28295
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28296
+ */
28297
+ static decode(
28298
+ reader: $protobuf.Reader | Uint8Array,
28299
+ length?: number
28300
+ ): replit$goval$api$SoftTakedown;
28301
+
28302
+ /**
28303
+ * Decodes a SoftTakedown message from the specified reader or buffer, length delimited.
28304
+ * @param reader Reader or buffer to decode from
28305
+ * @returns SoftTakedown
28306
+ * @throws {Error} If the payload is not a reader or valid buffer
28307
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28308
+ */
28309
+ static decodeDelimited(
28310
+ reader: $protobuf.Reader | Uint8Array
28311
+ ): replit$goval$api$SoftTakedown;
28312
+
28313
+ /**
28314
+ * Verifies a SoftTakedown message.
28315
+ * @param message Plain object to verify
28316
+ * @returns `null` if valid, otherwise the reason why it is not
28317
+ */
28318
+ static verify(message: {|
28319
+ [k: string]: any,
28320
+ |}): string | null;
28321
+
28322
+ /**
28323
+ * Creates a SoftTakedown message from a plain object. Also converts values to their respective internal types.
28324
+ * @param object Plain object
28325
+ * @returns SoftTakedown
28326
+ */
28327
+ static fromObject(object: {|
28328
+ [k: string]: any,
28329
+ |}): replit$goval$api$SoftTakedown;
28330
+
28331
+ /**
28332
+ * Creates a plain object from a SoftTakedown message. Also converts values to other types if specified.
28333
+ * @param message SoftTakedown
28334
+ * @param [options] Conversion options
28335
+ * @returns Plain object
28336
+ */
28337
+ static toObject(
28338
+ message: replit$goval$api$SoftTakedown,
28339
+ options?: $protobuf.IConversionOptions
28340
+ ): {|
28341
+ [k: string]: any,
28342
+ |};
28343
+
28344
+ /**
28345
+ * Converts this SoftTakedown to JSON.
28346
+ * @returns JSON object
28347
+ */
28348
+ toJSON(): {|
28349
+ [k: string]: any,
28350
+ |};
28351
+ }
28352
+
28353
+ /**
28354
+ * Properties of a GovalCommand.
28355
+ */
28356
+ declare type replit$goval$api$IGovalCommand = {|
28357
+ /**
28358
+ * GovalCommand updateMetadata
28359
+ */
28360
+ updateMetadata?:
28361
+ | replit$goval$api$repl$Metadata
28362
+ | replit$goval$api$repl$IMetadata
28363
+ | null,
28364
+ |};
28365
+
28366
+ /**
28367
+ * Represents a GovalCommand.
28368
+ */
28369
+ declare class replit$goval$api$GovalCommand {
28370
+ /**
28371
+ * Constructs a new GovalCommand.
28372
+ * @param [properties] Properties to set
28373
+ */
28374
+ constructor(properties?: replit$goval$api$IGovalCommand): this;
28375
+
28376
+ /**
28377
+ * GovalCommand updateMetadata.
28378
+ */
28379
+ updateMetadata?: replit$goval$api$repl$Metadata | null;
28380
+
28381
+ /**
28382
+ * GovalCommand command.
28383
+ */
28384
+ command?: "updateMetadata";
28385
+
28386
+ /**
28387
+ * Creates a new GovalCommand instance using the specified properties.
28388
+ * @param [properties] Properties to set
28389
+ * @returns GovalCommand instance
28390
+ */
28391
+ static create(
28392
+ properties?: replit$goval$api$IGovalCommand
28393
+ ): replit$goval$api$GovalCommand;
28394
+
28395
+ /**
28396
+ * [object Object],[object Object],[object Object]
28397
+ * @param message GovalCommand message or plain object to encode
28398
+ * @param [writer] Writer to encode to
28399
+ * @returns Writer
28400
+ */
28401
+ static encode(
28402
+ message: replit$goval$api$GovalCommand,
28403
+ writer?: $protobuf.Writer
28404
+ ): $protobuf.Writer;
28405
+
28406
+ /**
28407
+ * [object Object],[object Object],[object Object]
28408
+ * @param message GovalCommand message or plain object to encode
28409
+ * @param [writer] Writer to encode to
28410
+ * @returns Writer
28411
+ */
28412
+ static encodeDelimited(
28413
+ message: replit$goval$api$GovalCommand,
28414
+ writer?: $protobuf.Writer
28415
+ ): $protobuf.Writer;
28416
+
28417
+ /**
28418
+ * Decodes a GovalCommand message from the specified reader or buffer.
28419
+ * @param reader Reader or buffer to decode from
28420
+ * @param [length] Message length if known beforehand
28421
+ * @returns GovalCommand
28422
+ * @throws {Error} If the payload is not a reader or valid buffer
28423
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28424
+ */
28425
+ static decode(
28426
+ reader: $protobuf.Reader | Uint8Array,
28427
+ length?: number
28428
+ ): replit$goval$api$GovalCommand;
28429
+
28430
+ /**
28431
+ * Decodes a GovalCommand message from the specified reader or buffer, length delimited.
28432
+ * @param reader Reader or buffer to decode from
28433
+ * @returns GovalCommand
28434
+ * @throws {Error} If the payload is not a reader or valid buffer
28435
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28436
+ */
28437
+ static decodeDelimited(
28438
+ reader: $protobuf.Reader | Uint8Array
28439
+ ): replit$goval$api$GovalCommand;
28440
+
28441
+ /**
28442
+ * Verifies a GovalCommand message.
28443
+ * @param message Plain object to verify
28444
+ * @returns `null` if valid, otherwise the reason why it is not
28445
+ */
28446
+ static verify(message: {|
28447
+ [k: string]: any,
28448
+ |}): string | null;
28449
+
28450
+ /**
28451
+ * Creates a GovalCommand message from a plain object. Also converts values to their respective internal types.
28452
+ * @param object Plain object
28453
+ * @returns GovalCommand
28454
+ */
28455
+ static fromObject(object: {|
28456
+ [k: string]: any,
28457
+ |}): replit$goval$api$GovalCommand;
28458
+
28459
+ /**
28460
+ * Creates a plain object from a GovalCommand message. Also converts values to other types if specified.
28461
+ * @param message GovalCommand
28462
+ * @param [options] Conversion options
28463
+ * @returns Plain object
28464
+ */
28465
+ static toObject(
28466
+ message: replit$goval$api$GovalCommand,
28467
+ options?: $protobuf.IConversionOptions
28468
+ ): {|
28469
+ [k: string]: any,
28470
+ |};
28471
+
28472
+ /**
28473
+ * Converts this GovalCommand to JSON.
28474
+ * @returns JSON object
28475
+ */
28476
+ toJSON(): {|
28477
+ [k: string]: any,
28478
+ |};
28479
+ }
28480
+
28481
+ /**
28482
+ * Properties of a Restore.
28483
+ */
28484
+ declare type replit$goval$api$IRestore = {|
28485
+ /**
28486
+ * Restore replId
28487
+ */
28488
+ replId?: string | null,
28489
+
28490
+ /**
28491
+ * Restore restoreReplId
28492
+ */
28493
+ restoreReplId?: string | null,
28494
+ |};
28495
+
28496
+ /**
28497
+ * Represents a Restore.
28498
+ */
28499
+ declare class replit$goval$api$Restore {
28500
+ /**
28501
+ * Constructs a new Restore.
28502
+ * @param [properties] Properties to set
28503
+ */
28504
+ constructor(properties?: replit$goval$api$IRestore): this;
28505
+
28506
+ /**
28507
+ * Restore replId.
28508
+ */
28509
+ replId: string;
28510
+
28511
+ /**
28512
+ * Restore restoreReplId.
28513
+ */
28514
+ restoreReplId: string;
28515
+
28516
+ /**
28517
+ * Creates a new Restore instance using the specified properties.
28518
+ * @param [properties] Properties to set
28519
+ * @returns Restore instance
28520
+ */
28521
+ static create(
28522
+ properties?: replit$goval$api$IRestore
28523
+ ): replit$goval$api$Restore;
28524
+
28525
+ /**
28526
+ * [object Object],[object Object],[object Object]
28527
+ * @param message Restore message or plain object to encode
28528
+ * @param [writer] Writer to encode to
28529
+ * @returns Writer
28530
+ */
28531
+ static encode(
28532
+ message: replit$goval$api$Restore,
28533
+ writer?: $protobuf.Writer
28534
+ ): $protobuf.Writer;
28535
+
28536
+ /**
28537
+ * [object Object],[object Object],[object Object]
28538
+ * @param message Restore message or plain object to encode
28539
+ * @param [writer] Writer to encode to
28540
+ * @returns Writer
28541
+ */
28542
+ static encodeDelimited(
28543
+ message: replit$goval$api$Restore,
28544
+ writer?: $protobuf.Writer
28545
+ ): $protobuf.Writer;
28546
+
28547
+ /**
28548
+ * Decodes a Restore message from the specified reader or buffer.
28549
+ * @param reader Reader or buffer to decode from
28550
+ * @param [length] Message length if known beforehand
28551
+ * @returns Restore
28552
+ * @throws {Error} If the payload is not a reader or valid buffer
28553
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28554
+ */
28555
+ static decode(
28556
+ reader: $protobuf.Reader | Uint8Array,
28557
+ length?: number
28558
+ ): replit$goval$api$Restore;
28559
+
28560
+ /**
28561
+ * Decodes a Restore message from the specified reader or buffer, length delimited.
28562
+ * @param reader Reader or buffer to decode from
28563
+ * @returns Restore
28564
+ * @throws {Error} If the payload is not a reader or valid buffer
28565
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28566
+ */
28567
+ static decodeDelimited(
28568
+ reader: $protobuf.Reader | Uint8Array
28569
+ ): replit$goval$api$Restore;
28570
+
28571
+ /**
28572
+ * Verifies a Restore message.
28573
+ * @param message Plain object to verify
28574
+ * @returns `null` if valid, otherwise the reason why it is not
28575
+ */
28576
+ static verify(message: {|
28577
+ [k: string]: any,
28578
+ |}): string | null;
28579
+
28580
+ /**
28581
+ * Creates a Restore message from a plain object. Also converts values to their respective internal types.
28582
+ * @param object Plain object
28583
+ * @returns Restore
28584
+ */
28585
+ static fromObject(object: {|
28586
+ [k: string]: any,
28587
+ |}): replit$goval$api$Restore;
28588
+
28589
+ /**
28590
+ * Creates a plain object from a Restore message. Also converts values to other types if specified.
28591
+ * @param message Restore
28592
+ * @param [options] Conversion options
28593
+ * @returns Plain object
28594
+ */
28595
+ static toObject(
28596
+ message: replit$goval$api$Restore,
28597
+ options?: $protobuf.IConversionOptions
28598
+ ): {|
28599
+ [k: string]: any,
28600
+ |};
28601
+
28602
+ /**
28603
+ * Converts this Restore to JSON.
28604
+ * @returns JSON object
28605
+ */
28606
+ toJSON(): {|
28607
+ [k: string]: any,
28608
+ |};
28609
+ }
28610
+
27899
28611
  declare var npm$namespace$replit$goval$api$features: {|
27900
28612
  IGpu: Class<replit$goval$api$features$IGpu>,
27901
28613
  IBoosted: Class<replit$goval$api$features$IBoosted>,