@replit/protocol 0.3.60 → 0.3.62

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.
Files changed (3) hide show
  1. package/main/index.d.ts +1006 -1
  2. package/main/index.js +2527 -164
  3. package/package.json +1 -1
package/main/index.d.ts CHANGED
@@ -267,6 +267,9 @@ export namespace replit {
267
267
  /** Command flush */
268
268
  flush?: (replit.goval.api.Flush|replit.goval.api.IFlush|null);
269
269
 
270
+ /** Command otFlushNotification */
271
+ otFlushNotification?: (replit.goval.api.OTFlushNotification|replit.goval.api.IOTFlushNotification|null);
272
+
270
273
  /** Command debug */
271
274
  debug?: (replit.goval.api.Debug|replit.goval.api.IDebug|null);
272
275
 
@@ -889,6 +892,9 @@ export namespace replit {
889
892
  /** Command flush. */
890
893
  public flush?: (replit.goval.api.Flush|null);
891
894
 
895
+ /** Command otFlushNotification. */
896
+ public otFlushNotification?: (replit.goval.api.OTFlushNotification|null);
897
+
892
898
  /** Command debug. */
893
899
  public debug?: (replit.goval.api.Debug|null);
894
900
 
@@ -1247,7 +1253,7 @@ export namespace replit {
1247
1253
  public forceTrace: boolean;
1248
1254
 
1249
1255
  /** Command body. */
1250
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
1256
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
1251
1257
 
1252
1258
  /**
1253
1259
  * Creates a new Command instance using the specified properties.
@@ -4001,6 +4007,9 @@ export namespace replit {
4001
4007
 
4002
4008
  /** Pid1Config noninteractiveFSChange */
4003
4009
  noninteractiveFSChange?: (boolean|null);
4010
+
4011
+ /** Pid1Config pid2Info */
4012
+ pid2Info?: (replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null);
4004
4013
  }
4005
4014
 
4006
4015
  /** Represents a Pid1Config. */
@@ -4027,6 +4036,9 @@ export namespace replit {
4027
4036
  /** Pid1Config noninteractiveFSChange. */
4028
4037
  public noninteractiveFSChange: boolean;
4029
4038
 
4039
+ /** Pid1Config pid2Info. */
4040
+ public pid2Info?: (replit.goval.api.repl.Pid2Binary|null);
4041
+
4030
4042
  /**
4031
4043
  * Creates a new Pid1Config instance using the specified properties.
4032
4044
  * @param [properties] Properties to set
@@ -5023,6 +5035,103 @@ export namespace replit {
5023
5035
  public static getTypeUrl(typeUrlPrefix?: string): string;
5024
5036
  }
5025
5037
 
5038
+ /** Properties of a OTFlushNotification. */
5039
+ interface IOTFlushNotification {
5040
+
5041
+ /** OTFlushNotification diskVersion */
5042
+ diskVersion?: (number|null);
5043
+ }
5044
+
5045
+ /** Represents a OTFlushNotification. */
5046
+ class OTFlushNotification {
5047
+
5048
+ /**
5049
+ * Constructs a new OTFlushNotification.
5050
+ * @param [properties] Properties to set
5051
+ */
5052
+ private constructor(properties?: replit.goval.api.IOTFlushNotification);
5053
+
5054
+ /** OTFlushNotification diskVersion. */
5055
+ public diskVersion: number;
5056
+
5057
+ /**
5058
+ * Creates a new OTFlushNotification instance using the specified properties.
5059
+ * @param [properties] Properties to set
5060
+ * @returns OTFlushNotification instance
5061
+ */
5062
+ public static create(properties?: replit.goval.api.IOTFlushNotification): replit.goval.api.OTFlushNotification;
5063
+
5064
+ /**
5065
+ * Encodes the specified OTFlushNotification message. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
5066
+ * @param message OTFlushNotification message or plain object to encode
5067
+ * @param [writer] Writer to encode to
5068
+ * @returns Writer
5069
+ */
5070
+ public static encode(message: replit.goval.api.OTFlushNotification, writer?: $protobuf.Writer): $protobuf.Writer;
5071
+
5072
+ /**
5073
+ * Encodes the specified OTFlushNotification message, length delimited. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
5074
+ * @param message OTFlushNotification message or plain object to encode
5075
+ * @param [writer] Writer to encode to
5076
+ * @returns Writer
5077
+ */
5078
+ public static encodeDelimited(message: replit.goval.api.OTFlushNotification, writer?: $protobuf.Writer): $protobuf.Writer;
5079
+
5080
+ /**
5081
+ * Decodes a OTFlushNotification message from the specified reader or buffer.
5082
+ * @param reader Reader or buffer to decode from
5083
+ * @param [length] Message length if known beforehand
5084
+ * @returns OTFlushNotification
5085
+ * @throws {Error} If the payload is not a reader or valid buffer
5086
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5087
+ */
5088
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.OTFlushNotification;
5089
+
5090
+ /**
5091
+ * Decodes a OTFlushNotification message from the specified reader or buffer, length delimited.
5092
+ * @param reader Reader or buffer to decode from
5093
+ * @returns OTFlushNotification
5094
+ * @throws {Error} If the payload is not a reader or valid buffer
5095
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5096
+ */
5097
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.OTFlushNotification;
5098
+
5099
+ /**
5100
+ * Verifies a OTFlushNotification message.
5101
+ * @param message Plain object to verify
5102
+ * @returns `null` if valid, otherwise the reason why it is not
5103
+ */
5104
+ public static verify(message: { [k: string]: any }): (string|null);
5105
+
5106
+ /**
5107
+ * Creates a OTFlushNotification message from a plain object. Also converts values to their respective internal types.
5108
+ * @param object Plain object
5109
+ * @returns OTFlushNotification
5110
+ */
5111
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.OTFlushNotification;
5112
+
5113
+ /**
5114
+ * Creates a plain object from a OTFlushNotification message. Also converts values to other types if specified.
5115
+ * @param message OTFlushNotification
5116
+ * @param [options] Conversion options
5117
+ * @returns Plain object
5118
+ */
5119
+ public static toObject(message: replit.goval.api.OTFlushNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
5120
+
5121
+ /**
5122
+ * Converts this OTFlushNotification to JSON.
5123
+ * @returns JSON object
5124
+ */
5125
+ public toJSON(): { [k: string]: any };
5126
+
5127
+ /**
5128
+ * Gets the default type url for OTFlushNotification
5129
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5130
+ * @returns The default type url
5131
+ */
5132
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5133
+ }
5134
+
5026
5135
  /** Properties of an Auth. */
5027
5136
  interface IAuth {
5028
5137
 
@@ -22143,6 +22252,9 @@ export namespace replit {
22143
22252
 
22144
22253
  /** NixModulesGetRegistryResponse modulesV2 */
22145
22254
  modulesV2?: ((replit.goval.api.NixModulesV2RegistryEntry|replit.goval.api.INixModulesV2RegistryEntry)[]|null);
22255
+
22256
+ /** NixModulesGetRegistryResponse fullModules */
22257
+ fullModules?: ((replit.goval.api.NixModule|replit.goval.api.INixModule)[]|null);
22146
22258
  }
22147
22259
 
22148
22260
  /** Represents a NixModulesGetRegistryResponse. */
@@ -22175,6 +22287,9 @@ export namespace replit {
22175
22287
  /** NixModulesGetRegistryResponse modulesV2. */
22176
22288
  public modulesV2: replit.goval.api.NixModulesV2RegistryEntry[];
22177
22289
 
22290
+ /** NixModulesGetRegistryResponse fullModules. */
22291
+ public fullModules: replit.goval.api.NixModule[];
22292
+
22178
22293
  /**
22179
22294
  * Creates a new NixModulesGetRegistryResponse instance using the specified properties.
22180
22295
  * @param [properties] Properties to set
@@ -24841,6 +24956,9 @@ export namespace replit {
24841
24956
 
24842
24957
  /** RunOption optionalFileParam */
24843
24958
  optionalFileParam?: (boolean|null);
24959
+
24960
+ /** RunOption displayVersion */
24961
+ displayVersion?: (string|null);
24844
24962
  }
24845
24963
 
24846
24964
  /** Represents a RunOption. */
@@ -24873,6 +24991,9 @@ export namespace replit {
24873
24991
  /** RunOption optionalFileParam. */
24874
24992
  public optionalFileParam: boolean;
24875
24993
 
24994
+ /** RunOption displayVersion. */
24995
+ public displayVersion: string;
24996
+
24876
24997
  /**
24877
24998
  * Creates a new RunOption instance using the specified properties.
24878
24999
  * @param [properties] Properties to set
@@ -24968,6 +25089,9 @@ export namespace replit {
24968
25089
 
24969
25090
  /** DebuggerOption fileTypeAttrs */
24970
25091
  fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null);
25092
+
25093
+ /** DebuggerOption displayVersion */
25094
+ displayVersion?: (string|null);
24971
25095
  }
24972
25096
 
24973
25097
  /** Represents a DebuggerOption. */
@@ -24994,6 +25118,9 @@ export namespace replit {
24994
25118
  /** DebuggerOption fileTypeAttrs. */
24995
25119
  public fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|null);
24996
25120
 
25121
+ /** DebuggerOption displayVersion. */
25122
+ public displayVersion: string;
25123
+
24997
25124
  /**
24998
25125
  * Creates a new DebuggerOption instance using the specified properties.
24999
25126
  * @param [properties] Properties to set
@@ -34580,6 +34707,842 @@ export namespace replit {
34580
34707
  public static getTypeUrl(typeUrlPrefix?: string): string;
34581
34708
  }
34582
34709
 
34710
+ /** Properties of an ExportReplRequest. */
34711
+ interface IExportReplRequest {
34712
+
34713
+ /** ExportReplRequest replId */
34714
+ replId?: (string|null);
34715
+ }
34716
+
34717
+ /** Represents an ExportReplRequest. */
34718
+ class ExportReplRequest {
34719
+
34720
+ /**
34721
+ * Constructs a new ExportReplRequest.
34722
+ * @param [properties] Properties to set
34723
+ */
34724
+ private constructor(properties?: replit.goval.api.lore.IExportReplRequest);
34725
+
34726
+ /** ExportReplRequest replId. */
34727
+ public replId: string;
34728
+
34729
+ /**
34730
+ * Creates a new ExportReplRequest instance using the specified properties.
34731
+ * @param [properties] Properties to set
34732
+ * @returns ExportReplRequest instance
34733
+ */
34734
+ public static create(properties?: replit.goval.api.lore.IExportReplRequest): replit.goval.api.lore.ExportReplRequest;
34735
+
34736
+ /**
34737
+ * Encodes the specified ExportReplRequest message. Does not implicitly {@link replit.goval.api.lore.ExportReplRequest.verify|verify} messages.
34738
+ * @param message ExportReplRequest message or plain object to encode
34739
+ * @param [writer] Writer to encode to
34740
+ * @returns Writer
34741
+ */
34742
+ public static encode(message: replit.goval.api.lore.ExportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
34743
+
34744
+ /**
34745
+ * Encodes the specified ExportReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.ExportReplRequest.verify|verify} messages.
34746
+ * @param message ExportReplRequest message or plain object to encode
34747
+ * @param [writer] Writer to encode to
34748
+ * @returns Writer
34749
+ */
34750
+ public static encodeDelimited(message: replit.goval.api.lore.ExportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
34751
+
34752
+ /**
34753
+ * Decodes an ExportReplRequest message from the specified reader or buffer.
34754
+ * @param reader Reader or buffer to decode from
34755
+ * @param [length] Message length if known beforehand
34756
+ * @returns ExportReplRequest
34757
+ * @throws {Error} If the payload is not a reader or valid buffer
34758
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34759
+ */
34760
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ExportReplRequest;
34761
+
34762
+ /**
34763
+ * Decodes an ExportReplRequest message from the specified reader or buffer, length delimited.
34764
+ * @param reader Reader or buffer to decode from
34765
+ * @returns ExportReplRequest
34766
+ * @throws {Error} If the payload is not a reader or valid buffer
34767
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34768
+ */
34769
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ExportReplRequest;
34770
+
34771
+ /**
34772
+ * Verifies an ExportReplRequest message.
34773
+ * @param message Plain object to verify
34774
+ * @returns `null` if valid, otherwise the reason why it is not
34775
+ */
34776
+ public static verify(message: { [k: string]: any }): (string|null);
34777
+
34778
+ /**
34779
+ * Creates an ExportReplRequest message from a plain object. Also converts values to their respective internal types.
34780
+ * @param object Plain object
34781
+ * @returns ExportReplRequest
34782
+ */
34783
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ExportReplRequest;
34784
+
34785
+ /**
34786
+ * Creates a plain object from an ExportReplRequest message. Also converts values to other types if specified.
34787
+ * @param message ExportReplRequest
34788
+ * @param [options] Conversion options
34789
+ * @returns Plain object
34790
+ */
34791
+ public static toObject(message: replit.goval.api.lore.ExportReplRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
34792
+
34793
+ /**
34794
+ * Converts this ExportReplRequest to JSON.
34795
+ * @returns JSON object
34796
+ */
34797
+ public toJSON(): { [k: string]: any };
34798
+
34799
+ /**
34800
+ * Gets the default type url for ExportReplRequest
34801
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34802
+ * @returns The default type url
34803
+ */
34804
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34805
+ }
34806
+
34807
+ /** Properties of a MargarineBlock. */
34808
+ interface IMargarineBlock {
34809
+
34810
+ /** MargarineBlock name */
34811
+ name?: (string|null);
34812
+
34813
+ /** MargarineBlock offset */
34814
+ offset?: (number|null);
34815
+
34816
+ /** MargarineBlock signedUrl */
34817
+ signedUrl?: (string|null);
34818
+ }
34819
+
34820
+ /** Represents a MargarineBlock. */
34821
+ class MargarineBlock {
34822
+
34823
+ /**
34824
+ * Constructs a new MargarineBlock.
34825
+ * @param [properties] Properties to set
34826
+ */
34827
+ private constructor(properties?: replit.goval.api.lore.IMargarineBlock);
34828
+
34829
+ /** MargarineBlock name. */
34830
+ public name: string;
34831
+
34832
+ /** MargarineBlock offset. */
34833
+ public offset: number;
34834
+
34835
+ /** MargarineBlock signedUrl. */
34836
+ public signedUrl: string;
34837
+
34838
+ /**
34839
+ * Creates a new MargarineBlock instance using the specified properties.
34840
+ * @param [properties] Properties to set
34841
+ * @returns MargarineBlock instance
34842
+ */
34843
+ public static create(properties?: replit.goval.api.lore.IMargarineBlock): replit.goval.api.lore.MargarineBlock;
34844
+
34845
+ /**
34846
+ * Encodes the specified MargarineBlock message. Does not implicitly {@link replit.goval.api.lore.MargarineBlock.verify|verify} messages.
34847
+ * @param message MargarineBlock message or plain object to encode
34848
+ * @param [writer] Writer to encode to
34849
+ * @returns Writer
34850
+ */
34851
+ public static encode(message: replit.goval.api.lore.MargarineBlock, writer?: $protobuf.Writer): $protobuf.Writer;
34852
+
34853
+ /**
34854
+ * Encodes the specified MargarineBlock message, length delimited. Does not implicitly {@link replit.goval.api.lore.MargarineBlock.verify|verify} messages.
34855
+ * @param message MargarineBlock message or plain object to encode
34856
+ * @param [writer] Writer to encode to
34857
+ * @returns Writer
34858
+ */
34859
+ public static encodeDelimited(message: replit.goval.api.lore.MargarineBlock, writer?: $protobuf.Writer): $protobuf.Writer;
34860
+
34861
+ /**
34862
+ * Decodes a MargarineBlock message from the specified reader or buffer.
34863
+ * @param reader Reader or buffer to decode from
34864
+ * @param [length] Message length if known beforehand
34865
+ * @returns MargarineBlock
34866
+ * @throws {Error} If the payload is not a reader or valid buffer
34867
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34868
+ */
34869
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.MargarineBlock;
34870
+
34871
+ /**
34872
+ * Decodes a MargarineBlock message from the specified reader or buffer, length delimited.
34873
+ * @param reader Reader or buffer to decode from
34874
+ * @returns MargarineBlock
34875
+ * @throws {Error} If the payload is not a reader or valid buffer
34876
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34877
+ */
34878
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.MargarineBlock;
34879
+
34880
+ /**
34881
+ * Verifies a MargarineBlock message.
34882
+ * @param message Plain object to verify
34883
+ * @returns `null` if valid, otherwise the reason why it is not
34884
+ */
34885
+ public static verify(message: { [k: string]: any }): (string|null);
34886
+
34887
+ /**
34888
+ * Creates a MargarineBlock message from a plain object. Also converts values to their respective internal types.
34889
+ * @param object Plain object
34890
+ * @returns MargarineBlock
34891
+ */
34892
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.MargarineBlock;
34893
+
34894
+ /**
34895
+ * Creates a plain object from a MargarineBlock message. Also converts values to other types if specified.
34896
+ * @param message MargarineBlock
34897
+ * @param [options] Conversion options
34898
+ * @returns Plain object
34899
+ */
34900
+ public static toObject(message: replit.goval.api.lore.MargarineBlock, options?: $protobuf.IConversionOptions): { [k: string]: any };
34901
+
34902
+ /**
34903
+ * Converts this MargarineBlock to JSON.
34904
+ * @returns JSON object
34905
+ */
34906
+ public toJSON(): { [k: string]: any };
34907
+
34908
+ /**
34909
+ * Gets the default type url for MargarineBlock
34910
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34911
+ * @returns The default type url
34912
+ */
34913
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34914
+ }
34915
+
34916
+ /** Properties of a MargarineExport. */
34917
+ interface IMargarineExport {
34918
+
34919
+ /** MargarineExport blocks */
34920
+ blocks?: ((replit.goval.api.lore.MargarineBlock|replit.goval.api.lore.IMargarineBlock)[]|null);
34921
+ }
34922
+
34923
+ /** Represents a MargarineExport. */
34924
+ class MargarineExport {
34925
+
34926
+ /**
34927
+ * Constructs a new MargarineExport.
34928
+ * @param [properties] Properties to set
34929
+ */
34930
+ private constructor(properties?: replit.goval.api.lore.IMargarineExport);
34931
+
34932
+ /** MargarineExport blocks. */
34933
+ public blocks: replit.goval.api.lore.MargarineBlock[];
34934
+
34935
+ /**
34936
+ * Creates a new MargarineExport instance using the specified properties.
34937
+ * @param [properties] Properties to set
34938
+ * @returns MargarineExport instance
34939
+ */
34940
+ public static create(properties?: replit.goval.api.lore.IMargarineExport): replit.goval.api.lore.MargarineExport;
34941
+
34942
+ /**
34943
+ * Encodes the specified MargarineExport message. Does not implicitly {@link replit.goval.api.lore.MargarineExport.verify|verify} messages.
34944
+ * @param message MargarineExport message or plain object to encode
34945
+ * @param [writer] Writer to encode to
34946
+ * @returns Writer
34947
+ */
34948
+ public static encode(message: replit.goval.api.lore.MargarineExport, writer?: $protobuf.Writer): $protobuf.Writer;
34949
+
34950
+ /**
34951
+ * Encodes the specified MargarineExport message, length delimited. Does not implicitly {@link replit.goval.api.lore.MargarineExport.verify|verify} messages.
34952
+ * @param message MargarineExport message or plain object to encode
34953
+ * @param [writer] Writer to encode to
34954
+ * @returns Writer
34955
+ */
34956
+ public static encodeDelimited(message: replit.goval.api.lore.MargarineExport, writer?: $protobuf.Writer): $protobuf.Writer;
34957
+
34958
+ /**
34959
+ * Decodes a MargarineExport message from the specified reader or buffer.
34960
+ * @param reader Reader or buffer to decode from
34961
+ * @param [length] Message length if known beforehand
34962
+ * @returns MargarineExport
34963
+ * @throws {Error} If the payload is not a reader or valid buffer
34964
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34965
+ */
34966
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.MargarineExport;
34967
+
34968
+ /**
34969
+ * Decodes a MargarineExport message from the specified reader or buffer, length delimited.
34970
+ * @param reader Reader or buffer to decode from
34971
+ * @returns MargarineExport
34972
+ * @throws {Error} If the payload is not a reader or valid buffer
34973
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34974
+ */
34975
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.MargarineExport;
34976
+
34977
+ /**
34978
+ * Verifies a MargarineExport message.
34979
+ * @param message Plain object to verify
34980
+ * @returns `null` if valid, otherwise the reason why it is not
34981
+ */
34982
+ public static verify(message: { [k: string]: any }): (string|null);
34983
+
34984
+ /**
34985
+ * Creates a MargarineExport message from a plain object. Also converts values to their respective internal types.
34986
+ * @param object Plain object
34987
+ * @returns MargarineExport
34988
+ */
34989
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.MargarineExport;
34990
+
34991
+ /**
34992
+ * Creates a plain object from a MargarineExport message. Also converts values to other types if specified.
34993
+ * @param message MargarineExport
34994
+ * @param [options] Conversion options
34995
+ * @returns Plain object
34996
+ */
34997
+ public static toObject(message: replit.goval.api.lore.MargarineExport, options?: $protobuf.IConversionOptions): { [k: string]: any };
34998
+
34999
+ /**
35000
+ * Converts this MargarineExport to JSON.
35001
+ * @returns JSON object
35002
+ */
35003
+ public toJSON(): { [k: string]: any };
35004
+
35005
+ /**
35006
+ * Gets the default type url for MargarineExport
35007
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35008
+ * @returns The default type url
35009
+ */
35010
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35011
+ }
35012
+
35013
+ /** Properties of a ReplFile. */
35014
+ interface IReplFile {
35015
+
35016
+ /** ReplFile path */
35017
+ path?: (string|null);
35018
+
35019
+ /** ReplFile signedUrl */
35020
+ signedUrl?: (string|null);
35021
+ }
35022
+
35023
+ /** Represents a ReplFile. */
35024
+ class ReplFile {
35025
+
35026
+ /**
35027
+ * Constructs a new ReplFile.
35028
+ * @param [properties] Properties to set
35029
+ */
35030
+ private constructor(properties?: replit.goval.api.lore.IReplFile);
35031
+
35032
+ /** ReplFile path. */
35033
+ public path: string;
35034
+
35035
+ /** ReplFile signedUrl. */
35036
+ public signedUrl: string;
35037
+
35038
+ /**
35039
+ * Creates a new ReplFile instance using the specified properties.
35040
+ * @param [properties] Properties to set
35041
+ * @returns ReplFile instance
35042
+ */
35043
+ public static create(properties?: replit.goval.api.lore.IReplFile): replit.goval.api.lore.ReplFile;
35044
+
35045
+ /**
35046
+ * Encodes the specified ReplFile message. Does not implicitly {@link replit.goval.api.lore.ReplFile.verify|verify} messages.
35047
+ * @param message ReplFile message or plain object to encode
35048
+ * @param [writer] Writer to encode to
35049
+ * @returns Writer
35050
+ */
35051
+ public static encode(message: replit.goval.api.lore.ReplFile, writer?: $protobuf.Writer): $protobuf.Writer;
35052
+
35053
+ /**
35054
+ * Encodes the specified ReplFile message, length delimited. Does not implicitly {@link replit.goval.api.lore.ReplFile.verify|verify} messages.
35055
+ * @param message ReplFile message or plain object to encode
35056
+ * @param [writer] Writer to encode to
35057
+ * @returns Writer
35058
+ */
35059
+ public static encodeDelimited(message: replit.goval.api.lore.ReplFile, writer?: $protobuf.Writer): $protobuf.Writer;
35060
+
35061
+ /**
35062
+ * Decodes a ReplFile message from the specified reader or buffer.
35063
+ * @param reader Reader or buffer to decode from
35064
+ * @param [length] Message length if known beforehand
35065
+ * @returns ReplFile
35066
+ * @throws {Error} If the payload is not a reader or valid buffer
35067
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35068
+ */
35069
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ReplFile;
35070
+
35071
+ /**
35072
+ * Decodes a ReplFile message from the specified reader or buffer, length delimited.
35073
+ * @param reader Reader or buffer to decode from
35074
+ * @returns ReplFile
35075
+ * @throws {Error} If the payload is not a reader or valid buffer
35076
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35077
+ */
35078
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ReplFile;
35079
+
35080
+ /**
35081
+ * Verifies a ReplFile message.
35082
+ * @param message Plain object to verify
35083
+ * @returns `null` if valid, otherwise the reason why it is not
35084
+ */
35085
+ public static verify(message: { [k: string]: any }): (string|null);
35086
+
35087
+ /**
35088
+ * Creates a ReplFile message from a plain object. Also converts values to their respective internal types.
35089
+ * @param object Plain object
35090
+ * @returns ReplFile
35091
+ */
35092
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ReplFile;
35093
+
35094
+ /**
35095
+ * Creates a plain object from a ReplFile message. Also converts values to other types if specified.
35096
+ * @param message ReplFile
35097
+ * @param [options] Conversion options
35098
+ * @returns Plain object
35099
+ */
35100
+ public static toObject(message: replit.goval.api.lore.ReplFile, options?: $protobuf.IConversionOptions): { [k: string]: any };
35101
+
35102
+ /**
35103
+ * Converts this ReplFile to JSON.
35104
+ * @returns JSON object
35105
+ */
35106
+ public toJSON(): { [k: string]: any };
35107
+
35108
+ /**
35109
+ * Gets the default type url for ReplFile
35110
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35111
+ * @returns The default type url
35112
+ */
35113
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35114
+ }
35115
+
35116
+ /** Properties of a ReplExport. */
35117
+ interface IReplExport {
35118
+
35119
+ /** ReplExport files */
35120
+ files?: ((replit.goval.api.lore.ReplFile|replit.goval.api.lore.IReplFile)[]|null);
35121
+
35122
+ /** ReplExport margarineExport */
35123
+ margarineExport?: (replit.goval.api.lore.MargarineExport|replit.goval.api.lore.IMargarineExport|null);
35124
+ }
35125
+
35126
+ /** Represents a ReplExport. */
35127
+ class ReplExport {
35128
+
35129
+ /**
35130
+ * Constructs a new ReplExport.
35131
+ * @param [properties] Properties to set
35132
+ */
35133
+ private constructor(properties?: replit.goval.api.lore.IReplExport);
35134
+
35135
+ /** ReplExport files. */
35136
+ public files: replit.goval.api.lore.ReplFile[];
35137
+
35138
+ /** ReplExport margarineExport. */
35139
+ public margarineExport?: (replit.goval.api.lore.MargarineExport|null);
35140
+
35141
+ /**
35142
+ * Creates a new ReplExport instance using the specified properties.
35143
+ * @param [properties] Properties to set
35144
+ * @returns ReplExport instance
35145
+ */
35146
+ public static create(properties?: replit.goval.api.lore.IReplExport): replit.goval.api.lore.ReplExport;
35147
+
35148
+ /**
35149
+ * Encodes the specified ReplExport message. Does not implicitly {@link replit.goval.api.lore.ReplExport.verify|verify} messages.
35150
+ * @param message ReplExport message or plain object to encode
35151
+ * @param [writer] Writer to encode to
35152
+ * @returns Writer
35153
+ */
35154
+ public static encode(message: replit.goval.api.lore.ReplExport, writer?: $protobuf.Writer): $protobuf.Writer;
35155
+
35156
+ /**
35157
+ * Encodes the specified ReplExport message, length delimited. Does not implicitly {@link replit.goval.api.lore.ReplExport.verify|verify} messages.
35158
+ * @param message ReplExport message or plain object to encode
35159
+ * @param [writer] Writer to encode to
35160
+ * @returns Writer
35161
+ */
35162
+ public static encodeDelimited(message: replit.goval.api.lore.ReplExport, writer?: $protobuf.Writer): $protobuf.Writer;
35163
+
35164
+ /**
35165
+ * Decodes a ReplExport message from the specified reader or buffer.
35166
+ * @param reader Reader or buffer to decode from
35167
+ * @param [length] Message length if known beforehand
35168
+ * @returns ReplExport
35169
+ * @throws {Error} If the payload is not a reader or valid buffer
35170
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35171
+ */
35172
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ReplExport;
35173
+
35174
+ /**
35175
+ * Decodes a ReplExport message from the specified reader or buffer, length delimited.
35176
+ * @param reader Reader or buffer to decode from
35177
+ * @returns ReplExport
35178
+ * @throws {Error} If the payload is not a reader or valid buffer
35179
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35180
+ */
35181
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ReplExport;
35182
+
35183
+ /**
35184
+ * Verifies a ReplExport message.
35185
+ * @param message Plain object to verify
35186
+ * @returns `null` if valid, otherwise the reason why it is not
35187
+ */
35188
+ public static verify(message: { [k: string]: any }): (string|null);
35189
+
35190
+ /**
35191
+ * Creates a ReplExport message from a plain object. Also converts values to their respective internal types.
35192
+ * @param object Plain object
35193
+ * @returns ReplExport
35194
+ */
35195
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ReplExport;
35196
+
35197
+ /**
35198
+ * Creates a plain object from a ReplExport message. Also converts values to other types if specified.
35199
+ * @param message ReplExport
35200
+ * @param [options] Conversion options
35201
+ * @returns Plain object
35202
+ */
35203
+ public static toObject(message: replit.goval.api.lore.ReplExport, options?: $protobuf.IConversionOptions): { [k: string]: any };
35204
+
35205
+ /**
35206
+ * Converts this ReplExport to JSON.
35207
+ * @returns JSON object
35208
+ */
35209
+ public toJSON(): { [k: string]: any };
35210
+
35211
+ /**
35212
+ * Gets the default type url for ReplExport
35213
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35214
+ * @returns The default type url
35215
+ */
35216
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35217
+ }
35218
+
35219
+ /** Properties of an ExportReplResponse. */
35220
+ interface IExportReplResponse {
35221
+
35222
+ /** ExportReplResponse export */
35223
+ "export"?: (replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null);
35224
+ }
35225
+
35226
+ /** Represents an ExportReplResponse. */
35227
+ class ExportReplResponse {
35228
+
35229
+ /**
35230
+ * Constructs a new ExportReplResponse.
35231
+ * @param [properties] Properties to set
35232
+ */
35233
+ private constructor(properties?: replit.goval.api.lore.IExportReplResponse);
35234
+
35235
+ /** ExportReplResponse export. */
35236
+ public export?: (replit.goval.api.lore.ReplExport|null);
35237
+
35238
+ /**
35239
+ * Creates a new ExportReplResponse instance using the specified properties.
35240
+ * @param [properties] Properties to set
35241
+ * @returns ExportReplResponse instance
35242
+ */
35243
+ public static create(properties?: replit.goval.api.lore.IExportReplResponse): replit.goval.api.lore.ExportReplResponse;
35244
+
35245
+ /**
35246
+ * Encodes the specified ExportReplResponse message. Does not implicitly {@link replit.goval.api.lore.ExportReplResponse.verify|verify} messages.
35247
+ * @param message ExportReplResponse message or plain object to encode
35248
+ * @param [writer] Writer to encode to
35249
+ * @returns Writer
35250
+ */
35251
+ public static encode(message: replit.goval.api.lore.ExportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35252
+
35253
+ /**
35254
+ * Encodes the specified ExportReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.ExportReplResponse.verify|verify} messages.
35255
+ * @param message ExportReplResponse message or plain object to encode
35256
+ * @param [writer] Writer to encode to
35257
+ * @returns Writer
35258
+ */
35259
+ public static encodeDelimited(message: replit.goval.api.lore.ExportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35260
+
35261
+ /**
35262
+ * Decodes an ExportReplResponse message from the specified reader or buffer.
35263
+ * @param reader Reader or buffer to decode from
35264
+ * @param [length] Message length if known beforehand
35265
+ * @returns ExportReplResponse
35266
+ * @throws {Error} If the payload is not a reader or valid buffer
35267
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35268
+ */
35269
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ExportReplResponse;
35270
+
35271
+ /**
35272
+ * Decodes an ExportReplResponse message from the specified reader or buffer, length delimited.
35273
+ * @param reader Reader or buffer to decode from
35274
+ * @returns ExportReplResponse
35275
+ * @throws {Error} If the payload is not a reader or valid buffer
35276
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35277
+ */
35278
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ExportReplResponse;
35279
+
35280
+ /**
35281
+ * Verifies an ExportReplResponse message.
35282
+ * @param message Plain object to verify
35283
+ * @returns `null` if valid, otherwise the reason why it is not
35284
+ */
35285
+ public static verify(message: { [k: string]: any }): (string|null);
35286
+
35287
+ /**
35288
+ * Creates an ExportReplResponse message from a plain object. Also converts values to their respective internal types.
35289
+ * @param object Plain object
35290
+ * @returns ExportReplResponse
35291
+ */
35292
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ExportReplResponse;
35293
+
35294
+ /**
35295
+ * Creates a plain object from an ExportReplResponse message. Also converts values to other types if specified.
35296
+ * @param message ExportReplResponse
35297
+ * @param [options] Conversion options
35298
+ * @returns Plain object
35299
+ */
35300
+ public static toObject(message: replit.goval.api.lore.ExportReplResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
35301
+
35302
+ /**
35303
+ * Converts this ExportReplResponse to JSON.
35304
+ * @returns JSON object
35305
+ */
35306
+ public toJSON(): { [k: string]: any };
35307
+
35308
+ /**
35309
+ * Gets the default type url for ExportReplResponse
35310
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35311
+ * @returns The default type url
35312
+ */
35313
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35314
+ }
35315
+
35316
+ /** Properties of an ImportReplRequest. */
35317
+ interface IImportReplRequest {
35318
+
35319
+ /** ImportReplRequest replId */
35320
+ replId?: (string|null);
35321
+
35322
+ /** ImportReplRequest username */
35323
+ username?: (string|null);
35324
+
35325
+ /** ImportReplRequest slug */
35326
+ slug?: (string|null);
35327
+
35328
+ /** ImportReplRequest replLocation */
35329
+ replLocation?: (replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null);
35330
+
35331
+ /** ImportReplRequest export */
35332
+ "export"?: (replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null);
35333
+ }
35334
+
35335
+ /** Represents an ImportReplRequest. */
35336
+ class ImportReplRequest {
35337
+
35338
+ /**
35339
+ * Constructs a new ImportReplRequest.
35340
+ * @param [properties] Properties to set
35341
+ */
35342
+ private constructor(properties?: replit.goval.api.lore.IImportReplRequest);
35343
+
35344
+ /** ImportReplRequest replId. */
35345
+ public replId: string;
35346
+
35347
+ /** ImportReplRequest username. */
35348
+ public username: string;
35349
+
35350
+ /** ImportReplRequest slug. */
35351
+ public slug: string;
35352
+
35353
+ /** ImportReplRequest replLocation. */
35354
+ public replLocation?: (replit.goval.api.lore.ReplLocation|null);
35355
+
35356
+ /** ImportReplRequest export. */
35357
+ public export?: (replit.goval.api.lore.ReplExport|null);
35358
+
35359
+ /**
35360
+ * Creates a new ImportReplRequest instance using the specified properties.
35361
+ * @param [properties] Properties to set
35362
+ * @returns ImportReplRequest instance
35363
+ */
35364
+ public static create(properties?: replit.goval.api.lore.IImportReplRequest): replit.goval.api.lore.ImportReplRequest;
35365
+
35366
+ /**
35367
+ * Encodes the specified ImportReplRequest message. Does not implicitly {@link replit.goval.api.lore.ImportReplRequest.verify|verify} messages.
35368
+ * @param message ImportReplRequest message or plain object to encode
35369
+ * @param [writer] Writer to encode to
35370
+ * @returns Writer
35371
+ */
35372
+ public static encode(message: replit.goval.api.lore.ImportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
35373
+
35374
+ /**
35375
+ * Encodes the specified ImportReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.ImportReplRequest.verify|verify} messages.
35376
+ * @param message ImportReplRequest message or plain object to encode
35377
+ * @param [writer] Writer to encode to
35378
+ * @returns Writer
35379
+ */
35380
+ public static encodeDelimited(message: replit.goval.api.lore.ImportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
35381
+
35382
+ /**
35383
+ * Decodes an ImportReplRequest message from the specified reader or buffer.
35384
+ * @param reader Reader or buffer to decode from
35385
+ * @param [length] Message length if known beforehand
35386
+ * @returns ImportReplRequest
35387
+ * @throws {Error} If the payload is not a reader or valid buffer
35388
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35389
+ */
35390
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ImportReplRequest;
35391
+
35392
+ /**
35393
+ * Decodes an ImportReplRequest message from the specified reader or buffer, length delimited.
35394
+ * @param reader Reader or buffer to decode from
35395
+ * @returns ImportReplRequest
35396
+ * @throws {Error} If the payload is not a reader or valid buffer
35397
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35398
+ */
35399
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ImportReplRequest;
35400
+
35401
+ /**
35402
+ * Verifies an ImportReplRequest message.
35403
+ * @param message Plain object to verify
35404
+ * @returns `null` if valid, otherwise the reason why it is not
35405
+ */
35406
+ public static verify(message: { [k: string]: any }): (string|null);
35407
+
35408
+ /**
35409
+ * Creates an ImportReplRequest message from a plain object. Also converts values to their respective internal types.
35410
+ * @param object Plain object
35411
+ * @returns ImportReplRequest
35412
+ */
35413
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ImportReplRequest;
35414
+
35415
+ /**
35416
+ * Creates a plain object from an ImportReplRequest message. Also converts values to other types if specified.
35417
+ * @param message ImportReplRequest
35418
+ * @param [options] Conversion options
35419
+ * @returns Plain object
35420
+ */
35421
+ public static toObject(message: replit.goval.api.lore.ImportReplRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
35422
+
35423
+ /**
35424
+ * Converts this ImportReplRequest to JSON.
35425
+ * @returns JSON object
35426
+ */
35427
+ public toJSON(): { [k: string]: any };
35428
+
35429
+ /**
35430
+ * Gets the default type url for ImportReplRequest
35431
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35432
+ * @returns The default type url
35433
+ */
35434
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35435
+ }
35436
+
35437
+ /** Properties of an ImportReplResponse. */
35438
+ interface IImportReplResponse {
35439
+
35440
+ /** ImportReplResponse repl */
35441
+ repl?: (replit.goval.api.lore.Repl|replit.goval.api.lore.IRepl|null);
35442
+
35443
+ /** ImportReplResponse cluster */
35444
+ cluster?: (replit.goval.api.lore.Cluster|replit.goval.api.lore.ICluster|null);
35445
+
35446
+ /** ImportReplResponse buckets */
35447
+ buckets?: (replit.goval.api.lore.Buckets|replit.goval.api.lore.IBuckets|null);
35448
+ }
35449
+
35450
+ /** Represents an ImportReplResponse. */
35451
+ class ImportReplResponse {
35452
+
35453
+ /**
35454
+ * Constructs a new ImportReplResponse.
35455
+ * @param [properties] Properties to set
35456
+ */
35457
+ private constructor(properties?: replit.goval.api.lore.IImportReplResponse);
35458
+
35459
+ /** ImportReplResponse repl. */
35460
+ public repl?: (replit.goval.api.lore.Repl|null);
35461
+
35462
+ /** ImportReplResponse cluster. */
35463
+ public cluster?: (replit.goval.api.lore.Cluster|null);
35464
+
35465
+ /** ImportReplResponse buckets. */
35466
+ public buckets?: (replit.goval.api.lore.Buckets|null);
35467
+
35468
+ /**
35469
+ * Creates a new ImportReplResponse instance using the specified properties.
35470
+ * @param [properties] Properties to set
35471
+ * @returns ImportReplResponse instance
35472
+ */
35473
+ public static create(properties?: replit.goval.api.lore.IImportReplResponse): replit.goval.api.lore.ImportReplResponse;
35474
+
35475
+ /**
35476
+ * Encodes the specified ImportReplResponse message. Does not implicitly {@link replit.goval.api.lore.ImportReplResponse.verify|verify} messages.
35477
+ * @param message ImportReplResponse message or plain object to encode
35478
+ * @param [writer] Writer to encode to
35479
+ * @returns Writer
35480
+ */
35481
+ public static encode(message: replit.goval.api.lore.ImportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35482
+
35483
+ /**
35484
+ * Encodes the specified ImportReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.ImportReplResponse.verify|verify} messages.
35485
+ * @param message ImportReplResponse message or plain object to encode
35486
+ * @param [writer] Writer to encode to
35487
+ * @returns Writer
35488
+ */
35489
+ public static encodeDelimited(message: replit.goval.api.lore.ImportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35490
+
35491
+ /**
35492
+ * Decodes an ImportReplResponse message from the specified reader or buffer.
35493
+ * @param reader Reader or buffer to decode from
35494
+ * @param [length] Message length if known beforehand
35495
+ * @returns ImportReplResponse
35496
+ * @throws {Error} If the payload is not a reader or valid buffer
35497
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35498
+ */
35499
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ImportReplResponse;
35500
+
35501
+ /**
35502
+ * Decodes an ImportReplResponse message from the specified reader or buffer, length delimited.
35503
+ * @param reader Reader or buffer to decode from
35504
+ * @returns ImportReplResponse
35505
+ * @throws {Error} If the payload is not a reader or valid buffer
35506
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35507
+ */
35508
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ImportReplResponse;
35509
+
35510
+ /**
35511
+ * Verifies an ImportReplResponse message.
35512
+ * @param message Plain object to verify
35513
+ * @returns `null` if valid, otherwise the reason why it is not
35514
+ */
35515
+ public static verify(message: { [k: string]: any }): (string|null);
35516
+
35517
+ /**
35518
+ * Creates an ImportReplResponse message from a plain object. Also converts values to their respective internal types.
35519
+ * @param object Plain object
35520
+ * @returns ImportReplResponse
35521
+ */
35522
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ImportReplResponse;
35523
+
35524
+ /**
35525
+ * Creates a plain object from an ImportReplResponse message. Also converts values to other types if specified.
35526
+ * @param message ImportReplResponse
35527
+ * @param [options] Conversion options
35528
+ * @returns Plain object
35529
+ */
35530
+ public static toObject(message: replit.goval.api.lore.ImportReplResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
35531
+
35532
+ /**
35533
+ * Converts this ImportReplResponse to JSON.
35534
+ * @returns JSON object
35535
+ */
35536
+ public toJSON(): { [k: string]: any };
35537
+
35538
+ /**
35539
+ * Gets the default type url for ImportReplResponse
35540
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35541
+ * @returns The default type url
35542
+ */
35543
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35544
+ }
35545
+
34583
35546
  /** Represents a Lore */
34584
35547
  class Lore extends $protobuf.rpc.Service {
34585
35548
 
@@ -34795,6 +35758,34 @@ export namespace replit {
34795
35758
  * @returns Promise
34796
35759
  */
34797
35760
  public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest): Promise<replit.goval.api.lore.TransferReplFromOfflineClusterResponse>;
35761
+
35762
+ /**
35763
+ * Calls ExportRepl.
35764
+ * @param request ExportReplRequest message or plain object
35765
+ * @param callback Node-style callback called with the error, if any, and ExportReplResponse
35766
+ */
35767
+ public exportRepl(request: replit.goval.api.lore.ExportReplRequest, callback: replit.goval.api.lore.Lore.ExportReplCallback): void;
35768
+
35769
+ /**
35770
+ * Calls ExportRepl.
35771
+ * @param request ExportReplRequest message or plain object
35772
+ * @returns Promise
35773
+ */
35774
+ public exportRepl(request: replit.goval.api.lore.ExportReplRequest): Promise<replit.goval.api.lore.ExportReplResponse>;
35775
+
35776
+ /**
35777
+ * Calls ImportRepl.
35778
+ * @param request ImportReplRequest message or plain object
35779
+ * @param callback Node-style callback called with the error, if any, and ImportReplResponse
35780
+ */
35781
+ public importRepl(request: replit.goval.api.lore.ImportReplRequest, callback: replit.goval.api.lore.Lore.ImportReplCallback): void;
35782
+
35783
+ /**
35784
+ * Calls ImportRepl.
35785
+ * @param request ImportReplRequest message or plain object
35786
+ * @returns Promise
35787
+ */
35788
+ public importRepl(request: replit.goval.api.lore.ImportReplRequest): Promise<replit.goval.api.lore.ImportReplResponse>;
34798
35789
  }
34799
35790
 
34800
35791
  namespace Lore {
@@ -34896,6 +35887,20 @@ export namespace replit {
34896
35887
  * @param [response] TransferReplFromOfflineClusterResponse
34897
35888
  */
34898
35889
  type TransferReplFromOfflineClusterCallback = (error: (Error|null), response?: replit.goval.api.lore.TransferReplFromOfflineClusterResponse) => void;
35890
+
35891
+ /**
35892
+ * Callback as used by {@link replit.goval.api.lore.Lore#exportRepl}.
35893
+ * @param error Error, if any
35894
+ * @param [response] ExportReplResponse
35895
+ */
35896
+ type ExportReplCallback = (error: (Error|null), response?: replit.goval.api.lore.ExportReplResponse) => void;
35897
+
35898
+ /**
35899
+ * Callback as used by {@link replit.goval.api.lore.Lore#importRepl}.
35900
+ * @param error Error, if any
35901
+ * @param [response] ImportReplResponse
35902
+ */
35903
+ type ImportReplCallback = (error: (Error|null), response?: replit.goval.api.lore.ImportReplResponse) => void;
34899
35904
  }
34900
35905
  }
34901
35906