@replit/protocol 0.3.30 → 0.3.32

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.
@@ -187,6 +187,7 @@ declare var npm$namespace$replit$goval$api: {|
187
187
  IGitHubImportConfig: Class<replit$goval$api$IGitHubImportConfig>,
188
188
  IDeploymentConfig: Class<replit$goval$api$IDeploymentConfig>,
189
189
  IExtensionConfig: Class<replit$goval$api$IExtensionConfig>,
190
+ ISuggestionsConfig: Class<replit$goval$api$ISuggestionsConfig>,
190
191
  INixConfig: Class<replit$goval$api$INixConfig>,
191
192
  IHostingConfig: Class<replit$goval$api$IHostingConfig>,
192
193
  IAuthConfig: Class<replit$goval$api$IAuthConfig>,
@@ -231,6 +232,10 @@ declare var npm$namespace$replit$goval$api: {|
231
232
  IReplDomain: Class<replit$goval$api$IReplDomain>,
232
233
  IOutputBlockStartEvent: Class<replit$goval$api$IOutputBlockStartEvent>,
233
234
  IOutputBlockEndEvent: Class<replit$goval$api$IOutputBlockEndEvent>,
235
+ IRulesConfig: Class<replit$goval$api$IRulesConfig>,
236
+ IFormatterRules: Class<replit$goval$api$IFormatterRules>,
237
+ IFormatterConfig: Class<replit$goval$api$IFormatterConfig>,
238
+ IFormatterConfigWithPattern: Class<replit$goval$api$IFormatterConfigWithPattern>,
234
239
  IReplToken: Class<replit$goval$api$IReplToken>,
235
240
  ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
236
241
  IReplTransfer: Class<replit$goval$api$IReplTransfer>,
@@ -417,6 +422,7 @@ declare var npm$namespace$replit$goval$api: {|
417
422
  GitHubImportConfig: typeof replit$goval$api$GitHubImportConfig,
418
423
  DeploymentConfig: typeof replit$goval$api$DeploymentConfig,
419
424
  ExtensionConfig: typeof replit$goval$api$ExtensionConfig,
425
+ SuggestionsConfig: typeof replit$goval$api$SuggestionsConfig,
420
426
  NixConfig: typeof replit$goval$api$NixConfig,
421
427
  HostingConfig: typeof replit$goval$api$HostingConfig,
422
428
  AuthConfig: typeof replit$goval$api$AuthConfig,
@@ -461,6 +467,10 @@ declare var npm$namespace$replit$goval$api: {|
461
467
  ReplDomain: typeof replit$goval$api$ReplDomain,
462
468
  OutputBlockStartEvent: typeof replit$goval$api$OutputBlockStartEvent,
463
469
  OutputBlockEndEvent: typeof replit$goval$api$OutputBlockEndEvent,
470
+ RulesConfig: typeof replit$goval$api$RulesConfig,
471
+ FormatterRules: typeof replit$goval$api$FormatterRules,
472
+ FormatterConfig: typeof replit$goval$api$FormatterConfig,
473
+ FormatterConfigWithPattern: typeof replit$goval$api$FormatterConfigWithPattern,
464
474
  ReplToken: typeof replit$goval$api$ReplToken,
465
475
  TLSCertificate: typeof replit$goval$api$TLSCertificate,
466
476
  ReplTransfer: typeof replit$goval$api$ReplTransfer,
@@ -25212,6 +25222,19 @@ declare type replit$goval$api$IDotReplit = {|
25212
25222
  | replit$goval$api$ExtensionConfig
25213
25223
  | replit$goval$api$IExtensionConfig
25214
25224
  | null,
25225
+
25226
+ /**
25227
+ * DotReplit rules
25228
+ */
25229
+ rules?: replit$goval$api$RulesConfig | replit$goval$api$IRulesConfig | null,
25230
+
25231
+ /**
25232
+ * DotReplit suggestions
25233
+ */
25234
+ suggestions?:
25235
+ | replit$goval$api$SuggestionsConfig
25236
+ | replit$goval$api$ISuggestionsConfig
25237
+ | null,
25215
25238
  |};
25216
25239
 
25217
25240
  /**
@@ -25348,6 +25371,16 @@ declare class replit$goval$api$DotReplit {
25348
25371
  */
25349
25372
  extension?: replit$goval$api$ExtensionConfig | null;
25350
25373
 
25374
+ /**
25375
+ * DotReplit rules.
25376
+ */
25377
+ rules?: replit$goval$api$RulesConfig | null;
25378
+
25379
+ /**
25380
+ * DotReplit suggestions.
25381
+ */
25382
+ suggestions?: replit$goval$api$SuggestionsConfig | null;
25383
+
25351
25384
  /**
25352
25385
  * Creates a new DotReplit instance using the specified properties.
25353
25386
  * @param [properties] Properties to set
@@ -26333,6 +26366,133 @@ declare class replit$goval$api$ExtensionConfig {
26333
26366
  static getTypeUrl(typeUrlPrefix?: string): string;
26334
26367
  }
26335
26368
 
26369
+ /**
26370
+ * Properties of a SuggestionsConfig.
26371
+ */
26372
+ declare type replit$goval$api$ISuggestionsConfig = {|
26373
+ /**
26374
+ * SuggestionsConfig extensions
26375
+ */
26376
+ extensions?: string[] | null,
26377
+ |};
26378
+
26379
+ /**
26380
+ * Represents a SuggestionsConfig.
26381
+ */
26382
+ declare class replit$goval$api$SuggestionsConfig {
26383
+ /**
26384
+ * Constructs a new SuggestionsConfig.
26385
+ * @param [properties] Properties to set
26386
+ */
26387
+ constructor(properties?: replit$goval$api$ISuggestionsConfig): this;
26388
+
26389
+ /**
26390
+ * SuggestionsConfig extensions.
26391
+ */
26392
+ extensions: string[];
26393
+
26394
+ /**
26395
+ * Creates a new SuggestionsConfig instance using the specified properties.
26396
+ * @param [properties] Properties to set
26397
+ * @returns SuggestionsConfig instance
26398
+ */
26399
+ static create(
26400
+ properties?: replit$goval$api$ISuggestionsConfig
26401
+ ): replit$goval$api$SuggestionsConfig;
26402
+
26403
+ /**
26404
+ * [object Object],[object Object],[object Object]
26405
+ * @param message SuggestionsConfig message or plain object to encode
26406
+ * @param [writer] Writer to encode to
26407
+ * @returns Writer
26408
+ */
26409
+ static encode(
26410
+ message: replit$goval$api$SuggestionsConfig,
26411
+ writer?: $protobuf.Writer
26412
+ ): $protobuf.Writer;
26413
+
26414
+ /**
26415
+ * [object Object],[object Object],[object Object]
26416
+ * @param message SuggestionsConfig message or plain object to encode
26417
+ * @param [writer] Writer to encode to
26418
+ * @returns Writer
26419
+ */
26420
+ static encodeDelimited(
26421
+ message: replit$goval$api$SuggestionsConfig,
26422
+ writer?: $protobuf.Writer
26423
+ ): $protobuf.Writer;
26424
+
26425
+ /**
26426
+ * Decodes a SuggestionsConfig message from the specified reader or buffer.
26427
+ * @param reader Reader or buffer to decode from
26428
+ * @param [length] Message length if known beforehand
26429
+ * @returns SuggestionsConfig
26430
+ * @throws {Error} If the payload is not a reader or valid buffer
26431
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26432
+ */
26433
+ static decode(
26434
+ reader: $protobuf.Reader | Uint8Array,
26435
+ length?: number
26436
+ ): replit$goval$api$SuggestionsConfig;
26437
+
26438
+ /**
26439
+ * Decodes a SuggestionsConfig message from the specified reader or buffer, length delimited.
26440
+ * @param reader Reader or buffer to decode from
26441
+ * @returns SuggestionsConfig
26442
+ * @throws {Error} If the payload is not a reader or valid buffer
26443
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26444
+ */
26445
+ static decodeDelimited(
26446
+ reader: $protobuf.Reader | Uint8Array
26447
+ ): replit$goval$api$SuggestionsConfig;
26448
+
26449
+ /**
26450
+ * Verifies a SuggestionsConfig message.
26451
+ * @param message Plain object to verify
26452
+ * @returns `null` if valid, otherwise the reason why it is not
26453
+ */
26454
+ static verify(message: {|
26455
+ [k: string]: any,
26456
+ |}): string | null;
26457
+
26458
+ /**
26459
+ * Creates a SuggestionsConfig message from a plain object. Also converts values to their respective internal types.
26460
+ * @param object Plain object
26461
+ * @returns SuggestionsConfig
26462
+ */
26463
+ static fromObject(object: {|
26464
+ [k: string]: any,
26465
+ |}): replit$goval$api$SuggestionsConfig;
26466
+
26467
+ /**
26468
+ * Creates a plain object from a SuggestionsConfig message. Also converts values to other types if specified.
26469
+ * @param message SuggestionsConfig
26470
+ * @param [options] Conversion options
26471
+ * @returns Plain object
26472
+ */
26473
+ static toObject(
26474
+ message: replit$goval$api$SuggestionsConfig,
26475
+ options?: $protobuf.IConversionOptions
26476
+ ): {|
26477
+ [k: string]: any,
26478
+ |};
26479
+
26480
+ /**
26481
+ * Converts this SuggestionsConfig to JSON.
26482
+ * @returns JSON object
26483
+ */
26484
+ toJSON(): {|
26485
+ [k: string]: any,
26486
+ |};
26487
+
26488
+ /**
26489
+ * Gets the default type url for SuggestionsConfig
26490
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26491
+ * @returns The default type url
26492
+ */
26493
+ static getTypeUrl(typeUrlPrefix?: string): string;
26494
+ }
26495
+
26336
26496
  /**
26337
26497
  * Properties of a NixConfig.
26338
26498
  */
@@ -30550,6 +30710,16 @@ declare type replit$goval$api$IToolchainConfigs = {|
30550
30710
  formatters?:
30551
30711
  | (replit$goval$api$FormatterOption | replit$goval$api$IFormatterOption)[]
30552
30712
  | null,
30713
+
30714
+ /**
30715
+ * ToolchainConfigs disableInstallBeforeRun
30716
+ */
30717
+ disableInstallBeforeRun?: boolean | null,
30718
+
30719
+ /**
30720
+ * ToolchainConfigs disableGuessImports
30721
+ */
30722
+ disableGuessImports?: boolean | null,
30553
30723
  |};
30554
30724
 
30555
30725
  /**
@@ -30592,6 +30762,16 @@ declare class replit$goval$api$ToolchainConfigs {
30592
30762
  */
30593
30763
  formatters: replit$goval$api$FormatterOption[];
30594
30764
 
30765
+ /**
30766
+ * ToolchainConfigs disableInstallBeforeRun.
30767
+ */
30768
+ disableInstallBeforeRun: boolean;
30769
+
30770
+ /**
30771
+ * ToolchainConfigs disableGuessImports.
30772
+ */
30773
+ disableGuessImports: boolean;
30774
+
30595
30775
  /**
30596
30776
  * Creates a new ToolchainConfigs instance using the specified properties.
30597
30777
  * @param [properties] Properties to set
@@ -33024,6 +33204,564 @@ declare class replit$goval$api$OutputBlockEndEvent {
33024
33204
  static getTypeUrl(typeUrlPrefix?: string): string;
33025
33205
  }
33026
33206
 
33207
+ /**
33208
+ * Properties of a RulesConfig.
33209
+ */
33210
+ declare type replit$goval$api$IRulesConfig = {|
33211
+ /**
33212
+ * RulesConfig formatter
33213
+ */
33214
+ formatter?:
33215
+ | replit$goval$api$FormatterRules
33216
+ | replit$goval$api$IFormatterRules
33217
+ | null,
33218
+ |};
33219
+
33220
+ /**
33221
+ * Represents a RulesConfig.
33222
+ */
33223
+ declare class replit$goval$api$RulesConfig {
33224
+ /**
33225
+ * Constructs a new RulesConfig.
33226
+ * @param [properties] Properties to set
33227
+ */
33228
+ constructor(properties?: replit$goval$api$IRulesConfig): this;
33229
+
33230
+ /**
33231
+ * RulesConfig formatter.
33232
+ */
33233
+ formatter?: replit$goval$api$FormatterRules | null;
33234
+
33235
+ /**
33236
+ * Creates a new RulesConfig instance using the specified properties.
33237
+ * @param [properties] Properties to set
33238
+ * @returns RulesConfig instance
33239
+ */
33240
+ static create(
33241
+ properties?: replit$goval$api$IRulesConfig
33242
+ ): replit$goval$api$RulesConfig;
33243
+
33244
+ /**
33245
+ * [object Object],[object Object],[object Object]
33246
+ * @param message RulesConfig message or plain object to encode
33247
+ * @param [writer] Writer to encode to
33248
+ * @returns Writer
33249
+ */
33250
+ static encode(
33251
+ message: replit$goval$api$RulesConfig,
33252
+ writer?: $protobuf.Writer
33253
+ ): $protobuf.Writer;
33254
+
33255
+ /**
33256
+ * [object Object],[object Object],[object Object]
33257
+ * @param message RulesConfig message or plain object to encode
33258
+ * @param [writer] Writer to encode to
33259
+ * @returns Writer
33260
+ */
33261
+ static encodeDelimited(
33262
+ message: replit$goval$api$RulesConfig,
33263
+ writer?: $protobuf.Writer
33264
+ ): $protobuf.Writer;
33265
+
33266
+ /**
33267
+ * Decodes a RulesConfig message from the specified reader or buffer.
33268
+ * @param reader Reader or buffer to decode from
33269
+ * @param [length] Message length if known beforehand
33270
+ * @returns RulesConfig
33271
+ * @throws {Error} If the payload is not a reader or valid buffer
33272
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33273
+ */
33274
+ static decode(
33275
+ reader: $protobuf.Reader | Uint8Array,
33276
+ length?: number
33277
+ ): replit$goval$api$RulesConfig;
33278
+
33279
+ /**
33280
+ * Decodes a RulesConfig message from the specified reader or buffer, length delimited.
33281
+ * @param reader Reader or buffer to decode from
33282
+ * @returns RulesConfig
33283
+ * @throws {Error} If the payload is not a reader or valid buffer
33284
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33285
+ */
33286
+ static decodeDelimited(
33287
+ reader: $protobuf.Reader | Uint8Array
33288
+ ): replit$goval$api$RulesConfig;
33289
+
33290
+ /**
33291
+ * Verifies a RulesConfig message.
33292
+ * @param message Plain object to verify
33293
+ * @returns `null` if valid, otherwise the reason why it is not
33294
+ */
33295
+ static verify(message: {|
33296
+ [k: string]: any,
33297
+ |}): string | null;
33298
+
33299
+ /**
33300
+ * Creates a RulesConfig message from a plain object. Also converts values to their respective internal types.
33301
+ * @param object Plain object
33302
+ * @returns RulesConfig
33303
+ */
33304
+ static fromObject(object: {|
33305
+ [k: string]: any,
33306
+ |}): replit$goval$api$RulesConfig;
33307
+
33308
+ /**
33309
+ * Creates a plain object from a RulesConfig message. Also converts values to other types if specified.
33310
+ * @param message RulesConfig
33311
+ * @param [options] Conversion options
33312
+ * @returns Plain object
33313
+ */
33314
+ static toObject(
33315
+ message: replit$goval$api$RulesConfig,
33316
+ options?: $protobuf.IConversionOptions
33317
+ ): {|
33318
+ [k: string]: any,
33319
+ |};
33320
+
33321
+ /**
33322
+ * Converts this RulesConfig to JSON.
33323
+ * @returns JSON object
33324
+ */
33325
+ toJSON(): {|
33326
+ [k: string]: any,
33327
+ |};
33328
+
33329
+ /**
33330
+ * Gets the default type url for RulesConfig
33331
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33332
+ * @returns The default type url
33333
+ */
33334
+ static getTypeUrl(typeUrlPrefix?: string): string;
33335
+ }
33336
+
33337
+ /**
33338
+ * Properties of a FormatterRules.
33339
+ */
33340
+ declare type replit$goval$api$IFormatterRules = {|
33341
+ /**
33342
+ * FormatterRules patterns
33343
+ */
33344
+ patterns?:
33345
+ | (
33346
+ | replit$goval$api$FormatterConfigWithPattern
33347
+ | replit$goval$api$IFormatterConfigWithPattern
33348
+ )[]
33349
+ | null,
33350
+
33351
+ /**
33352
+ * FormatterRules fileExtensions
33353
+ */
33354
+ fileExtensions?: {|
33355
+ [k: string]:
33356
+ | replit$goval$api$FormatterConfig
33357
+ | replit$goval$api$IFormatterConfig,
33358
+ |} | null,
33359
+
33360
+ /**
33361
+ * FormatterRules languages
33362
+ */
33363
+ languages?: {|
33364
+ [k: string]:
33365
+ | replit$goval$api$FormatterConfig
33366
+ | replit$goval$api$IFormatterConfig,
33367
+ |} | null,
33368
+ |};
33369
+
33370
+ /**
33371
+ * Represents a FormatterRules.
33372
+ */
33373
+ declare class replit$goval$api$FormatterRules {
33374
+ /**
33375
+ * Constructs a new FormatterRules.
33376
+ * @param [properties] Properties to set
33377
+ */
33378
+ constructor(properties?: replit$goval$api$IFormatterRules): this;
33379
+
33380
+ /**
33381
+ * FormatterRules patterns.
33382
+ */
33383
+ patterns: replit$goval$api$FormatterConfigWithPattern[];
33384
+
33385
+ /**
33386
+ * FormatterRules fileExtensions.
33387
+ */
33388
+ fileExtensions: {|
33389
+ [k: string]: replit$goval$api$FormatterConfig,
33390
+ |};
33391
+
33392
+ /**
33393
+ * FormatterRules languages.
33394
+ */
33395
+ languages: {|
33396
+ [k: string]: replit$goval$api$FormatterConfig,
33397
+ |};
33398
+
33399
+ /**
33400
+ * Creates a new FormatterRules instance using the specified properties.
33401
+ * @param [properties] Properties to set
33402
+ * @returns FormatterRules instance
33403
+ */
33404
+ static create(
33405
+ properties?: replit$goval$api$IFormatterRules
33406
+ ): replit$goval$api$FormatterRules;
33407
+
33408
+ /**
33409
+ * [object Object],[object Object],[object Object]
33410
+ * @param message FormatterRules message or plain object to encode
33411
+ * @param [writer] Writer to encode to
33412
+ * @returns Writer
33413
+ */
33414
+ static encode(
33415
+ message: replit$goval$api$FormatterRules,
33416
+ writer?: $protobuf.Writer
33417
+ ): $protobuf.Writer;
33418
+
33419
+ /**
33420
+ * [object Object],[object Object],[object Object]
33421
+ * @param message FormatterRules message or plain object to encode
33422
+ * @param [writer] Writer to encode to
33423
+ * @returns Writer
33424
+ */
33425
+ static encodeDelimited(
33426
+ message: replit$goval$api$FormatterRules,
33427
+ writer?: $protobuf.Writer
33428
+ ): $protobuf.Writer;
33429
+
33430
+ /**
33431
+ * Decodes a FormatterRules message from the specified reader or buffer.
33432
+ * @param reader Reader or buffer to decode from
33433
+ * @param [length] Message length if known beforehand
33434
+ * @returns FormatterRules
33435
+ * @throws {Error} If the payload is not a reader or valid buffer
33436
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33437
+ */
33438
+ static decode(
33439
+ reader: $protobuf.Reader | Uint8Array,
33440
+ length?: number
33441
+ ): replit$goval$api$FormatterRules;
33442
+
33443
+ /**
33444
+ * Decodes a FormatterRules message from the specified reader or buffer, length delimited.
33445
+ * @param reader Reader or buffer to decode from
33446
+ * @returns FormatterRules
33447
+ * @throws {Error} If the payload is not a reader or valid buffer
33448
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33449
+ */
33450
+ static decodeDelimited(
33451
+ reader: $protobuf.Reader | Uint8Array
33452
+ ): replit$goval$api$FormatterRules;
33453
+
33454
+ /**
33455
+ * Verifies a FormatterRules message.
33456
+ * @param message Plain object to verify
33457
+ * @returns `null` if valid, otherwise the reason why it is not
33458
+ */
33459
+ static verify(message: {|
33460
+ [k: string]: any,
33461
+ |}): string | null;
33462
+
33463
+ /**
33464
+ * Creates a FormatterRules message from a plain object. Also converts values to their respective internal types.
33465
+ * @param object Plain object
33466
+ * @returns FormatterRules
33467
+ */
33468
+ static fromObject(object: {|
33469
+ [k: string]: any,
33470
+ |}): replit$goval$api$FormatterRules;
33471
+
33472
+ /**
33473
+ * Creates a plain object from a FormatterRules message. Also converts values to other types if specified.
33474
+ * @param message FormatterRules
33475
+ * @param [options] Conversion options
33476
+ * @returns Plain object
33477
+ */
33478
+ static toObject(
33479
+ message: replit$goval$api$FormatterRules,
33480
+ options?: $protobuf.IConversionOptions
33481
+ ): {|
33482
+ [k: string]: any,
33483
+ |};
33484
+
33485
+ /**
33486
+ * Converts this FormatterRules to JSON.
33487
+ * @returns JSON object
33488
+ */
33489
+ toJSON(): {|
33490
+ [k: string]: any,
33491
+ |};
33492
+
33493
+ /**
33494
+ * Gets the default type url for FormatterRules
33495
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33496
+ * @returns The default type url
33497
+ */
33498
+ static getTypeUrl(typeUrlPrefix?: string): string;
33499
+ }
33500
+
33501
+ /**
33502
+ * Properties of a FormatterConfig.
33503
+ */
33504
+ declare type replit$goval$api$IFormatterConfig = {|
33505
+ /**
33506
+ * FormatterConfig id
33507
+ */
33508
+ id?: string | null,
33509
+ |};
33510
+
33511
+ /**
33512
+ * Represents a FormatterConfig.
33513
+ */
33514
+ declare class replit$goval$api$FormatterConfig {
33515
+ /**
33516
+ * Constructs a new FormatterConfig.
33517
+ * @param [properties] Properties to set
33518
+ */
33519
+ constructor(properties?: replit$goval$api$IFormatterConfig): this;
33520
+
33521
+ /**
33522
+ * FormatterConfig id.
33523
+ */
33524
+ id: string;
33525
+
33526
+ /**
33527
+ * Creates a new FormatterConfig instance using the specified properties.
33528
+ * @param [properties] Properties to set
33529
+ * @returns FormatterConfig instance
33530
+ */
33531
+ static create(
33532
+ properties?: replit$goval$api$IFormatterConfig
33533
+ ): replit$goval$api$FormatterConfig;
33534
+
33535
+ /**
33536
+ * [object Object],[object Object],[object Object]
33537
+ * @param message FormatterConfig message or plain object to encode
33538
+ * @param [writer] Writer to encode to
33539
+ * @returns Writer
33540
+ */
33541
+ static encode(
33542
+ message: replit$goval$api$FormatterConfig,
33543
+ writer?: $protobuf.Writer
33544
+ ): $protobuf.Writer;
33545
+
33546
+ /**
33547
+ * [object Object],[object Object],[object Object]
33548
+ * @param message FormatterConfig message or plain object to encode
33549
+ * @param [writer] Writer to encode to
33550
+ * @returns Writer
33551
+ */
33552
+ static encodeDelimited(
33553
+ message: replit$goval$api$FormatterConfig,
33554
+ writer?: $protobuf.Writer
33555
+ ): $protobuf.Writer;
33556
+
33557
+ /**
33558
+ * Decodes a FormatterConfig message from the specified reader or buffer.
33559
+ * @param reader Reader or buffer to decode from
33560
+ * @param [length] Message length if known beforehand
33561
+ * @returns FormatterConfig
33562
+ * @throws {Error} If the payload is not a reader or valid buffer
33563
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33564
+ */
33565
+ static decode(
33566
+ reader: $protobuf.Reader | Uint8Array,
33567
+ length?: number
33568
+ ): replit$goval$api$FormatterConfig;
33569
+
33570
+ /**
33571
+ * Decodes a FormatterConfig message from the specified reader or buffer, length delimited.
33572
+ * @param reader Reader or buffer to decode from
33573
+ * @returns FormatterConfig
33574
+ * @throws {Error} If the payload is not a reader or valid buffer
33575
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33576
+ */
33577
+ static decodeDelimited(
33578
+ reader: $protobuf.Reader | Uint8Array
33579
+ ): replit$goval$api$FormatterConfig;
33580
+
33581
+ /**
33582
+ * Verifies a FormatterConfig message.
33583
+ * @param message Plain object to verify
33584
+ * @returns `null` if valid, otherwise the reason why it is not
33585
+ */
33586
+ static verify(message: {|
33587
+ [k: string]: any,
33588
+ |}): string | null;
33589
+
33590
+ /**
33591
+ * Creates a FormatterConfig message from a plain object. Also converts values to their respective internal types.
33592
+ * @param object Plain object
33593
+ * @returns FormatterConfig
33594
+ */
33595
+ static fromObject(object: {|
33596
+ [k: string]: any,
33597
+ |}): replit$goval$api$FormatterConfig;
33598
+
33599
+ /**
33600
+ * Creates a plain object from a FormatterConfig message. Also converts values to other types if specified.
33601
+ * @param message FormatterConfig
33602
+ * @param [options] Conversion options
33603
+ * @returns Plain object
33604
+ */
33605
+ static toObject(
33606
+ message: replit$goval$api$FormatterConfig,
33607
+ options?: $protobuf.IConversionOptions
33608
+ ): {|
33609
+ [k: string]: any,
33610
+ |};
33611
+
33612
+ /**
33613
+ * Converts this FormatterConfig to JSON.
33614
+ * @returns JSON object
33615
+ */
33616
+ toJSON(): {|
33617
+ [k: string]: any,
33618
+ |};
33619
+
33620
+ /**
33621
+ * Gets the default type url for FormatterConfig
33622
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33623
+ * @returns The default type url
33624
+ */
33625
+ static getTypeUrl(typeUrlPrefix?: string): string;
33626
+ }
33627
+
33628
+ /**
33629
+ * Properties of a FormatterConfigWithPattern.
33630
+ */
33631
+ declare type replit$goval$api$IFormatterConfigWithPattern = {|
33632
+ /**
33633
+ * FormatterConfigWithPattern id
33634
+ */
33635
+ id?: string | null,
33636
+
33637
+ /**
33638
+ * FormatterConfigWithPattern pattern
33639
+ */
33640
+ pattern?: string | null,
33641
+ |};
33642
+
33643
+ /**
33644
+ * Represents a FormatterConfigWithPattern.
33645
+ */
33646
+ declare class replit$goval$api$FormatterConfigWithPattern {
33647
+ /**
33648
+ * Constructs a new FormatterConfigWithPattern.
33649
+ * @param [properties] Properties to set
33650
+ */
33651
+ constructor(properties?: replit$goval$api$IFormatterConfigWithPattern): this;
33652
+
33653
+ /**
33654
+ * FormatterConfigWithPattern id.
33655
+ */
33656
+ id: string;
33657
+
33658
+ /**
33659
+ * FormatterConfigWithPattern pattern.
33660
+ */
33661
+ pattern: string;
33662
+
33663
+ /**
33664
+ * Creates a new FormatterConfigWithPattern instance using the specified properties.
33665
+ * @param [properties] Properties to set
33666
+ * @returns FormatterConfigWithPattern instance
33667
+ */
33668
+ static create(
33669
+ properties?: replit$goval$api$IFormatterConfigWithPattern
33670
+ ): replit$goval$api$FormatterConfigWithPattern;
33671
+
33672
+ /**
33673
+ * [object Object],[object Object],[object Object]
33674
+ * @param message FormatterConfigWithPattern message or plain object to encode
33675
+ * @param [writer] Writer to encode to
33676
+ * @returns Writer
33677
+ */
33678
+ static encode(
33679
+ message: replit$goval$api$FormatterConfigWithPattern,
33680
+ writer?: $protobuf.Writer
33681
+ ): $protobuf.Writer;
33682
+
33683
+ /**
33684
+ * [object Object],[object Object],[object Object]
33685
+ * @param message FormatterConfigWithPattern message or plain object to encode
33686
+ * @param [writer] Writer to encode to
33687
+ * @returns Writer
33688
+ */
33689
+ static encodeDelimited(
33690
+ message: replit$goval$api$FormatterConfigWithPattern,
33691
+ writer?: $protobuf.Writer
33692
+ ): $protobuf.Writer;
33693
+
33694
+ /**
33695
+ * Decodes a FormatterConfigWithPattern message from the specified reader or buffer.
33696
+ * @param reader Reader or buffer to decode from
33697
+ * @param [length] Message length if known beforehand
33698
+ * @returns FormatterConfigWithPattern
33699
+ * @throws {Error} If the payload is not a reader or valid buffer
33700
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33701
+ */
33702
+ static decode(
33703
+ reader: $protobuf.Reader | Uint8Array,
33704
+ length?: number
33705
+ ): replit$goval$api$FormatterConfigWithPattern;
33706
+
33707
+ /**
33708
+ * Decodes a FormatterConfigWithPattern message from the specified reader or buffer, length delimited.
33709
+ * @param reader Reader or buffer to decode from
33710
+ * @returns FormatterConfigWithPattern
33711
+ * @throws {Error} If the payload is not a reader or valid buffer
33712
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33713
+ */
33714
+ static decodeDelimited(
33715
+ reader: $protobuf.Reader | Uint8Array
33716
+ ): replit$goval$api$FormatterConfigWithPattern;
33717
+
33718
+ /**
33719
+ * Verifies a FormatterConfigWithPattern message.
33720
+ * @param message Plain object to verify
33721
+ * @returns `null` if valid, otherwise the reason why it is not
33722
+ */
33723
+ static verify(message: {|
33724
+ [k: string]: any,
33725
+ |}): string | null;
33726
+
33727
+ /**
33728
+ * Creates a FormatterConfigWithPattern message from a plain object. Also converts values to their respective internal types.
33729
+ * @param object Plain object
33730
+ * @returns FormatterConfigWithPattern
33731
+ */
33732
+ static fromObject(object: {|
33733
+ [k: string]: any,
33734
+ |}): replit$goval$api$FormatterConfigWithPattern;
33735
+
33736
+ /**
33737
+ * Creates a plain object from a FormatterConfigWithPattern message. Also converts values to other types if specified.
33738
+ * @param message FormatterConfigWithPattern
33739
+ * @param [options] Conversion options
33740
+ * @returns Plain object
33741
+ */
33742
+ static toObject(
33743
+ message: replit$goval$api$FormatterConfigWithPattern,
33744
+ options?: $protobuf.IConversionOptions
33745
+ ): {|
33746
+ [k: string]: any,
33747
+ |};
33748
+
33749
+ /**
33750
+ * Converts this FormatterConfigWithPattern to JSON.
33751
+ * @returns JSON object
33752
+ */
33753
+ toJSON(): {|
33754
+ [k: string]: any,
33755
+ |};
33756
+
33757
+ /**
33758
+ * Gets the default type url for FormatterConfigWithPattern
33759
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33760
+ * @returns The default type url
33761
+ */
33762
+ static getTypeUrl(typeUrlPrefix?: string): string;
33763
+ }
33764
+
33027
33765
  /**
33028
33766
  * Properties of a ReplToken.
33029
33767
  */