@replit/protocol 0.3.23 → 0.3.25

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.
@@ -242,6 +242,8 @@ declare var npm$namespace$replit$goval$api: {|
242
242
  IGovalCert: Class<replit$goval$api$IGovalCert>,
243
243
  IGovalToken: Class<replit$goval$api$IGovalToken>,
244
244
  IGovalReplIdentity: Class<replit$goval$api$IGovalReplIdentity>,
245
+ IReplRuntimeInteractive: Class<replit$goval$api$IReplRuntimeInteractive>,
246
+ IReplRuntimeDeployment: Class<replit$goval$api$IReplRuntimeDeployment>,
245
247
  IPrivateReplsPowerup: Class<replit$goval$api$IPrivateReplsPowerup>,
246
248
  IGhostwriterPowerup: Class<replit$goval$api$IGhostwriterPowerup>,
247
249
  IConnectivityPowerup: Class<replit$goval$api$IConnectivityPowerup>,
@@ -468,6 +470,8 @@ declare var npm$namespace$replit$goval$api: {|
468
470
  GovalCert: typeof replit$goval$api$GovalCert,
469
471
  GovalToken: typeof replit$goval$api$GovalToken,
470
472
  GovalReplIdentity: typeof replit$goval$api$GovalReplIdentity,
473
+ ReplRuntimeInteractive: typeof replit$goval$api$ReplRuntimeInteractive,
474
+ ReplRuntimeDeployment: typeof replit$goval$api$ReplRuntimeDeployment,
471
475
  PrivateReplsPowerup: typeof replit$goval$api$PrivateReplsPowerup,
472
476
  GhostwriterPowerup: typeof replit$goval$api$GhostwriterPowerup,
473
477
  ConnectivityPowerup: typeof replit$goval$api$ConnectivityPowerup,
@@ -476,7 +480,6 @@ declare var npm$namespace$replit$goval$api: {|
476
480
  lore: typeof npm$namespace$replit$goval$api$lore,
477
481
  features: typeof npm$namespace$replit$goval$api$features,
478
482
  repl: typeof npm$namespace$replit$goval$api$repl,
479
- pid2: typeof npm$namespace$replit$goval$api$pid2,
480
483
  |};
481
484
 
482
485
  /**
@@ -611,11 +614,6 @@ declare type replit$goval$api$ICommand = {|
611
614
  */
612
615
  log?: string | null,
613
616
 
614
- /**
615
- * Command record
616
- */
617
- record?: string | null,
618
-
619
617
  /**
620
618
  * Command outputBlockStartEvent
621
619
  */
@@ -1751,22 +1749,6 @@ declare type replit$goval$api$ICommand = {|
1751
1749
  | replit$goval$api$INixModulesGetRegistryResponse
1752
1750
  | null,
1753
1751
 
1754
- /**
1755
- * Command pid2Input
1756
- */
1757
- pid2Input?:
1758
- | replit$goval$api$pid2$ClientFrame
1759
- | replit$goval$api$pid2$IClientFrame
1760
- | null,
1761
-
1762
- /**
1763
- * Command pid2Output
1764
- */
1765
- pid2Output?:
1766
- | replit$goval$api$pid2$ServerFrame
1767
- | replit$goval$api$pid2$IServerFrame
1768
- | null,
1769
-
1770
1752
  /**
1771
1753
  * Command ref
1772
1754
  */
@@ -1900,11 +1882,6 @@ declare class replit$goval$api$Command {
1900
1882
  */
1901
1883
  log?: string | null;
1902
1884
 
1903
- /**
1904
- * Command record.
1905
- */
1906
- record?: string | null;
1907
-
1908
1885
  /**
1909
1886
  * Command outputBlockStartEvent.
1910
1887
  */
@@ -2725,16 +2702,6 @@ declare class replit$goval$api$Command {
2725
2702
  */
2726
2703
  nixModulesGetRegistryResponse?: replit$goval$api$NixModulesGetRegistryResponse | null;
2727
2704
 
2728
- /**
2729
- * Command pid2Input.
2730
- */
2731
- pid2Input?: replit$goval$api$pid2$ClientFrame | null;
2732
-
2733
- /**
2734
- * Command pid2Output.
2735
- */
2736
- pid2Output?: replit$goval$api$pid2$ServerFrame | null;
2737
-
2738
2705
  /**
2739
2706
  * Command ref.
2740
2707
  */
@@ -2771,7 +2738,6 @@ declare class replit$goval$api$Command {
2771
2738
  | "error"
2772
2739
  | "stderr"
2773
2740
  | "log"
2774
- | "record"
2775
2741
  | "outputBlockStartEvent"
2776
2742
  | "outputBlockEndEvent"
2777
2743
  | "exitCodeEvent"
@@ -2935,9 +2901,7 @@ declare class replit$goval$api$Command {
2935
2901
  | "toolchainChanged"
2936
2902
  | "replspaceApiOpenMultipleFiles"
2937
2903
  | "nixModulesGetRegistryRequest"
2938
- | "nixModulesGetRegistryResponse"
2939
- | "pid2Input"
2940
- | "pid2Output";
2904
+ | "nixModulesGetRegistryResponse";
2941
2905
 
2942
2906
  /**
2943
2907
  * Creates a new Command instance using the specified properties.
@@ -32937,11 +32901,6 @@ declare type replit$goval$api$IReplToken = {|
32937
32901
  | replit$goval$api$repl$BuildInfo
32938
32902
  | replit$goval$api$repl$IBuildInfo
32939
32903
  | null,
32940
-
32941
- /**
32942
- * ReplToken pid2
32943
- */
32944
- pid2?: replit$goval$api$repl$Pid2 | replit$goval$api$repl$IPid2 | null,
32945
32904
  |};
32946
32905
 
32947
32906
  /**
@@ -33034,11 +32993,6 @@ declare class replit$goval$api$ReplToken {
33034
32993
  */
33035
32994
  buildInfo?: replit$goval$api$repl$BuildInfo | null;
33036
32995
 
33037
- /**
33038
- * ReplToken pid2.
33039
- */
33040
- pid2?: replit$goval$api$repl$Pid2 | null;
33041
-
33042
32996
  /**
33043
32997
  * ReplToken metadata.
33044
32998
  */
@@ -33434,6 +33388,7 @@ declare class replit$goval$api$ReplToken$ReplID {
33434
33388
  declare var replit$goval$api$ReplToken$WireFormat: {|
33435
33389
  +PROTOBUF: 0, // 0
33436
33390
  +JSON: 1, // 1
33391
+ +PID2: 2, // 2
33437
33392
  |};
33438
33393
 
33439
33394
  /**
@@ -34677,9 +34632,12 @@ declare var replit$goval$api$FlagClaim: {|
34677
34632
  +GHOSTWRITER: 6, // 6
34678
34633
  +RENEW_IDENTITY: 7, // 7
34679
34634
  +RENEW_KV: 8, // 8
34635
+ +DEPLOYMENTS: 10, // 10
34680
34636
  +ANY_REPLID: 2, // 2
34681
34637
  +ANY_USER: 3, // 3
34638
+ +ANY_USER_ID: 11, // 11
34682
34639
  +ANY_CLUSTER: 4, // 4
34640
+ +ANY_SUBCLUSTER: 9, // 9
34683
34641
  |};
34684
34642
 
34685
34643
  /**
@@ -34696,11 +34654,26 @@ declare type replit$goval$api$ICertificateClaim = {|
34696
34654
  */
34697
34655
  user?: string | null,
34698
34656
 
34657
+ /**
34658
+ * CertificateClaim userId
34659
+ */
34660
+ userId?: number | null,
34661
+
34699
34662
  /**
34700
34663
  * CertificateClaim cluster
34701
34664
  */
34702
34665
  cluster?: string | null,
34703
34666
 
34667
+ /**
34668
+ * CertificateClaim subcluster
34669
+ */
34670
+ subcluster?: string | null,
34671
+
34672
+ /**
34673
+ * CertificateClaim deployment
34674
+ */
34675
+ deployment?: boolean | null,
34676
+
34704
34677
  /**
34705
34678
  * CertificateClaim flag
34706
34679
  */
@@ -34727,11 +34700,26 @@ declare class replit$goval$api$CertificateClaim {
34727
34700
  */
34728
34701
  user?: string | null;
34729
34702
 
34703
+ /**
34704
+ * CertificateClaim userId.
34705
+ */
34706
+ userId?: number | null;
34707
+
34730
34708
  /**
34731
34709
  * CertificateClaim cluster.
34732
34710
  */
34733
34711
  cluster?: string | null;
34734
34712
 
34713
+ /**
34714
+ * CertificateClaim subcluster.
34715
+ */
34716
+ subcluster?: string | null;
34717
+
34718
+ /**
34719
+ * CertificateClaim deployment.
34720
+ */
34721
+ deployment?: boolean | null;
34722
+
34735
34723
  /**
34736
34724
  * CertificateClaim flag.
34737
34725
  */
@@ -34740,7 +34728,14 @@ declare class replit$goval$api$CertificateClaim {
34740
34728
  /**
34741
34729
  * CertificateClaim claim.
34742
34730
  */
34743
- claim?: "replid" | "user" | "cluster" | "flag";
34731
+ claim?:
34732
+ | "replid"
34733
+ | "user"
34734
+ | "userId"
34735
+ | "cluster"
34736
+ | "subcluster"
34737
+ | "deployment"
34738
+ | "flag";
34744
34739
 
34745
34740
  /**
34746
34741
  * Creates a new CertificateClaim instance using the specified properties.
@@ -35234,6 +35229,22 @@ declare type replit$goval$api$IGovalReplIdentity = {|
35234
35229
  * GovalReplIdentity roles
35235
35230
  */
35236
35231
  roles?: string[] | null,
35232
+
35233
+ /**
35234
+ * GovalReplIdentity interactive
35235
+ */
35236
+ interactive?:
35237
+ | replit$goval$api$ReplRuntimeInteractive
35238
+ | replit$goval$api$IReplRuntimeInteractive
35239
+ | null,
35240
+
35241
+ /**
35242
+ * GovalReplIdentity deployment
35243
+ */
35244
+ deployment?:
35245
+ | replit$goval$api$ReplRuntimeDeployment
35246
+ | replit$goval$api$IReplRuntimeDeployment
35247
+ | null,
35237
35248
  |};
35238
35249
 
35239
35250
  /**
@@ -35296,6 +35307,21 @@ declare class replit$goval$api$GovalReplIdentity {
35296
35307
  */
35297
35308
  roles: string[];
35298
35309
 
35310
+ /**
35311
+ * GovalReplIdentity interactive.
35312
+ */
35313
+ interactive?: replit$goval$api$ReplRuntimeInteractive | null;
35314
+
35315
+ /**
35316
+ * GovalReplIdentity deployment.
35317
+ */
35318
+ deployment?: replit$goval$api$ReplRuntimeDeployment | null;
35319
+
35320
+ /**
35321
+ * GovalReplIdentity runtime.
35322
+ */
35323
+ runtime?: "interactive" | "deployment";
35324
+
35299
35325
  /**
35300
35326
  * Creates a new GovalReplIdentity instance using the specified properties.
35301
35327
  * @param [properties] Properties to set
@@ -35398,6 +35424,260 @@ declare class replit$goval$api$GovalReplIdentity {
35398
35424
  static getTypeUrl(typeUrlPrefix?: string): string;
35399
35425
  }
35400
35426
 
35427
+ /**
35428
+ * Properties of a ReplRuntimeInteractive.
35429
+ */
35430
+ declare type replit$goval$api$IReplRuntimeInteractive = {|
35431
+ /**
35432
+ * ReplRuntimeInteractive cluster
35433
+ */
35434
+ cluster?: string | null,
35435
+
35436
+ /**
35437
+ * ReplRuntimeInteractive subcluster
35438
+ */
35439
+ subcluster?: string | null,
35440
+ |};
35441
+
35442
+ /**
35443
+ * Represents a ReplRuntimeInteractive.
35444
+ */
35445
+ declare class replit$goval$api$ReplRuntimeInteractive {
35446
+ /**
35447
+ * Constructs a new ReplRuntimeInteractive.
35448
+ * @param [properties] Properties to set
35449
+ */
35450
+ constructor(properties?: replit$goval$api$IReplRuntimeInteractive): this;
35451
+
35452
+ /**
35453
+ * ReplRuntimeInteractive cluster.
35454
+ */
35455
+ cluster: string;
35456
+
35457
+ /**
35458
+ * ReplRuntimeInteractive subcluster.
35459
+ */
35460
+ subcluster: string;
35461
+
35462
+ /**
35463
+ * Creates a new ReplRuntimeInteractive instance using the specified properties.
35464
+ * @param [properties] Properties to set
35465
+ * @returns ReplRuntimeInteractive instance
35466
+ */
35467
+ static create(
35468
+ properties?: replit$goval$api$IReplRuntimeInteractive
35469
+ ): replit$goval$api$ReplRuntimeInteractive;
35470
+
35471
+ /**
35472
+ * [object Object],[object Object],[object Object]
35473
+ * @param message ReplRuntimeInteractive message or plain object to encode
35474
+ * @param [writer] Writer to encode to
35475
+ * @returns Writer
35476
+ */
35477
+ static encode(
35478
+ message: replit$goval$api$ReplRuntimeInteractive,
35479
+ writer?: $protobuf.Writer
35480
+ ): $protobuf.Writer;
35481
+
35482
+ /**
35483
+ * [object Object],[object Object],[object Object]
35484
+ * @param message ReplRuntimeInteractive message or plain object to encode
35485
+ * @param [writer] Writer to encode to
35486
+ * @returns Writer
35487
+ */
35488
+ static encodeDelimited(
35489
+ message: replit$goval$api$ReplRuntimeInteractive,
35490
+ writer?: $protobuf.Writer
35491
+ ): $protobuf.Writer;
35492
+
35493
+ /**
35494
+ * Decodes a ReplRuntimeInteractive message from the specified reader or buffer.
35495
+ * @param reader Reader or buffer to decode from
35496
+ * @param [length] Message length if known beforehand
35497
+ * @returns ReplRuntimeInteractive
35498
+ * @throws {Error} If the payload is not a reader or valid buffer
35499
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35500
+ */
35501
+ static decode(
35502
+ reader: $protobuf.Reader | Uint8Array,
35503
+ length?: number
35504
+ ): replit$goval$api$ReplRuntimeInteractive;
35505
+
35506
+ /**
35507
+ * Decodes a ReplRuntimeInteractive message from the specified reader or buffer, length delimited.
35508
+ * @param reader Reader or buffer to decode from
35509
+ * @returns ReplRuntimeInteractive
35510
+ * @throws {Error} If the payload is not a reader or valid buffer
35511
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35512
+ */
35513
+ static decodeDelimited(
35514
+ reader: $protobuf.Reader | Uint8Array
35515
+ ): replit$goval$api$ReplRuntimeInteractive;
35516
+
35517
+ /**
35518
+ * Verifies a ReplRuntimeInteractive message.
35519
+ * @param message Plain object to verify
35520
+ * @returns `null` if valid, otherwise the reason why it is not
35521
+ */
35522
+ static verify(message: {|
35523
+ [k: string]: any,
35524
+ |}): string | null;
35525
+
35526
+ /**
35527
+ * Creates a ReplRuntimeInteractive message from a plain object. Also converts values to their respective internal types.
35528
+ * @param object Plain object
35529
+ * @returns ReplRuntimeInteractive
35530
+ */
35531
+ static fromObject(object: {|
35532
+ [k: string]: any,
35533
+ |}): replit$goval$api$ReplRuntimeInteractive;
35534
+
35535
+ /**
35536
+ * Creates a plain object from a ReplRuntimeInteractive message. Also converts values to other types if specified.
35537
+ * @param message ReplRuntimeInteractive
35538
+ * @param [options] Conversion options
35539
+ * @returns Plain object
35540
+ */
35541
+ static toObject(
35542
+ message: replit$goval$api$ReplRuntimeInteractive,
35543
+ options?: $protobuf.IConversionOptions
35544
+ ): {|
35545
+ [k: string]: any,
35546
+ |};
35547
+
35548
+ /**
35549
+ * Converts this ReplRuntimeInteractive to JSON.
35550
+ * @returns JSON object
35551
+ */
35552
+ toJSON(): {|
35553
+ [k: string]: any,
35554
+ |};
35555
+
35556
+ /**
35557
+ * Gets the default type url for ReplRuntimeInteractive
35558
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35559
+ * @returns The default type url
35560
+ */
35561
+ static getTypeUrl(typeUrlPrefix?: string): string;
35562
+ }
35563
+
35564
+ /**
35565
+ * Properties of a ReplRuntimeDeployment.
35566
+ */
35567
+ declare type replit$goval$api$IReplRuntimeDeployment = {||};
35568
+
35569
+ /**
35570
+ * Represents a ReplRuntimeDeployment.
35571
+ */
35572
+ declare class replit$goval$api$ReplRuntimeDeployment {
35573
+ /**
35574
+ * Constructs a new ReplRuntimeDeployment.
35575
+ * @param [properties] Properties to set
35576
+ */
35577
+ constructor(properties?: replit$goval$api$IReplRuntimeDeployment): this;
35578
+
35579
+ /**
35580
+ * Creates a new ReplRuntimeDeployment instance using the specified properties.
35581
+ * @param [properties] Properties to set
35582
+ * @returns ReplRuntimeDeployment instance
35583
+ */
35584
+ static create(
35585
+ properties?: replit$goval$api$IReplRuntimeDeployment
35586
+ ): replit$goval$api$ReplRuntimeDeployment;
35587
+
35588
+ /**
35589
+ * [object Object],[object Object],[object Object]
35590
+ * @param message ReplRuntimeDeployment message or plain object to encode
35591
+ * @param [writer] Writer to encode to
35592
+ * @returns Writer
35593
+ */
35594
+ static encode(
35595
+ message: replit$goval$api$ReplRuntimeDeployment,
35596
+ writer?: $protobuf.Writer
35597
+ ): $protobuf.Writer;
35598
+
35599
+ /**
35600
+ * [object Object],[object Object],[object Object]
35601
+ * @param message ReplRuntimeDeployment message or plain object to encode
35602
+ * @param [writer] Writer to encode to
35603
+ * @returns Writer
35604
+ */
35605
+ static encodeDelimited(
35606
+ message: replit$goval$api$ReplRuntimeDeployment,
35607
+ writer?: $protobuf.Writer
35608
+ ): $protobuf.Writer;
35609
+
35610
+ /**
35611
+ * Decodes a ReplRuntimeDeployment message from the specified reader or buffer.
35612
+ * @param reader Reader or buffer to decode from
35613
+ * @param [length] Message length if known beforehand
35614
+ * @returns ReplRuntimeDeployment
35615
+ * @throws {Error} If the payload is not a reader or valid buffer
35616
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35617
+ */
35618
+ static decode(
35619
+ reader: $protobuf.Reader | Uint8Array,
35620
+ length?: number
35621
+ ): replit$goval$api$ReplRuntimeDeployment;
35622
+
35623
+ /**
35624
+ * Decodes a ReplRuntimeDeployment message from the specified reader or buffer, length delimited.
35625
+ * @param reader Reader or buffer to decode from
35626
+ * @returns ReplRuntimeDeployment
35627
+ * @throws {Error} If the payload is not a reader or valid buffer
35628
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35629
+ */
35630
+ static decodeDelimited(
35631
+ reader: $protobuf.Reader | Uint8Array
35632
+ ): replit$goval$api$ReplRuntimeDeployment;
35633
+
35634
+ /**
35635
+ * Verifies a ReplRuntimeDeployment message.
35636
+ * @param message Plain object to verify
35637
+ * @returns `null` if valid, otherwise the reason why it is not
35638
+ */
35639
+ static verify(message: {|
35640
+ [k: string]: any,
35641
+ |}): string | null;
35642
+
35643
+ /**
35644
+ * Creates a ReplRuntimeDeployment message from a plain object. Also converts values to their respective internal types.
35645
+ * @param object Plain object
35646
+ * @returns ReplRuntimeDeployment
35647
+ */
35648
+ static fromObject(object: {|
35649
+ [k: string]: any,
35650
+ |}): replit$goval$api$ReplRuntimeDeployment;
35651
+
35652
+ /**
35653
+ * Creates a plain object from a ReplRuntimeDeployment message. Also converts values to other types if specified.
35654
+ * @param message ReplRuntimeDeployment
35655
+ * @param [options] Conversion options
35656
+ * @returns Plain object
35657
+ */
35658
+ static toObject(
35659
+ message: replit$goval$api$ReplRuntimeDeployment,
35660
+ options?: $protobuf.IConversionOptions
35661
+ ): {|
35662
+ [k: string]: any,
35663
+ |};
35664
+
35665
+ /**
35666
+ * Converts this ReplRuntimeDeployment to JSON.
35667
+ * @returns JSON object
35668
+ */
35669
+ toJSON(): {|
35670
+ [k: string]: any,
35671
+ |};
35672
+
35673
+ /**
35674
+ * Gets the default type url for ReplRuntimeDeployment
35675
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35676
+ * @returns The default type url
35677
+ */
35678
+ static getTypeUrl(typeUrlPrefix?: string): string;
35679
+ }
35680
+
35401
35681
  declare var npm$namespace$replit$goval$api$lore: {|
35402
35682
  ILoreCommand: Class<replit$goval$api$lore$ILoreCommand>,
35403
35683
  IClusterTransfer: Class<replit$goval$api$lore$IClusterTransfer>,
@@ -37503,7 +37783,6 @@ declare var npm$namespace$replit$goval$api$repl: {|
37503
37783
  IPermissions: Class<replit$goval$api$repl$IPermissions>,
37504
37784
  IMetadata: Class<replit$goval$api$repl$IMetadata>,
37505
37785
  IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
37506
- IPid2: Class<replit$goval$api$repl$IPid2>,
37507
37786
  Buckets: typeof replit$goval$api$repl$Buckets,
37508
37787
  Repl: typeof replit$goval$api$repl$Repl,
37509
37788
  UserId: typeof replit$goval$api$repl$UserId,
@@ -37511,7 +37790,6 @@ declare var npm$namespace$replit$goval$api$repl: {|
37511
37790
  Permissions: typeof replit$goval$api$repl$Permissions,
37512
37791
  Metadata: typeof replit$goval$api$repl$Metadata,
37513
37792
  BuildInfo: typeof replit$goval$api$repl$BuildInfo,
37514
- Pid2: typeof replit$goval$api$repl$Pid2,
37515
37793
  |};
37516
37794
 
37517
37795
  /**
@@ -38783,153 +39061,6 @@ declare class replit$goval$api$repl$BuildInfo {
38783
39061
  static getTypeUrl(typeUrlPrefix?: string): string;
38784
39062
  }
38785
39063
 
38786
- /**
38787
- * Properties of a Pid2.
38788
- */
38789
- declare type replit$goval$api$repl$IPid2 = {|
38790
- /**
38791
- * Pid2 bucket
38792
- */
38793
- bucket?: $Values<typeof replit$goval$api$repl$Pid2$Bucket> | null,
38794
-
38795
- /**
38796
- * Pid2 version
38797
- */
38798
- version?: string | null,
38799
- |};
38800
-
38801
- /**
38802
- * Represents a Pid2.
38803
- */
38804
- declare class replit$goval$api$repl$Pid2 {
38805
- /**
38806
- * Constructs a new Pid2.
38807
- * @param [properties] Properties to set
38808
- */
38809
- constructor(properties?: replit$goval$api$repl$IPid2): this;
38810
-
38811
- /**
38812
- * Pid2 bucket.
38813
- */
38814
- bucket: $Values<typeof replit$goval$api$repl$Pid2$Bucket>;
38815
-
38816
- /**
38817
- * Pid2 version.
38818
- */
38819
- version: string;
38820
-
38821
- /**
38822
- * Creates a new Pid2 instance using the specified properties.
38823
- * @param [properties] Properties to set
38824
- * @returns Pid2 instance
38825
- */
38826
- static create(
38827
- properties?: replit$goval$api$repl$IPid2
38828
- ): replit$goval$api$repl$Pid2;
38829
-
38830
- /**
38831
- * [object Object],[object Object],[object Object]
38832
- * @param message Pid2 message or plain object to encode
38833
- * @param [writer] Writer to encode to
38834
- * @returns Writer
38835
- */
38836
- static encode(
38837
- message: replit$goval$api$repl$Pid2,
38838
- writer?: $protobuf.Writer
38839
- ): $protobuf.Writer;
38840
-
38841
- /**
38842
- * [object Object],[object Object],[object Object]
38843
- * @param message Pid2 message or plain object to encode
38844
- * @param [writer] Writer to encode to
38845
- * @returns Writer
38846
- */
38847
- static encodeDelimited(
38848
- message: replit$goval$api$repl$Pid2,
38849
- writer?: $protobuf.Writer
38850
- ): $protobuf.Writer;
38851
-
38852
- /**
38853
- * Decodes a Pid2 message from the specified reader or buffer.
38854
- * @param reader Reader or buffer to decode from
38855
- * @param [length] Message length if known beforehand
38856
- * @returns Pid2
38857
- * @throws {Error} If the payload is not a reader or valid buffer
38858
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
38859
- */
38860
- static decode(
38861
- reader: $protobuf.Reader | Uint8Array,
38862
- length?: number
38863
- ): replit$goval$api$repl$Pid2;
38864
-
38865
- /**
38866
- * Decodes a Pid2 message from the specified reader or buffer, length delimited.
38867
- * @param reader Reader or buffer to decode from
38868
- * @returns Pid2
38869
- * @throws {Error} If the payload is not a reader or valid buffer
38870
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
38871
- */
38872
- static decodeDelimited(
38873
- reader: $protobuf.Reader | Uint8Array
38874
- ): replit$goval$api$repl$Pid2;
38875
-
38876
- /**
38877
- * Verifies a Pid2 message.
38878
- * @param message Plain object to verify
38879
- * @returns `null` if valid, otherwise the reason why it is not
38880
- */
38881
- static verify(message: {|
38882
- [k: string]: any,
38883
- |}): string | null;
38884
-
38885
- /**
38886
- * Creates a Pid2 message from a plain object. Also converts values to their respective internal types.
38887
- * @param object Plain object
38888
- * @returns Pid2
38889
- */
38890
- static fromObject(object: {|
38891
- [k: string]: any,
38892
- |}): replit$goval$api$repl$Pid2;
38893
-
38894
- /**
38895
- * Creates a plain object from a Pid2 message. Also converts values to other types if specified.
38896
- * @param message Pid2
38897
- * @param [options] Conversion options
38898
- * @returns Plain object
38899
- */
38900
- static toObject(
38901
- message: replit$goval$api$repl$Pid2,
38902
- options?: $protobuf.IConversionOptions
38903
- ): {|
38904
- [k: string]: any,
38905
- |};
38906
-
38907
- /**
38908
- * Converts this Pid2 to JSON.
38909
- * @returns JSON object
38910
- */
38911
- toJSON(): {|
38912
- [k: string]: any,
38913
- |};
38914
-
38915
- /**
38916
- * Gets the default type url for Pid2
38917
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
38918
- * @returns The default type url
38919
- */
38920
- static getTypeUrl(typeUrlPrefix?: string): string;
38921
- static Bucket: typeof replit$goval$api$repl$Pid2$Bucket;
38922
- }
38923
-
38924
- /**
38925
- * Bucket enum.
38926
- */
38927
-
38928
- declare var replit$goval$api$repl$Pid2$Bucket: {|
38929
- +PRODUCTION: 0, // 0
38930
- +DEVELOPMENT: 1, // 1
38931
- |};
38932
-
38933
39064
  /**
38934
39065
  * Properties of a PrivateReplsPowerup.
38935
39066
  */
@@ -39628,1270 +39759,6 @@ declare class replit$goval$api$UserPowerUps {
39628
39759
  */
39629
39760
  static getTypeUrl(typeUrlPrefix?: string): string;
39630
39761
  }
39631
-
39632
- declare var npm$namespace$replit$goval$api$pid2: {|
39633
- IClientFrame: Class<replit$goval$api$pid2$IClientFrame>,
39634
- IServerFrame: Class<replit$goval$api$pid2$IServerFrame>,
39635
- ICallRequest: Class<replit$goval$api$pid2$ICallRequest>,
39636
- IStreamContinuationRequest: Class<replit$goval$api$pid2$IStreamContinuationRequest>,
39637
- IStreamCancelRequest: Class<replit$goval$api$pid2$IStreamCancelRequest>,
39638
- ICallResponse: Class<replit$goval$api$pid2$ICallResponse>,
39639
- IError: Class<replit$goval$api$pid2$IError>,
39640
- IPing: Class<replit$goval$api$pid2$IPing>,
39641
- ClientFrame: typeof replit$goval$api$pid2$ClientFrame,
39642
- ServerFrame: typeof replit$goval$api$pid2$ServerFrame,
39643
- CallRequest: typeof replit$goval$api$pid2$CallRequest,
39644
- StreamContinuationRequest: typeof replit$goval$api$pid2$StreamContinuationRequest,
39645
- StreamCancelRequest: typeof replit$goval$api$pid2$StreamCancelRequest,
39646
- CallResponse: typeof replit$goval$api$pid2$CallResponse,
39647
- Error: typeof replit$goval$api$pid2$Error,
39648
- Ping: typeof replit$goval$api$pid2$Ping,
39649
- |};
39650
-
39651
- /**
39652
- * Properties of a ClientFrame.
39653
- */
39654
- declare type replit$goval$api$pid2$IClientFrame = {|
39655
- /**
39656
- * ClientFrame sessionId
39657
- */
39658
- sessionId?: number | null,
39659
-
39660
- /**
39661
- * ClientFrame call
39662
- */
39663
- call?:
39664
- | replit$goval$api$pid2$CallRequest
39665
- | replit$goval$api$pid2$ICallRequest
39666
- | null,
39667
-
39668
- /**
39669
- * ClientFrame streamContinuation
39670
- */
39671
- streamContinuation?:
39672
- | replit$goval$api$pid2$StreamContinuationRequest
39673
- | replit$goval$api$pid2$IStreamContinuationRequest
39674
- | null,
39675
-
39676
- /**
39677
- * ClientFrame streamCancel
39678
- */
39679
- streamCancel?:
39680
- | replit$goval$api$pid2$StreamCancelRequest
39681
- | replit$goval$api$pid2$IStreamCancelRequest
39682
- | null,
39683
-
39684
- /**
39685
- * ClientFrame ping
39686
- */
39687
- ping?: replit$goval$api$pid2$Ping | replit$goval$api$pid2$IPing | null,
39688
- |};
39689
-
39690
- /**
39691
- * Represents a ClientFrame.
39692
- */
39693
- declare class replit$goval$api$pid2$ClientFrame {
39694
- /**
39695
- * Constructs a new ClientFrame.
39696
- * @param [properties] Properties to set
39697
- */
39698
- constructor(properties?: replit$goval$api$pid2$IClientFrame): this;
39699
-
39700
- /**
39701
- * ClientFrame sessionId.
39702
- */
39703
- sessionId: number;
39704
-
39705
- /**
39706
- * ClientFrame call.
39707
- */
39708
- call?: replit$goval$api$pid2$CallRequest | null;
39709
-
39710
- /**
39711
- * ClientFrame streamContinuation.
39712
- */
39713
- streamContinuation?: replit$goval$api$pid2$StreamContinuationRequest | null;
39714
-
39715
- /**
39716
- * ClientFrame streamCancel.
39717
- */
39718
- streamCancel?: replit$goval$api$pid2$StreamCancelRequest | null;
39719
-
39720
- /**
39721
- * ClientFrame ping.
39722
- */
39723
- ping?: replit$goval$api$pid2$Ping | null;
39724
-
39725
- /**
39726
- * ClientFrame body.
39727
- */
39728
- body?: "call" | "streamContinuation" | "streamCancel" | "ping";
39729
-
39730
- /**
39731
- * Creates a new ClientFrame instance using the specified properties.
39732
- * @param [properties] Properties to set
39733
- * @returns ClientFrame instance
39734
- */
39735
- static create(
39736
- properties?: replit$goval$api$pid2$IClientFrame
39737
- ): replit$goval$api$pid2$ClientFrame;
39738
-
39739
- /**
39740
- * [object Object],[object Object],[object Object]
39741
- * @param message ClientFrame message or plain object to encode
39742
- * @param [writer] Writer to encode to
39743
- * @returns Writer
39744
- */
39745
- static encode(
39746
- message: replit$goval$api$pid2$ClientFrame,
39747
- writer?: $protobuf.Writer
39748
- ): $protobuf.Writer;
39749
-
39750
- /**
39751
- * [object Object],[object Object],[object Object]
39752
- * @param message ClientFrame message or plain object to encode
39753
- * @param [writer] Writer to encode to
39754
- * @returns Writer
39755
- */
39756
- static encodeDelimited(
39757
- message: replit$goval$api$pid2$ClientFrame,
39758
- writer?: $protobuf.Writer
39759
- ): $protobuf.Writer;
39760
-
39761
- /**
39762
- * Decodes a ClientFrame message from the specified reader or buffer.
39763
- * @param reader Reader or buffer to decode from
39764
- * @param [length] Message length if known beforehand
39765
- * @returns ClientFrame
39766
- * @throws {Error} If the payload is not a reader or valid buffer
39767
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
39768
- */
39769
- static decode(
39770
- reader: $protobuf.Reader | Uint8Array,
39771
- length?: number
39772
- ): replit$goval$api$pid2$ClientFrame;
39773
-
39774
- /**
39775
- * Decodes a ClientFrame message from the specified reader or buffer, length delimited.
39776
- * @param reader Reader or buffer to decode from
39777
- * @returns ClientFrame
39778
- * @throws {Error} If the payload is not a reader or valid buffer
39779
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
39780
- */
39781
- static decodeDelimited(
39782
- reader: $protobuf.Reader | Uint8Array
39783
- ): replit$goval$api$pid2$ClientFrame;
39784
-
39785
- /**
39786
- * Verifies a ClientFrame message.
39787
- * @param message Plain object to verify
39788
- * @returns `null` if valid, otherwise the reason why it is not
39789
- */
39790
- static verify(message: {|
39791
- [k: string]: any,
39792
- |}): string | null;
39793
-
39794
- /**
39795
- * Creates a ClientFrame message from a plain object. Also converts values to their respective internal types.
39796
- * @param object Plain object
39797
- * @returns ClientFrame
39798
- */
39799
- static fromObject(object: {|
39800
- [k: string]: any,
39801
- |}): replit$goval$api$pid2$ClientFrame;
39802
-
39803
- /**
39804
- * Creates a plain object from a ClientFrame message. Also converts values to other types if specified.
39805
- * @param message ClientFrame
39806
- * @param [options] Conversion options
39807
- * @returns Plain object
39808
- */
39809
- static toObject(
39810
- message: replit$goval$api$pid2$ClientFrame,
39811
- options?: $protobuf.IConversionOptions
39812
- ): {|
39813
- [k: string]: any,
39814
- |};
39815
-
39816
- /**
39817
- * Converts this ClientFrame to JSON.
39818
- * @returns JSON object
39819
- */
39820
- toJSON(): {|
39821
- [k: string]: any,
39822
- |};
39823
-
39824
- /**
39825
- * Gets the default type url for ClientFrame
39826
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
39827
- * @returns The default type url
39828
- */
39829
- static getTypeUrl(typeUrlPrefix?: string): string;
39830
- }
39831
-
39832
- /**
39833
- * Properties of a ServerFrame.
39834
- */
39835
- declare type replit$goval$api$pid2$IServerFrame = {|
39836
- /**
39837
- * ServerFrame sessionId
39838
- */
39839
- sessionId?: number | null,
39840
-
39841
- /**
39842
- * ServerFrame response
39843
- */
39844
- response?:
39845
- | replit$goval$api$pid2$CallResponse
39846
- | replit$goval$api$pid2$ICallResponse
39847
- | null,
39848
-
39849
- /**
39850
- * ServerFrame goaway
39851
- */
39852
- goaway?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
39853
-
39854
- /**
39855
- * ServerFrame ping
39856
- */
39857
- ping?: replit$goval$api$pid2$Ping | replit$goval$api$pid2$IPing | null,
39858
- |};
39859
-
39860
- /**
39861
- * Represents a ServerFrame.
39862
- */
39863
- declare class replit$goval$api$pid2$ServerFrame {
39864
- /**
39865
- * Constructs a new ServerFrame.
39866
- * @param [properties] Properties to set
39867
- */
39868
- constructor(properties?: replit$goval$api$pid2$IServerFrame): this;
39869
-
39870
- /**
39871
- * ServerFrame sessionId.
39872
- */
39873
- sessionId: number;
39874
-
39875
- /**
39876
- * ServerFrame response.
39877
- */
39878
- response?: replit$goval$api$pid2$CallResponse | null;
39879
-
39880
- /**
39881
- * ServerFrame goaway.
39882
- */
39883
- goaway?: replit$goval$api$pid2$Error | null;
39884
-
39885
- /**
39886
- * ServerFrame ping.
39887
- */
39888
- ping?: replit$goval$api$pid2$Ping | null;
39889
-
39890
- /**
39891
- * ServerFrame body.
39892
- */
39893
- body?: "response" | "goaway" | "ping";
39894
-
39895
- /**
39896
- * Creates a new ServerFrame instance using the specified properties.
39897
- * @param [properties] Properties to set
39898
- * @returns ServerFrame instance
39899
- */
39900
- static create(
39901
- properties?: replit$goval$api$pid2$IServerFrame
39902
- ): replit$goval$api$pid2$ServerFrame;
39903
-
39904
- /**
39905
- * [object Object],[object Object],[object Object]
39906
- * @param message ServerFrame message or plain object to encode
39907
- * @param [writer] Writer to encode to
39908
- * @returns Writer
39909
- */
39910
- static encode(
39911
- message: replit$goval$api$pid2$ServerFrame,
39912
- writer?: $protobuf.Writer
39913
- ): $protobuf.Writer;
39914
-
39915
- /**
39916
- * [object Object],[object Object],[object Object]
39917
- * @param message ServerFrame message or plain object to encode
39918
- * @param [writer] Writer to encode to
39919
- * @returns Writer
39920
- */
39921
- static encodeDelimited(
39922
- message: replit$goval$api$pid2$ServerFrame,
39923
- writer?: $protobuf.Writer
39924
- ): $protobuf.Writer;
39925
-
39926
- /**
39927
- * Decodes a ServerFrame message from the specified reader or buffer.
39928
- * @param reader Reader or buffer to decode from
39929
- * @param [length] Message length if known beforehand
39930
- * @returns ServerFrame
39931
- * @throws {Error} If the payload is not a reader or valid buffer
39932
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
39933
- */
39934
- static decode(
39935
- reader: $protobuf.Reader | Uint8Array,
39936
- length?: number
39937
- ): replit$goval$api$pid2$ServerFrame;
39938
-
39939
- /**
39940
- * Decodes a ServerFrame message from the specified reader or buffer, length delimited.
39941
- * @param reader Reader or buffer to decode from
39942
- * @returns ServerFrame
39943
- * @throws {Error} If the payload is not a reader or valid buffer
39944
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
39945
- */
39946
- static decodeDelimited(
39947
- reader: $protobuf.Reader | Uint8Array
39948
- ): replit$goval$api$pid2$ServerFrame;
39949
-
39950
- /**
39951
- * Verifies a ServerFrame message.
39952
- * @param message Plain object to verify
39953
- * @returns `null` if valid, otherwise the reason why it is not
39954
- */
39955
- static verify(message: {|
39956
- [k: string]: any,
39957
- |}): string | null;
39958
-
39959
- /**
39960
- * Creates a ServerFrame message from a plain object. Also converts values to their respective internal types.
39961
- * @param object Plain object
39962
- * @returns ServerFrame
39963
- */
39964
- static fromObject(object: {|
39965
- [k: string]: any,
39966
- |}): replit$goval$api$pid2$ServerFrame;
39967
-
39968
- /**
39969
- * Creates a plain object from a ServerFrame message. Also converts values to other types if specified.
39970
- * @param message ServerFrame
39971
- * @param [options] Conversion options
39972
- * @returns Plain object
39973
- */
39974
- static toObject(
39975
- message: replit$goval$api$pid2$ServerFrame,
39976
- options?: $protobuf.IConversionOptions
39977
- ): {|
39978
- [k: string]: any,
39979
- |};
39980
-
39981
- /**
39982
- * Converts this ServerFrame to JSON.
39983
- * @returns JSON object
39984
- */
39985
- toJSON(): {|
39986
- [k: string]: any,
39987
- |};
39988
-
39989
- /**
39990
- * Gets the default type url for ServerFrame
39991
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
39992
- * @returns The default type url
39993
- */
39994
- static getTypeUrl(typeUrlPrefix?: string): string;
39995
- }
39996
-
39997
- /**
39998
- * Properties of a CallRequest.
39999
- */
40000
- declare type replit$goval$api$pid2$ICallRequest = {|
40001
- /**
40002
- * CallRequest streamId
40003
- */
40004
- streamId?: number | null,
40005
-
40006
- /**
40007
- * CallRequest service
40008
- */
40009
- service?: string | null,
40010
-
40011
- /**
40012
- * CallRequest method
40013
- */
40014
- method?: string | null,
40015
-
40016
- /**
40017
- * CallRequest unaryRequest
40018
- */
40019
- unaryRequest?: google$protobuf$Any | google$protobuf$IAny | null,
40020
-
40021
- /**
40022
- * CallRequest streamHeader
40023
- */
40024
- streamHeader?: google$protobuf$Any | google$protobuf$IAny | null,
40025
- |};
40026
-
40027
- /**
40028
- * Represents a CallRequest.
40029
- */
40030
- declare class replit$goval$api$pid2$CallRequest {
40031
- /**
40032
- * Constructs a new CallRequest.
40033
- * @param [properties] Properties to set
40034
- */
40035
- constructor(properties?: replit$goval$api$pid2$ICallRequest): this;
40036
-
40037
- /**
40038
- * CallRequest streamId.
40039
- */
40040
- streamId: number;
40041
-
40042
- /**
40043
- * CallRequest service.
40044
- */
40045
- service: string;
40046
-
40047
- /**
40048
- * CallRequest method.
40049
- */
40050
- method: string;
40051
-
40052
- /**
40053
- * CallRequest unaryRequest.
40054
- */
40055
- unaryRequest?: google$protobuf$Any | null;
40056
-
40057
- /**
40058
- * CallRequest streamHeader.
40059
- */
40060
- streamHeader?: google$protobuf$Any | null;
40061
-
40062
- /**
40063
- * CallRequest body.
40064
- */
40065
- body?: "unaryRequest" | "streamHeader";
40066
-
40067
- /**
40068
- * Creates a new CallRequest instance using the specified properties.
40069
- * @param [properties] Properties to set
40070
- * @returns CallRequest instance
40071
- */
40072
- static create(
40073
- properties?: replit$goval$api$pid2$ICallRequest
40074
- ): replit$goval$api$pid2$CallRequest;
40075
-
40076
- /**
40077
- * [object Object],[object Object],[object Object]
40078
- * @param message CallRequest message or plain object to encode
40079
- * @param [writer] Writer to encode to
40080
- * @returns Writer
40081
- */
40082
- static encode(
40083
- message: replit$goval$api$pid2$CallRequest,
40084
- writer?: $protobuf.Writer
40085
- ): $protobuf.Writer;
40086
-
40087
- /**
40088
- * [object Object],[object Object],[object Object]
40089
- * @param message CallRequest message or plain object to encode
40090
- * @param [writer] Writer to encode to
40091
- * @returns Writer
40092
- */
40093
- static encodeDelimited(
40094
- message: replit$goval$api$pid2$CallRequest,
40095
- writer?: $protobuf.Writer
40096
- ): $protobuf.Writer;
40097
-
40098
- /**
40099
- * Decodes a CallRequest message from the specified reader or buffer.
40100
- * @param reader Reader or buffer to decode from
40101
- * @param [length] Message length if known beforehand
40102
- * @returns CallRequest
40103
- * @throws {Error} If the payload is not a reader or valid buffer
40104
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40105
- */
40106
- static decode(
40107
- reader: $protobuf.Reader | Uint8Array,
40108
- length?: number
40109
- ): replit$goval$api$pid2$CallRequest;
40110
-
40111
- /**
40112
- * Decodes a CallRequest message from the specified reader or buffer, length delimited.
40113
- * @param reader Reader or buffer to decode from
40114
- * @returns CallRequest
40115
- * @throws {Error} If the payload is not a reader or valid buffer
40116
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40117
- */
40118
- static decodeDelimited(
40119
- reader: $protobuf.Reader | Uint8Array
40120
- ): replit$goval$api$pid2$CallRequest;
40121
-
40122
- /**
40123
- * Verifies a CallRequest message.
40124
- * @param message Plain object to verify
40125
- * @returns `null` if valid, otherwise the reason why it is not
40126
- */
40127
- static verify(message: {|
40128
- [k: string]: any,
40129
- |}): string | null;
40130
-
40131
- /**
40132
- * Creates a CallRequest message from a plain object. Also converts values to their respective internal types.
40133
- * @param object Plain object
40134
- * @returns CallRequest
40135
- */
40136
- static fromObject(object: {|
40137
- [k: string]: any,
40138
- |}): replit$goval$api$pid2$CallRequest;
40139
-
40140
- /**
40141
- * Creates a plain object from a CallRequest message. Also converts values to other types if specified.
40142
- * @param message CallRequest
40143
- * @param [options] Conversion options
40144
- * @returns Plain object
40145
- */
40146
- static toObject(
40147
- message: replit$goval$api$pid2$CallRequest,
40148
- options?: $protobuf.IConversionOptions
40149
- ): {|
40150
- [k: string]: any,
40151
- |};
40152
-
40153
- /**
40154
- * Converts this CallRequest to JSON.
40155
- * @returns JSON object
40156
- */
40157
- toJSON(): {|
40158
- [k: string]: any,
40159
- |};
40160
-
40161
- /**
40162
- * Gets the default type url for CallRequest
40163
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40164
- * @returns The default type url
40165
- */
40166
- static getTypeUrl(typeUrlPrefix?: string): string;
40167
- }
40168
-
40169
- /**
40170
- * Properties of a StreamContinuationRequest.
40171
- */
40172
- declare type replit$goval$api$pid2$IStreamContinuationRequest = {|
40173
- /**
40174
- * StreamContinuationRequest streamId
40175
- */
40176
- streamId?: number | null,
40177
-
40178
- /**
40179
- * StreamContinuationRequest streamEnd
40180
- */
40181
- streamEnd?: boolean | null,
40182
-
40183
- /**
40184
- * StreamContinuationRequest request
40185
- */
40186
- request?: google$protobuf$Any | google$protobuf$IAny | null,
40187
- |};
40188
-
40189
- /**
40190
- * Represents a StreamContinuationRequest.
40191
- */
40192
- declare class replit$goval$api$pid2$StreamContinuationRequest {
40193
- /**
40194
- * Constructs a new StreamContinuationRequest.
40195
- * @param [properties] Properties to set
40196
- */
40197
- constructor(
40198
- properties?: replit$goval$api$pid2$IStreamContinuationRequest
40199
- ): this;
40200
-
40201
- /**
40202
- * StreamContinuationRequest streamId.
40203
- */
40204
- streamId: number;
40205
-
40206
- /**
40207
- * StreamContinuationRequest streamEnd.
40208
- */
40209
- streamEnd: boolean;
40210
-
40211
- /**
40212
- * StreamContinuationRequest request.
40213
- */
40214
- request?: google$protobuf$Any | null;
40215
-
40216
- /**
40217
- * Creates a new StreamContinuationRequest instance using the specified properties.
40218
- * @param [properties] Properties to set
40219
- * @returns StreamContinuationRequest instance
40220
- */
40221
- static create(
40222
- properties?: replit$goval$api$pid2$IStreamContinuationRequest
40223
- ): replit$goval$api$pid2$StreamContinuationRequest;
40224
-
40225
- /**
40226
- * [object Object],[object Object],[object Object]
40227
- * @param message StreamContinuationRequest message or plain object to encode
40228
- * @param [writer] Writer to encode to
40229
- * @returns Writer
40230
- */
40231
- static encode(
40232
- message: replit$goval$api$pid2$StreamContinuationRequest,
40233
- writer?: $protobuf.Writer
40234
- ): $protobuf.Writer;
40235
-
40236
- /**
40237
- * [object Object],[object Object],[object Object]
40238
- * @param message StreamContinuationRequest message or plain object to encode
40239
- * @param [writer] Writer to encode to
40240
- * @returns Writer
40241
- */
40242
- static encodeDelimited(
40243
- message: replit$goval$api$pid2$StreamContinuationRequest,
40244
- writer?: $protobuf.Writer
40245
- ): $protobuf.Writer;
40246
-
40247
- /**
40248
- * Decodes a StreamContinuationRequest message from the specified reader or buffer.
40249
- * @param reader Reader or buffer to decode from
40250
- * @param [length] Message length if known beforehand
40251
- * @returns StreamContinuationRequest
40252
- * @throws {Error} If the payload is not a reader or valid buffer
40253
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40254
- */
40255
- static decode(
40256
- reader: $protobuf.Reader | Uint8Array,
40257
- length?: number
40258
- ): replit$goval$api$pid2$StreamContinuationRequest;
40259
-
40260
- /**
40261
- * Decodes a StreamContinuationRequest message from the specified reader or buffer, length delimited.
40262
- * @param reader Reader or buffer to decode from
40263
- * @returns StreamContinuationRequest
40264
- * @throws {Error} If the payload is not a reader or valid buffer
40265
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40266
- */
40267
- static decodeDelimited(
40268
- reader: $protobuf.Reader | Uint8Array
40269
- ): replit$goval$api$pid2$StreamContinuationRequest;
40270
-
40271
- /**
40272
- * Verifies a StreamContinuationRequest message.
40273
- * @param message Plain object to verify
40274
- * @returns `null` if valid, otherwise the reason why it is not
40275
- */
40276
- static verify(message: {|
40277
- [k: string]: any,
40278
- |}): string | null;
40279
-
40280
- /**
40281
- * Creates a StreamContinuationRequest message from a plain object. Also converts values to their respective internal types.
40282
- * @param object Plain object
40283
- * @returns StreamContinuationRequest
40284
- */
40285
- static fromObject(object: {|
40286
- [k: string]: any,
40287
- |}): replit$goval$api$pid2$StreamContinuationRequest;
40288
-
40289
- /**
40290
- * Creates a plain object from a StreamContinuationRequest message. Also converts values to other types if specified.
40291
- * @param message StreamContinuationRequest
40292
- * @param [options] Conversion options
40293
- * @returns Plain object
40294
- */
40295
- static toObject(
40296
- message: replit$goval$api$pid2$StreamContinuationRequest,
40297
- options?: $protobuf.IConversionOptions
40298
- ): {|
40299
- [k: string]: any,
40300
- |};
40301
-
40302
- /**
40303
- * Converts this StreamContinuationRequest to JSON.
40304
- * @returns JSON object
40305
- */
40306
- toJSON(): {|
40307
- [k: string]: any,
40308
- |};
40309
-
40310
- /**
40311
- * Gets the default type url for StreamContinuationRequest
40312
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40313
- * @returns The default type url
40314
- */
40315
- static getTypeUrl(typeUrlPrefix?: string): string;
40316
- }
40317
-
40318
- /**
40319
- * Properties of a StreamCancelRequest.
40320
- */
40321
- declare type replit$goval$api$pid2$IStreamCancelRequest = {|
40322
- /**
40323
- * StreamCancelRequest streamId
40324
- */
40325
- streamId?: number | null,
40326
- |};
40327
-
40328
- /**
40329
- * Represents a StreamCancelRequest.
40330
- */
40331
- declare class replit$goval$api$pid2$StreamCancelRequest {
40332
- /**
40333
- * Constructs a new StreamCancelRequest.
40334
- * @param [properties] Properties to set
40335
- */
40336
- constructor(properties?: replit$goval$api$pid2$IStreamCancelRequest): this;
40337
-
40338
- /**
40339
- * StreamCancelRequest streamId.
40340
- */
40341
- streamId: number;
40342
-
40343
- /**
40344
- * Creates a new StreamCancelRequest instance using the specified properties.
40345
- * @param [properties] Properties to set
40346
- * @returns StreamCancelRequest instance
40347
- */
40348
- static create(
40349
- properties?: replit$goval$api$pid2$IStreamCancelRequest
40350
- ): replit$goval$api$pid2$StreamCancelRequest;
40351
-
40352
- /**
40353
- * [object Object],[object Object],[object Object]
40354
- * @param message StreamCancelRequest message or plain object to encode
40355
- * @param [writer] Writer to encode to
40356
- * @returns Writer
40357
- */
40358
- static encode(
40359
- message: replit$goval$api$pid2$StreamCancelRequest,
40360
- writer?: $protobuf.Writer
40361
- ): $protobuf.Writer;
40362
-
40363
- /**
40364
- * [object Object],[object Object],[object Object]
40365
- * @param message StreamCancelRequest message or plain object to encode
40366
- * @param [writer] Writer to encode to
40367
- * @returns Writer
40368
- */
40369
- static encodeDelimited(
40370
- message: replit$goval$api$pid2$StreamCancelRequest,
40371
- writer?: $protobuf.Writer
40372
- ): $protobuf.Writer;
40373
-
40374
- /**
40375
- * Decodes a StreamCancelRequest message from the specified reader or buffer.
40376
- * @param reader Reader or buffer to decode from
40377
- * @param [length] Message length if known beforehand
40378
- * @returns StreamCancelRequest
40379
- * @throws {Error} If the payload is not a reader or valid buffer
40380
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40381
- */
40382
- static decode(
40383
- reader: $protobuf.Reader | Uint8Array,
40384
- length?: number
40385
- ): replit$goval$api$pid2$StreamCancelRequest;
40386
-
40387
- /**
40388
- * Decodes a StreamCancelRequest message from the specified reader or buffer, length delimited.
40389
- * @param reader Reader or buffer to decode from
40390
- * @returns StreamCancelRequest
40391
- * @throws {Error} If the payload is not a reader or valid buffer
40392
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40393
- */
40394
- static decodeDelimited(
40395
- reader: $protobuf.Reader | Uint8Array
40396
- ): replit$goval$api$pid2$StreamCancelRequest;
40397
-
40398
- /**
40399
- * Verifies a StreamCancelRequest message.
40400
- * @param message Plain object to verify
40401
- * @returns `null` if valid, otherwise the reason why it is not
40402
- */
40403
- static verify(message: {|
40404
- [k: string]: any,
40405
- |}): string | null;
40406
-
40407
- /**
40408
- * Creates a StreamCancelRequest message from a plain object. Also converts values to their respective internal types.
40409
- * @param object Plain object
40410
- * @returns StreamCancelRequest
40411
- */
40412
- static fromObject(object: {|
40413
- [k: string]: any,
40414
- |}): replit$goval$api$pid2$StreamCancelRequest;
40415
-
40416
- /**
40417
- * Creates a plain object from a StreamCancelRequest message. Also converts values to other types if specified.
40418
- * @param message StreamCancelRequest
40419
- * @param [options] Conversion options
40420
- * @returns Plain object
40421
- */
40422
- static toObject(
40423
- message: replit$goval$api$pid2$StreamCancelRequest,
40424
- options?: $protobuf.IConversionOptions
40425
- ): {|
40426
- [k: string]: any,
40427
- |};
40428
-
40429
- /**
40430
- * Converts this StreamCancelRequest to JSON.
40431
- * @returns JSON object
40432
- */
40433
- toJSON(): {|
40434
- [k: string]: any,
40435
- |};
40436
-
40437
- /**
40438
- * Gets the default type url for StreamCancelRequest
40439
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40440
- * @returns The default type url
40441
- */
40442
- static getTypeUrl(typeUrlPrefix?: string): string;
40443
- }
40444
-
40445
- /**
40446
- * Properties of a CallResponse.
40447
- */
40448
- declare type replit$goval$api$pid2$ICallResponse = {|
40449
- /**
40450
- * CallResponse streamId
40451
- */
40452
- streamId?: number | null,
40453
-
40454
- /**
40455
- * CallResponse streamEnd
40456
- */
40457
- streamEnd?: boolean | null,
40458
-
40459
- /**
40460
- * CallResponse response
40461
- */
40462
- response?: google$protobuf$Any | google$protobuf$IAny | null,
40463
-
40464
- /**
40465
- * CallResponse error
40466
- */
40467
- error?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
40468
- |};
40469
-
40470
- /**
40471
- * Represents a CallResponse.
40472
- */
40473
- declare class replit$goval$api$pid2$CallResponse {
40474
- /**
40475
- * Constructs a new CallResponse.
40476
- * @param [properties] Properties to set
40477
- */
40478
- constructor(properties?: replit$goval$api$pid2$ICallResponse): this;
40479
-
40480
- /**
40481
- * CallResponse streamId.
40482
- */
40483
- streamId: number;
40484
-
40485
- /**
40486
- * CallResponse streamEnd.
40487
- */
40488
- streamEnd: boolean;
40489
-
40490
- /**
40491
- * CallResponse response.
40492
- */
40493
- response?: google$protobuf$Any | null;
40494
-
40495
- /**
40496
- * CallResponse error.
40497
- */
40498
- error?: replit$goval$api$pid2$Error | null;
40499
-
40500
- /**
40501
- * CallResponse body.
40502
- */
40503
- body?: "response" | "error";
40504
-
40505
- /**
40506
- * Creates a new CallResponse instance using the specified properties.
40507
- * @param [properties] Properties to set
40508
- * @returns CallResponse instance
40509
- */
40510
- static create(
40511
- properties?: replit$goval$api$pid2$ICallResponse
40512
- ): replit$goval$api$pid2$CallResponse;
40513
-
40514
- /**
40515
- * [object Object],[object Object],[object Object]
40516
- * @param message CallResponse message or plain object to encode
40517
- * @param [writer] Writer to encode to
40518
- * @returns Writer
40519
- */
40520
- static encode(
40521
- message: replit$goval$api$pid2$CallResponse,
40522
- writer?: $protobuf.Writer
40523
- ): $protobuf.Writer;
40524
-
40525
- /**
40526
- * [object Object],[object Object],[object Object]
40527
- * @param message CallResponse message or plain object to encode
40528
- * @param [writer] Writer to encode to
40529
- * @returns Writer
40530
- */
40531
- static encodeDelimited(
40532
- message: replit$goval$api$pid2$CallResponse,
40533
- writer?: $protobuf.Writer
40534
- ): $protobuf.Writer;
40535
-
40536
- /**
40537
- * Decodes a CallResponse message from the specified reader or buffer.
40538
- * @param reader Reader or buffer to decode from
40539
- * @param [length] Message length if known beforehand
40540
- * @returns CallResponse
40541
- * @throws {Error} If the payload is not a reader or valid buffer
40542
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40543
- */
40544
- static decode(
40545
- reader: $protobuf.Reader | Uint8Array,
40546
- length?: number
40547
- ): replit$goval$api$pid2$CallResponse;
40548
-
40549
- /**
40550
- * Decodes a CallResponse message from the specified reader or buffer, length delimited.
40551
- * @param reader Reader or buffer to decode from
40552
- * @returns CallResponse
40553
- * @throws {Error} If the payload is not a reader or valid buffer
40554
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40555
- */
40556
- static decodeDelimited(
40557
- reader: $protobuf.Reader | Uint8Array
40558
- ): replit$goval$api$pid2$CallResponse;
40559
-
40560
- /**
40561
- * Verifies a CallResponse message.
40562
- * @param message Plain object to verify
40563
- * @returns `null` if valid, otherwise the reason why it is not
40564
- */
40565
- static verify(message: {|
40566
- [k: string]: any,
40567
- |}): string | null;
40568
-
40569
- /**
40570
- * Creates a CallResponse message from a plain object. Also converts values to their respective internal types.
40571
- * @param object Plain object
40572
- * @returns CallResponse
40573
- */
40574
- static fromObject(object: {|
40575
- [k: string]: any,
40576
- |}): replit$goval$api$pid2$CallResponse;
40577
-
40578
- /**
40579
- * Creates a plain object from a CallResponse message. Also converts values to other types if specified.
40580
- * @param message CallResponse
40581
- * @param [options] Conversion options
40582
- * @returns Plain object
40583
- */
40584
- static toObject(
40585
- message: replit$goval$api$pid2$CallResponse,
40586
- options?: $protobuf.IConversionOptions
40587
- ): {|
40588
- [k: string]: any,
40589
- |};
40590
-
40591
- /**
40592
- * Converts this CallResponse to JSON.
40593
- * @returns JSON object
40594
- */
40595
- toJSON(): {|
40596
- [k: string]: any,
40597
- |};
40598
-
40599
- /**
40600
- * Gets the default type url for CallResponse
40601
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40602
- * @returns The default type url
40603
- */
40604
- static getTypeUrl(typeUrlPrefix?: string): string;
40605
- }
40606
-
40607
- /**
40608
- * Properties of an Error.
40609
- */
40610
- declare type replit$goval$api$pid2$IError = {|
40611
- /**
40612
- * Error code
40613
- */
40614
- code?: $Values<typeof replit$goval$api$pid2$Error$Code> | null,
40615
-
40616
- /**
40617
- * Error message
40618
- */
40619
- message?: string | null,
40620
- |};
40621
-
40622
- /**
40623
- * Represents an Error.
40624
- */
40625
- declare class replit$goval$api$pid2$Error {
40626
- /**
40627
- * Constructs a new Error.
40628
- * @param [properties] Properties to set
40629
- */
40630
- constructor(properties?: replit$goval$api$pid2$IError): this;
40631
-
40632
- /**
40633
- * Error code.
40634
- */
40635
- code: $Values<typeof replit$goval$api$pid2$Error$Code>;
40636
-
40637
- /**
40638
- * Error message.
40639
- */
40640
- message: string;
40641
-
40642
- /**
40643
- * Creates a new Error instance using the specified properties.
40644
- * @param [properties] Properties to set
40645
- * @returns Error instance
40646
- */
40647
- static create(
40648
- properties?: replit$goval$api$pid2$IError
40649
- ): replit$goval$api$pid2$Error;
40650
-
40651
- /**
40652
- * [object Object],[object Object],[object Object]
40653
- * @param message Error message or plain object to encode
40654
- * @param [writer] Writer to encode to
40655
- * @returns Writer
40656
- */
40657
- static encode(
40658
- message: replit$goval$api$pid2$Error,
40659
- writer?: $protobuf.Writer
40660
- ): $protobuf.Writer;
40661
-
40662
- /**
40663
- * [object Object],[object Object],[object Object]
40664
- * @param message Error message or plain object to encode
40665
- * @param [writer] Writer to encode to
40666
- * @returns Writer
40667
- */
40668
- static encodeDelimited(
40669
- message: replit$goval$api$pid2$Error,
40670
- writer?: $protobuf.Writer
40671
- ): $protobuf.Writer;
40672
-
40673
- /**
40674
- * Decodes an Error message from the specified reader or buffer.
40675
- * @param reader Reader or buffer to decode from
40676
- * @param [length] Message length if known beforehand
40677
- * @returns Error
40678
- * @throws {Error} If the payload is not a reader or valid buffer
40679
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40680
- */
40681
- static decode(
40682
- reader: $protobuf.Reader | Uint8Array,
40683
- length?: number
40684
- ): replit$goval$api$pid2$Error;
40685
-
40686
- /**
40687
- * Decodes an Error message from the specified reader or buffer, length delimited.
40688
- * @param reader Reader or buffer to decode from
40689
- * @returns Error
40690
- * @throws {Error} If the payload is not a reader or valid buffer
40691
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40692
- */
40693
- static decodeDelimited(
40694
- reader: $protobuf.Reader | Uint8Array
40695
- ): replit$goval$api$pid2$Error;
40696
-
40697
- /**
40698
- * Verifies an Error message.
40699
- * @param message Plain object to verify
40700
- * @returns `null` if valid, otherwise the reason why it is not
40701
- */
40702
- static verify(message: {|
40703
- [k: string]: any,
40704
- |}): string | null;
40705
-
40706
- /**
40707
- * Creates an Error message from a plain object. Also converts values to their respective internal types.
40708
- * @param object Plain object
40709
- * @returns Error
40710
- */
40711
- static fromObject(object: {|
40712
- [k: string]: any,
40713
- |}): replit$goval$api$pid2$Error;
40714
-
40715
- /**
40716
- * Creates a plain object from an Error message. Also converts values to other types if specified.
40717
- * @param message Error
40718
- * @param [options] Conversion options
40719
- * @returns Plain object
40720
- */
40721
- static toObject(
40722
- message: replit$goval$api$pid2$Error,
40723
- options?: $protobuf.IConversionOptions
40724
- ): {|
40725
- [k: string]: any,
40726
- |};
40727
-
40728
- /**
40729
- * Converts this Error to JSON.
40730
- * @returns JSON object
40731
- */
40732
- toJSON(): {|
40733
- [k: string]: any,
40734
- |};
40735
-
40736
- /**
40737
- * Gets the default type url for Error
40738
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40739
- * @returns The default type url
40740
- */
40741
- static getTypeUrl(typeUrlPrefix?: string): string;
40742
- static Code: typeof replit$goval$api$pid2$Error$Code;
40743
- }
40744
-
40745
- /**
40746
- * Code enum.
40747
- */
40748
-
40749
- declare var replit$goval$api$pid2$Error$Code: {|
40750
- +OK: 0, // 0
40751
- +CANCELED: 1, // 1
40752
- +UNKNOWN: 2, // 2
40753
- +INVALID_ARGUMENT: 3, // 3
40754
- +DEADLINE_EXCEEDED: 4, // 4
40755
- +NOT_FOUND: 5, // 5
40756
- +ALREADY_EXISTS: 6, // 6
40757
- +PERMISSION_DENIED: 7, // 7
40758
- +RESOURCE_EXHAUSTED: 8, // 8
40759
- +FAILED_PRECONDITION: 9, // 9
40760
- +ABORTED: 10, // 10
40761
- +OUT_OF_RANGE: 11, // 11
40762
- +UNIMPLEMENTED: 12, // 12
40763
- +INTERNAL: 13, // 13
40764
- +UNAVAILABLE: 14, // 14
40765
- +DATA_LOSS: 15, // 15
40766
- +UNAUTHENTICATED: 16, // 16
40767
- |};
40768
-
40769
- /**
40770
- * Properties of a Ping.
40771
- */
40772
- declare type replit$goval$api$pid2$IPing = {|
40773
- /**
40774
- * Ping nonce
40775
- */
40776
- nonce?: number | null,
40777
- |};
40778
-
40779
- /**
40780
- * Represents a Ping.
40781
- */
40782
- declare class replit$goval$api$pid2$Ping {
40783
- /**
40784
- * Constructs a new Ping.
40785
- * @param [properties] Properties to set
40786
- */
40787
- constructor(properties?: replit$goval$api$pid2$IPing): this;
40788
-
40789
- /**
40790
- * Ping nonce.
40791
- */
40792
- nonce: number;
40793
-
40794
- /**
40795
- * Creates a new Ping instance using the specified properties.
40796
- * @param [properties] Properties to set
40797
- * @returns Ping instance
40798
- */
40799
- static create(
40800
- properties?: replit$goval$api$pid2$IPing
40801
- ): replit$goval$api$pid2$Ping;
40802
-
40803
- /**
40804
- * [object Object],[object Object],[object Object]
40805
- * @param message Ping message or plain object to encode
40806
- * @param [writer] Writer to encode to
40807
- * @returns Writer
40808
- */
40809
- static encode(
40810
- message: replit$goval$api$pid2$Ping,
40811
- writer?: $protobuf.Writer
40812
- ): $protobuf.Writer;
40813
-
40814
- /**
40815
- * [object Object],[object Object],[object Object]
40816
- * @param message Ping message or plain object to encode
40817
- * @param [writer] Writer to encode to
40818
- * @returns Writer
40819
- */
40820
- static encodeDelimited(
40821
- message: replit$goval$api$pid2$Ping,
40822
- writer?: $protobuf.Writer
40823
- ): $protobuf.Writer;
40824
-
40825
- /**
40826
- * Decodes a Ping message from the specified reader or buffer.
40827
- * @param reader Reader or buffer to decode from
40828
- * @param [length] Message length if known beforehand
40829
- * @returns Ping
40830
- * @throws {Error} If the payload is not a reader or valid buffer
40831
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40832
- */
40833
- static decode(
40834
- reader: $protobuf.Reader | Uint8Array,
40835
- length?: number
40836
- ): replit$goval$api$pid2$Ping;
40837
-
40838
- /**
40839
- * Decodes a Ping message from the specified reader or buffer, length delimited.
40840
- * @param reader Reader or buffer to decode from
40841
- * @returns Ping
40842
- * @throws {Error} If the payload is not a reader or valid buffer
40843
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
40844
- */
40845
- static decodeDelimited(
40846
- reader: $protobuf.Reader | Uint8Array
40847
- ): replit$goval$api$pid2$Ping;
40848
-
40849
- /**
40850
- * Verifies a Ping message.
40851
- * @param message Plain object to verify
40852
- * @returns `null` if valid, otherwise the reason why it is not
40853
- */
40854
- static verify(message: {|
40855
- [k: string]: any,
40856
- |}): string | null;
40857
-
40858
- /**
40859
- * Creates a Ping message from a plain object. Also converts values to their respective internal types.
40860
- * @param object Plain object
40861
- * @returns Ping
40862
- */
40863
- static fromObject(object: {|
40864
- [k: string]: any,
40865
- |}): replit$goval$api$pid2$Ping;
40866
-
40867
- /**
40868
- * Creates a plain object from a Ping message. Also converts values to other types if specified.
40869
- * @param message Ping
40870
- * @param [options] Conversion options
40871
- * @returns Plain object
40872
- */
40873
- static toObject(
40874
- message: replit$goval$api$pid2$Ping,
40875
- options?: $protobuf.IConversionOptions
40876
- ): {|
40877
- [k: string]: any,
40878
- |};
40879
-
40880
- /**
40881
- * Converts this Ping to JSON.
40882
- * @returns JSON object
40883
- */
40884
- toJSON(): {|
40885
- [k: string]: any,
40886
- |};
40887
-
40888
- /**
40889
- * Gets the default type url for Ping
40890
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40891
- * @returns The default type url
40892
- */
40893
- static getTypeUrl(typeUrlPrefix?: string): string;
40894
- }
40895
39762
  export var google = npm$namespace$google;
40896
39763
 
40897
39764
  declare var npm$namespace$google: {|
@@ -40905,13 +39772,11 @@ declare var npm$namespace$google$protobuf: {|
40905
39772
  IValue: Class<google$protobuf$IValue>,
40906
39773
  IListValue: Class<google$protobuf$IListValue>,
40907
39774
  IFieldMask: Class<google$protobuf$IFieldMask>,
40908
- IAny: Class<google$protobuf$IAny>,
40909
39775
  Timestamp: typeof google$protobuf$Timestamp,
40910
39776
  Struct: typeof google$protobuf$Struct,
40911
39777
  Value: typeof google$protobuf$Value,
40912
39778
  ListValue: typeof google$protobuf$ListValue,
40913
39779
  FieldMask: typeof google$protobuf$FieldMask,
40914
- Any: typeof google$protobuf$Any,
40915
39780
  |};
40916
39781
 
40917
39782
  /**
@@ -41627,139 +40492,4 @@ declare class google$protobuf$FieldMask {
41627
40492
  */
41628
40493
  static getTypeUrl(typeUrlPrefix?: string): string;
41629
40494
  }
41630
-
41631
- /**
41632
- * Properties of an Any.
41633
- */
41634
- declare type google$protobuf$IAny = {|
41635
- /**
41636
- * Any type_url
41637
- */
41638
- type_url?: string | null,
41639
-
41640
- /**
41641
- * Any value
41642
- */
41643
- value?: Uint8Array | null,
41644
- |};
41645
-
41646
- /**
41647
- * Represents an Any.
41648
- */
41649
- declare class google$protobuf$Any {
41650
- /**
41651
- * Constructs a new Any.
41652
- * @param [properties] Properties to set
41653
- */
41654
- constructor(properties?: google$protobuf$IAny): this;
41655
-
41656
- /**
41657
- * Any type_url.
41658
- */
41659
- type_url: string;
41660
-
41661
- /**
41662
- * Any value.
41663
- */
41664
- value: Uint8Array;
41665
-
41666
- /**
41667
- * Creates a new Any instance using the specified properties.
41668
- * @param [properties] Properties to set
41669
- * @returns Any instance
41670
- */
41671
- static create(properties?: google$protobuf$IAny): google$protobuf$Any;
41672
-
41673
- /**
41674
- * [object Object],[object Object],[object Object]
41675
- * @param message Any message or plain object to encode
41676
- * @param [writer] Writer to encode to
41677
- * @returns Writer
41678
- */
41679
- static encode(
41680
- message: google$protobuf$Any,
41681
- writer?: $protobuf.Writer
41682
- ): $protobuf.Writer;
41683
-
41684
- /**
41685
- * [object Object],[object Object],[object Object]
41686
- * @param message Any message or plain object to encode
41687
- * @param [writer] Writer to encode to
41688
- * @returns Writer
41689
- */
41690
- static encodeDelimited(
41691
- message: google$protobuf$Any,
41692
- writer?: $protobuf.Writer
41693
- ): $protobuf.Writer;
41694
-
41695
- /**
41696
- * Decodes an Any message from the specified reader or buffer.
41697
- * @param reader Reader or buffer to decode from
41698
- * @param [length] Message length if known beforehand
41699
- * @returns Any
41700
- * @throws {Error} If the payload is not a reader or valid buffer
41701
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
41702
- */
41703
- static decode(
41704
- reader: $protobuf.Reader | Uint8Array,
41705
- length?: number
41706
- ): google$protobuf$Any;
41707
-
41708
- /**
41709
- * Decodes an Any message from the specified reader or buffer, length delimited.
41710
- * @param reader Reader or buffer to decode from
41711
- * @returns Any
41712
- * @throws {Error} If the payload is not a reader or valid buffer
41713
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
41714
- */
41715
- static decodeDelimited(
41716
- reader: $protobuf.Reader | Uint8Array
41717
- ): google$protobuf$Any;
41718
-
41719
- /**
41720
- * Verifies an Any message.
41721
- * @param message Plain object to verify
41722
- * @returns `null` if valid, otherwise the reason why it is not
41723
- */
41724
- static verify(message: {|
41725
- [k: string]: any,
41726
- |}): string | null;
41727
-
41728
- /**
41729
- * Creates an Any message from a plain object. Also converts values to their respective internal types.
41730
- * @param object Plain object
41731
- * @returns Any
41732
- */
41733
- static fromObject(object: {|
41734
- [k: string]: any,
41735
- |}): google$protobuf$Any;
41736
-
41737
- /**
41738
- * Creates a plain object from an Any message. Also converts values to other types if specified.
41739
- * @param message Any
41740
- * @param [options] Conversion options
41741
- * @returns Plain object
41742
- */
41743
- static toObject(
41744
- message: google$protobuf$Any,
41745
- options?: $protobuf.IConversionOptions
41746
- ): {|
41747
- [k: string]: any,
41748
- |};
41749
-
41750
- /**
41751
- * Converts this Any to JSON.
41752
- * @returns JSON object
41753
- */
41754
- toJSON(): {|
41755
- [k: string]: any,
41756
- |};
41757
-
41758
- /**
41759
- * Gets the default type url for Any
41760
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
41761
- * @returns The default type url
41762
- */
41763
- static getTypeUrl(typeUrlPrefix?: string): string;
41764
- }
41765
40495
  export var api = npm$namespace$replit$goval$api;