@rivetkit/engine-envoy-protocol 0.0.0-pr.4673.028a93e → 0.0.0-pr.4673.39f8e28

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.
package/dist/index.d.ts CHANGED
@@ -165,6 +165,186 @@ type KvResponseData = {
165
165
  };
166
166
  declare function readKvResponseData(bc: bare.ByteCursor): KvResponseData;
167
167
  declare function writeKvResponseData(bc: bare.ByteCursor, x: KvResponseData): void;
168
+ type SqliteGeneration = u64;
169
+ declare function readSqliteGeneration(bc: bare.ByteCursor): SqliteGeneration;
170
+ declare function writeSqliteGeneration(bc: bare.ByteCursor, x: SqliteGeneration): void;
171
+ type SqliteTxid = u64;
172
+ declare function readSqliteTxid(bc: bare.ByteCursor): SqliteTxid;
173
+ declare function writeSqliteTxid(bc: bare.ByteCursor, x: SqliteTxid): void;
174
+ type SqlitePgno = u32;
175
+ declare function readSqlitePgno(bc: bare.ByteCursor): SqlitePgno;
176
+ declare function writeSqlitePgno(bc: bare.ByteCursor, x: SqlitePgno): void;
177
+ type SqliteStageId = u64;
178
+ declare function readSqliteStageId(bc: bare.ByteCursor): SqliteStageId;
179
+ declare function writeSqliteStageId(bc: bare.ByteCursor, x: SqliteStageId): void;
180
+ type SqlitePageBytes = ArrayBuffer;
181
+ declare function readSqlitePageBytes(bc: bare.ByteCursor): SqlitePageBytes;
182
+ declare function writeSqlitePageBytes(bc: bare.ByteCursor, x: SqlitePageBytes): void;
183
+ type SqliteMeta = {
184
+ readonly schemaVersion: u32;
185
+ readonly generation: SqliteGeneration;
186
+ readonly headTxid: SqliteTxid;
187
+ readonly materializedTxid: SqliteTxid;
188
+ readonly dbSizePages: u32;
189
+ readonly pageSize: u32;
190
+ readonly creationTsMs: i64;
191
+ readonly maxDeltaBytes: u64;
192
+ };
193
+ declare function readSqliteMeta(bc: bare.ByteCursor): SqliteMeta;
194
+ declare function writeSqliteMeta(bc: bare.ByteCursor, x: SqliteMeta): void;
195
+ type SqliteFenceMismatch = {
196
+ readonly actualMeta: SqliteMeta;
197
+ readonly reason: string;
198
+ };
199
+ declare function readSqliteFenceMismatch(bc: bare.ByteCursor): SqliteFenceMismatch;
200
+ declare function writeSqliteFenceMismatch(bc: bare.ByteCursor, x: SqliteFenceMismatch): void;
201
+ type SqliteDirtyPage = {
202
+ readonly pgno: SqlitePgno;
203
+ readonly bytes: SqlitePageBytes;
204
+ };
205
+ declare function readSqliteDirtyPage(bc: bare.ByteCursor): SqliteDirtyPage;
206
+ declare function writeSqliteDirtyPage(bc: bare.ByteCursor, x: SqliteDirtyPage): void;
207
+ type SqliteFetchedPage = {
208
+ readonly pgno: SqlitePgno;
209
+ readonly bytes: SqlitePageBytes | null;
210
+ };
211
+ declare function readSqliteFetchedPage(bc: bare.ByteCursor): SqliteFetchedPage;
212
+ declare function writeSqliteFetchedPage(bc: bare.ByteCursor, x: SqliteFetchedPage): void;
213
+ type SqliteGetPagesRequest = {
214
+ readonly actorId: Id;
215
+ readonly generation: SqliteGeneration;
216
+ readonly pgnos: readonly SqlitePgno[];
217
+ };
218
+ declare function readSqliteGetPagesRequest(bc: bare.ByteCursor): SqliteGetPagesRequest;
219
+ declare function writeSqliteGetPagesRequest(bc: bare.ByteCursor, x: SqliteGetPagesRequest): void;
220
+ type SqliteGetPagesOk = {
221
+ readonly pages: readonly SqliteFetchedPage[];
222
+ readonly meta: SqliteMeta;
223
+ };
224
+ declare function readSqliteGetPagesOk(bc: bare.ByteCursor): SqliteGetPagesOk;
225
+ declare function writeSqliteGetPagesOk(bc: bare.ByteCursor, x: SqliteGetPagesOk): void;
226
+ type SqliteErrorResponse = {
227
+ readonly message: string;
228
+ };
229
+ declare function readSqliteErrorResponse(bc: bare.ByteCursor): SqliteErrorResponse;
230
+ declare function writeSqliteErrorResponse(bc: bare.ByteCursor, x: SqliteErrorResponse): void;
231
+ type SqliteGetPagesResponse = {
232
+ readonly tag: "SqliteGetPagesOk";
233
+ readonly val: SqliteGetPagesOk;
234
+ } | {
235
+ readonly tag: "SqliteFenceMismatch";
236
+ readonly val: SqliteFenceMismatch;
237
+ } | {
238
+ readonly tag: "SqliteErrorResponse";
239
+ readonly val: SqliteErrorResponse;
240
+ };
241
+ declare function readSqliteGetPagesResponse(bc: bare.ByteCursor): SqliteGetPagesResponse;
242
+ declare function writeSqliteGetPagesResponse(bc: bare.ByteCursor, x: SqliteGetPagesResponse): void;
243
+ type SqliteCommitRequest = {
244
+ readonly actorId: Id;
245
+ readonly generation: SqliteGeneration;
246
+ readonly expectedHeadTxid: SqliteTxid;
247
+ readonly dirtyPages: readonly SqliteDirtyPage[];
248
+ readonly newDbSizePages: u32;
249
+ };
250
+ declare function readSqliteCommitRequest(bc: bare.ByteCursor): SqliteCommitRequest;
251
+ declare function writeSqliteCommitRequest(bc: bare.ByteCursor, x: SqliteCommitRequest): void;
252
+ type SqliteCommitOk = {
253
+ readonly newHeadTxid: SqliteTxid;
254
+ readonly meta: SqliteMeta;
255
+ };
256
+ declare function readSqliteCommitOk(bc: bare.ByteCursor): SqliteCommitOk;
257
+ declare function writeSqliteCommitOk(bc: bare.ByteCursor, x: SqliteCommitOk): void;
258
+ type SqliteCommitTooLarge = {
259
+ readonly actualSizeBytes: u64;
260
+ readonly maxSizeBytes: u64;
261
+ };
262
+ declare function readSqliteCommitTooLarge(bc: bare.ByteCursor): SqliteCommitTooLarge;
263
+ declare function writeSqliteCommitTooLarge(bc: bare.ByteCursor, x: SqliteCommitTooLarge): void;
264
+ type SqliteCommitResponse = {
265
+ readonly tag: "SqliteCommitOk";
266
+ readonly val: SqliteCommitOk;
267
+ } | {
268
+ readonly tag: "SqliteFenceMismatch";
269
+ readonly val: SqliteFenceMismatch;
270
+ } | {
271
+ readonly tag: "SqliteCommitTooLarge";
272
+ readonly val: SqliteCommitTooLarge;
273
+ } | {
274
+ readonly tag: "SqliteErrorResponse";
275
+ readonly val: SqliteErrorResponse;
276
+ };
277
+ declare function readSqliteCommitResponse(bc: bare.ByteCursor): SqliteCommitResponse;
278
+ declare function writeSqliteCommitResponse(bc: bare.ByteCursor, x: SqliteCommitResponse): void;
279
+ type SqliteCommitStageRequest = {
280
+ readonly actorId: Id;
281
+ readonly generation: SqliteGeneration;
282
+ readonly stageId: SqliteStageId;
283
+ readonly chunkIdx: u16;
284
+ readonly dirtyPages: readonly SqliteDirtyPage[];
285
+ readonly isLast: boolean;
286
+ };
287
+ declare function readSqliteCommitStageRequest(bc: bare.ByteCursor): SqliteCommitStageRequest;
288
+ declare function writeSqliteCommitStageRequest(bc: bare.ByteCursor, x: SqliteCommitStageRequest): void;
289
+ type SqliteCommitStageOk = {
290
+ readonly chunkIdxCommitted: u16;
291
+ };
292
+ declare function readSqliteCommitStageOk(bc: bare.ByteCursor): SqliteCommitStageOk;
293
+ declare function writeSqliteCommitStageOk(bc: bare.ByteCursor, x: SqliteCommitStageOk): void;
294
+ type SqliteCommitStageResponse = {
295
+ readonly tag: "SqliteCommitStageOk";
296
+ readonly val: SqliteCommitStageOk;
297
+ } | {
298
+ readonly tag: "SqliteFenceMismatch";
299
+ readonly val: SqliteFenceMismatch;
300
+ } | {
301
+ readonly tag: "SqliteErrorResponse";
302
+ readonly val: SqliteErrorResponse;
303
+ };
304
+ declare function readSqliteCommitStageResponse(bc: bare.ByteCursor): SqliteCommitStageResponse;
305
+ declare function writeSqliteCommitStageResponse(bc: bare.ByteCursor, x: SqliteCommitStageResponse): void;
306
+ type SqliteCommitFinalizeRequest = {
307
+ readonly actorId: Id;
308
+ readonly generation: SqliteGeneration;
309
+ readonly expectedHeadTxid: SqliteTxid;
310
+ readonly stageId: SqliteStageId;
311
+ readonly newDbSizePages: u32;
312
+ };
313
+ declare function readSqliteCommitFinalizeRequest(bc: bare.ByteCursor): SqliteCommitFinalizeRequest;
314
+ declare function writeSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: SqliteCommitFinalizeRequest): void;
315
+ type SqliteCommitFinalizeOk = {
316
+ readonly newHeadTxid: SqliteTxid;
317
+ readonly meta: SqliteMeta;
318
+ };
319
+ declare function readSqliteCommitFinalizeOk(bc: bare.ByteCursor): SqliteCommitFinalizeOk;
320
+ declare function writeSqliteCommitFinalizeOk(bc: bare.ByteCursor, x: SqliteCommitFinalizeOk): void;
321
+ type SqliteStageNotFound = {
322
+ readonly stageId: SqliteStageId;
323
+ };
324
+ declare function readSqliteStageNotFound(bc: bare.ByteCursor): SqliteStageNotFound;
325
+ declare function writeSqliteStageNotFound(bc: bare.ByteCursor, x: SqliteStageNotFound): void;
326
+ type SqliteCommitFinalizeResponse = {
327
+ readonly tag: "SqliteCommitFinalizeOk";
328
+ readonly val: SqliteCommitFinalizeOk;
329
+ } | {
330
+ readonly tag: "SqliteFenceMismatch";
331
+ readonly val: SqliteFenceMismatch;
332
+ } | {
333
+ readonly tag: "SqliteStageNotFound";
334
+ readonly val: SqliteStageNotFound;
335
+ } | {
336
+ readonly tag: "SqliteErrorResponse";
337
+ readonly val: SqliteErrorResponse;
338
+ };
339
+ declare function readSqliteCommitFinalizeResponse(bc: bare.ByteCursor): SqliteCommitFinalizeResponse;
340
+ declare function writeSqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: SqliteCommitFinalizeResponse): void;
341
+ type SqliteStartupData = {
342
+ readonly generation: SqliteGeneration;
343
+ readonly meta: SqliteMeta;
344
+ readonly preloadedPages: readonly SqliteFetchedPage[];
345
+ };
346
+ declare function readSqliteStartupData(bc: bare.ByteCursor): SqliteStartupData;
347
+ declare function writeSqliteStartupData(bc: bare.ByteCursor, x: SqliteStartupData): void;
168
348
  /**
169
349
  * Core
170
350
  */
@@ -287,6 +467,8 @@ type CommandStartActor = {
287
467
  readonly config: ActorConfig;
288
468
  readonly hibernatingRequests: readonly HibernatingRequest[];
289
469
  readonly preloadedKv: PreloadedKv | null;
470
+ readonly sqliteSchemaVersion: u32;
471
+ readonly sqliteStartupData: SqliteStartupData | null;
290
472
  };
291
473
  declare function readCommandStartActor(bc: bare.ByteCursor): CommandStartActor;
292
474
  declare function writeCommandStartActor(bc: bare.ByteCursor, x: CommandStartActor): void;
@@ -543,6 +725,30 @@ type ToRivetKvRequest = {
543
725
  };
544
726
  declare function readToRivetKvRequest(bc: bare.ByteCursor): ToRivetKvRequest;
545
727
  declare function writeToRivetKvRequest(bc: bare.ByteCursor, x: ToRivetKvRequest): void;
728
+ type ToRivetSqliteGetPagesRequest = {
729
+ readonly requestId: u32;
730
+ readonly data: SqliteGetPagesRequest;
731
+ };
732
+ declare function readToRivetSqliteGetPagesRequest(bc: bare.ByteCursor): ToRivetSqliteGetPagesRequest;
733
+ declare function writeToRivetSqliteGetPagesRequest(bc: bare.ByteCursor, x: ToRivetSqliteGetPagesRequest): void;
734
+ type ToRivetSqliteCommitRequest = {
735
+ readonly requestId: u32;
736
+ readonly data: SqliteCommitRequest;
737
+ };
738
+ declare function readToRivetSqliteCommitRequest(bc: bare.ByteCursor): ToRivetSqliteCommitRequest;
739
+ declare function writeToRivetSqliteCommitRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitRequest): void;
740
+ type ToRivetSqliteCommitStageRequest = {
741
+ readonly requestId: u32;
742
+ readonly data: SqliteCommitStageRequest;
743
+ };
744
+ declare function readToRivetSqliteCommitStageRequest(bc: bare.ByteCursor): ToRivetSqliteCommitStageRequest;
745
+ declare function writeToRivetSqliteCommitStageRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitStageRequest): void;
746
+ type ToRivetSqliteCommitFinalizeRequest = {
747
+ readonly requestId: u32;
748
+ readonly data: SqliteCommitFinalizeRequest;
749
+ };
750
+ declare function readToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor): ToRivetSqliteCommitFinalizeRequest;
751
+ declare function writeToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitFinalizeRequest): void;
546
752
  type ToRivet = {
547
753
  readonly tag: "ToRivetMetadata";
548
754
  readonly val: ToRivetMetadata;
@@ -564,6 +770,18 @@ type ToRivet = {
564
770
  } | {
565
771
  readonly tag: "ToRivetTunnelMessage";
566
772
  readonly val: ToRivetTunnelMessage;
773
+ } | {
774
+ readonly tag: "ToRivetSqliteGetPagesRequest";
775
+ readonly val: ToRivetSqliteGetPagesRequest;
776
+ } | {
777
+ readonly tag: "ToRivetSqliteCommitRequest";
778
+ readonly val: ToRivetSqliteCommitRequest;
779
+ } | {
780
+ readonly tag: "ToRivetSqliteCommitStageRequest";
781
+ readonly val: ToRivetSqliteCommitStageRequest;
782
+ } | {
783
+ readonly tag: "ToRivetSqliteCommitFinalizeRequest";
784
+ readonly val: ToRivetSqliteCommitFinalizeRequest;
567
785
  };
568
786
  declare function readToRivet(bc: bare.ByteCursor): ToRivet;
569
787
  declare function writeToRivet(bc: bare.ByteCursor, x: ToRivet): void;
@@ -598,6 +816,30 @@ type ToEnvoyKvResponse = {
598
816
  };
599
817
  declare function readToEnvoyKvResponse(bc: bare.ByteCursor): ToEnvoyKvResponse;
600
818
  declare function writeToEnvoyKvResponse(bc: bare.ByteCursor, x: ToEnvoyKvResponse): void;
819
+ type ToEnvoySqliteGetPagesResponse = {
820
+ readonly requestId: u32;
821
+ readonly data: SqliteGetPagesResponse;
822
+ };
823
+ declare function readToEnvoySqliteGetPagesResponse(bc: bare.ByteCursor): ToEnvoySqliteGetPagesResponse;
824
+ declare function writeToEnvoySqliteGetPagesResponse(bc: bare.ByteCursor, x: ToEnvoySqliteGetPagesResponse): void;
825
+ type ToEnvoySqliteCommitResponse = {
826
+ readonly requestId: u32;
827
+ readonly data: SqliteCommitResponse;
828
+ };
829
+ declare function readToEnvoySqliteCommitResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitResponse;
830
+ declare function writeToEnvoySqliteCommitResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitResponse): void;
831
+ type ToEnvoySqliteCommitStageResponse = {
832
+ readonly requestId: u32;
833
+ readonly data: SqliteCommitStageResponse;
834
+ };
835
+ declare function readToEnvoySqliteCommitStageResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitStageResponse;
836
+ declare function writeToEnvoySqliteCommitStageResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitStageResponse): void;
837
+ type ToEnvoySqliteCommitFinalizeResponse = {
838
+ readonly requestId: u32;
839
+ readonly data: SqliteCommitFinalizeResponse;
840
+ };
841
+ declare function readToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitFinalizeResponse;
842
+ declare function writeToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitFinalizeResponse): void;
601
843
  type ToEnvoy = {
602
844
  readonly tag: "ToEnvoyInit";
603
845
  readonly val: ToEnvoyInit;
@@ -616,6 +858,18 @@ type ToEnvoy = {
616
858
  } | {
617
859
  readonly tag: "ToEnvoyPing";
618
860
  readonly val: ToEnvoyPing;
861
+ } | {
862
+ readonly tag: "ToEnvoySqliteGetPagesResponse";
863
+ readonly val: ToEnvoySqliteGetPagesResponse;
864
+ } | {
865
+ readonly tag: "ToEnvoySqliteCommitResponse";
866
+ readonly val: ToEnvoySqliteCommitResponse;
867
+ } | {
868
+ readonly tag: "ToEnvoySqliteCommitStageResponse";
869
+ readonly val: ToEnvoySqliteCommitStageResponse;
870
+ } | {
871
+ readonly tag: "ToEnvoySqliteCommitFinalizeResponse";
872
+ readonly val: ToEnvoySqliteCommitFinalizeResponse;
619
873
  };
620
874
  declare function readToEnvoy(bc: bare.ByteCursor): ToEnvoy;
621
875
  declare function writeToEnvoy(bc: bare.ByteCursor, x: ToEnvoy): void;
@@ -691,6 +945,6 @@ declare function readToOutbound(bc: bare.ByteCursor): ToOutbound;
691
945
  declare function writeToOutbound(bc: bare.ByteCursor, x: ToOutbound): void;
692
946
  declare function encodeToOutbound(x: ToOutbound, config?: Partial<bare.Config>): Uint8Array;
693
947
  declare function decodeToOutbound(bytes: Uint8Array): ToOutbound;
694
- declare const VERSION = 1;
948
+ declare const VERSION = 2;
695
949
 
696
- export { type ActorCheckpoint, type ActorCommandKeyData, type ActorConfig, type ActorIntent, type ActorIntentSleep, type ActorIntentStop, type ActorName, type ActorState, type ActorStateRunning, type ActorStateStopped, type Command, type CommandStartActor, type CommandStopActor, type CommandWrapper, type Event, type EventActorIntent, type EventActorSetAlarm, type EventActorStateUpdate, type EventWrapper, type GatewayId, type HibernatingRequest, type Id, type Json, type KvDeleteRangeRequest, type KvDeleteRequest, type KvDeleteResponse, type KvDropRequest, type KvDropResponse, type KvErrorResponse, type KvGetRequest, type KvGetResponse, type KvKey, type KvListAllQuery, type KvListPrefixQuery, type KvListQuery, type KvListRangeQuery, type KvListRequest, type KvListResponse, type KvMetadata, type KvPutRequest, type KvPutResponse, type KvRequestData, type KvResponseData, type KvValue, type MessageId, type MessageIndex, type PreloadedKv, type PreloadedKvEntry, type ProtocolMetadata, type RequestId, StopActorReason, StopCode, type ToEnvoy, type ToEnvoyAckEvents, type ToEnvoyCommands, type ToEnvoyConn, type ToEnvoyConnClose, type ToEnvoyConnPing, type ToEnvoyInit, type ToEnvoyKvResponse, type ToEnvoyPing, type ToEnvoyRequestAbort, type ToEnvoyRequestChunk, type ToEnvoyRequestStart, type ToEnvoyTunnelMessage, type ToEnvoyTunnelMessageKind, type ToEnvoyWebSocketClose, type ToEnvoyWebSocketMessage, type ToEnvoyWebSocketOpen, type ToGateway, type ToGatewayPong, type ToOutbound, type ToOutboundActorStart, type ToRivet, type ToRivetAckCommands, type ToRivetEvents, type ToRivetKvRequest, type ToRivetMetadata, type ToRivetPong, type ToRivetResponseAbort, type ToRivetResponseChunk, type ToRivetResponseStart, type ToRivetStopping, type ToRivetTunnelMessage, type ToRivetTunnelMessageKind, type ToRivetWebSocketClose, type ToRivetWebSocketMessage, type ToRivetWebSocketMessageAck, type ToRivetWebSocketOpen, VERSION, decodeActorCommandKeyData, decodeToEnvoy, decodeToEnvoyConn, decodeToGateway, decodeToOutbound, decodeToRivet, encodeActorCommandKeyData, encodeToEnvoy, encodeToEnvoyConn, encodeToGateway, encodeToOutbound, encodeToRivet, type i64, readActorCheckpoint, readActorCommandKeyData, readActorConfig, readActorIntent, readActorName, readActorState, readActorStateStopped, readCommand, readCommandStartActor, readCommandStopActor, readCommandWrapper, readEvent, readEventActorIntent, readEventActorSetAlarm, readEventActorStateUpdate, readEventWrapper, readGatewayId, readHibernatingRequest, readId, readJson, readKvDeleteRangeRequest, readKvDeleteRequest, readKvErrorResponse, readKvGetRequest, readKvGetResponse, readKvKey, readKvListPrefixQuery, readKvListQuery, readKvListRangeQuery, readKvListRequest, readKvListResponse, readKvMetadata, readKvPutRequest, readKvRequestData, readKvResponseData, readKvValue, readMessageId, readMessageIndex, readPreloadedKv, readPreloadedKvEntry, readProtocolMetadata, readRequestId, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetResponseChunk, readToRivetResponseStart, readToRivetTunnelMessage, readToRivetTunnelMessageKind, readToRivetWebSocketClose, readToRivetWebSocketMessage, readToRivetWebSocketMessageAck, readToRivetWebSocketOpen, type u16, type u32, type u64, writeActorCheckpoint, writeActorCommandKeyData, writeActorConfig, writeActorIntent, writeActorName, writeActorState, writeActorStateStopped, writeCommand, writeCommandStartActor, writeCommandStopActor, writeCommandWrapper, writeEvent, writeEventActorIntent, writeEventActorSetAlarm, writeEventActorStateUpdate, writeEventWrapper, writeGatewayId, writeHibernatingRequest, writeId, writeJson, writeKvDeleteRangeRequest, writeKvDeleteRequest, writeKvErrorResponse, writeKvGetRequest, writeKvGetResponse, writeKvKey, writeKvListPrefixQuery, writeKvListQuery, writeKvListRangeQuery, writeKvListRequest, writeKvListResponse, writeKvMetadata, writeKvPutRequest, writeKvRequestData, writeKvResponseData, writeKvValue, writeMessageId, writeMessageIndex, writePreloadedKv, writePreloadedKvEntry, writeProtocolMetadata, writeRequestId, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };
950
+ export { type ActorCheckpoint, type ActorCommandKeyData, type ActorConfig, type ActorIntent, type ActorIntentSleep, type ActorIntentStop, type ActorName, type ActorState, type ActorStateRunning, type ActorStateStopped, type Command, type CommandStartActor, type CommandStopActor, type CommandWrapper, type Event, type EventActorIntent, type EventActorSetAlarm, type EventActorStateUpdate, type EventWrapper, type GatewayId, type HibernatingRequest, type Id, type Json, type KvDeleteRangeRequest, type KvDeleteRequest, type KvDeleteResponse, type KvDropRequest, type KvDropResponse, type KvErrorResponse, type KvGetRequest, type KvGetResponse, type KvKey, type KvListAllQuery, type KvListPrefixQuery, type KvListQuery, type KvListRangeQuery, type KvListRequest, type KvListResponse, type KvMetadata, type KvPutRequest, type KvPutResponse, type KvRequestData, type KvResponseData, type KvValue, type MessageId, type MessageIndex, type PreloadedKv, type PreloadedKvEntry, type ProtocolMetadata, type RequestId, type SqliteCommitFinalizeOk, type SqliteCommitFinalizeRequest, type SqliteCommitFinalizeResponse, type SqliteCommitOk, type SqliteCommitRequest, type SqliteCommitResponse, type SqliteCommitStageOk, type SqliteCommitStageRequest, type SqliteCommitStageResponse, type SqliteCommitTooLarge, type SqliteDirtyPage, type SqliteErrorResponse, type SqliteFenceMismatch, type SqliteFetchedPage, type SqliteGeneration, type SqliteGetPagesOk, type SqliteGetPagesRequest, type SqliteGetPagesResponse, type SqliteMeta, type SqlitePageBytes, type SqlitePgno, type SqliteStageId, type SqliteStageNotFound, type SqliteStartupData, type SqliteTxid, StopActorReason, StopCode, type ToEnvoy, type ToEnvoyAckEvents, type ToEnvoyCommands, type ToEnvoyConn, type ToEnvoyConnClose, type ToEnvoyConnPing, type ToEnvoyInit, type ToEnvoyKvResponse, type ToEnvoyPing, type ToEnvoyRequestAbort, type ToEnvoyRequestChunk, type ToEnvoyRequestStart, type ToEnvoySqliteCommitFinalizeResponse, type ToEnvoySqliteCommitResponse, type ToEnvoySqliteCommitStageResponse, type ToEnvoySqliteGetPagesResponse, type ToEnvoyTunnelMessage, type ToEnvoyTunnelMessageKind, type ToEnvoyWebSocketClose, type ToEnvoyWebSocketMessage, type ToEnvoyWebSocketOpen, type ToGateway, type ToGatewayPong, type ToOutbound, type ToOutboundActorStart, type ToRivet, type ToRivetAckCommands, type ToRivetEvents, type ToRivetKvRequest, type ToRivetMetadata, type ToRivetPong, type ToRivetResponseAbort, type ToRivetResponseChunk, type ToRivetResponseStart, type ToRivetSqliteCommitFinalizeRequest, type ToRivetSqliteCommitRequest, type ToRivetSqliteCommitStageRequest, type ToRivetSqliteGetPagesRequest, type ToRivetStopping, type ToRivetTunnelMessage, type ToRivetTunnelMessageKind, type ToRivetWebSocketClose, type ToRivetWebSocketMessage, type ToRivetWebSocketMessageAck, type ToRivetWebSocketOpen, VERSION, decodeActorCommandKeyData, decodeToEnvoy, decodeToEnvoyConn, decodeToGateway, decodeToOutbound, decodeToRivet, encodeActorCommandKeyData, encodeToEnvoy, encodeToEnvoyConn, encodeToGateway, encodeToOutbound, encodeToRivet, type i64, readActorCheckpoint, readActorCommandKeyData, readActorConfig, readActorIntent, readActorName, readActorState, readActorStateStopped, readCommand, readCommandStartActor, readCommandStopActor, readCommandWrapper, readEvent, readEventActorIntent, readEventActorSetAlarm, readEventActorStateUpdate, readEventWrapper, readGatewayId, readHibernatingRequest, readId, readJson, readKvDeleteRangeRequest, readKvDeleteRequest, readKvErrorResponse, readKvGetRequest, readKvGetResponse, readKvKey, readKvListPrefixQuery, readKvListQuery, readKvListRangeQuery, readKvListRequest, readKvListResponse, readKvMetadata, readKvPutRequest, readKvRequestData, readKvResponseData, readKvValue, readMessageId, readMessageIndex, readPreloadedKv, readPreloadedKvEntry, readProtocolMetadata, readRequestId, readSqliteCommitFinalizeOk, readSqliteCommitFinalizeRequest, readSqliteCommitFinalizeResponse, readSqliteCommitOk, readSqliteCommitRequest, readSqliteCommitResponse, readSqliteCommitStageOk, readSqliteCommitStageRequest, readSqliteCommitStageResponse, readSqliteCommitTooLarge, readSqliteDirtyPage, readSqliteErrorResponse, readSqliteFenceMismatch, readSqliteFetchedPage, readSqliteGeneration, readSqliteGetPagesOk, readSqliteGetPagesRequest, readSqliteGetPagesResponse, readSqliteMeta, readSqlitePageBytes, readSqlitePgno, readSqliteStageId, readSqliteStageNotFound, readSqliteStartupData, readSqliteTxid, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoySqliteCommitFinalizeResponse, readToEnvoySqliteCommitResponse, readToEnvoySqliteCommitStageResponse, readToEnvoySqliteGetPagesResponse, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetResponseChunk, readToRivetResponseStart, readToRivetSqliteCommitFinalizeRequest, readToRivetSqliteCommitRequest, readToRivetSqliteCommitStageRequest, readToRivetSqliteGetPagesRequest, readToRivetTunnelMessage, readToRivetTunnelMessageKind, readToRivetWebSocketClose, readToRivetWebSocketMessage, readToRivetWebSocketMessageAck, readToRivetWebSocketOpen, type u16, type u32, type u64, writeActorCheckpoint, writeActorCommandKeyData, writeActorConfig, writeActorIntent, writeActorName, writeActorState, writeActorStateStopped, writeCommand, writeCommandStartActor, writeCommandStopActor, writeCommandWrapper, writeEvent, writeEventActorIntent, writeEventActorSetAlarm, writeEventActorStateUpdate, writeEventWrapper, writeGatewayId, writeHibernatingRequest, writeId, writeJson, writeKvDeleteRangeRequest, writeKvDeleteRequest, writeKvErrorResponse, writeKvGetRequest, writeKvGetResponse, writeKvKey, writeKvListPrefixQuery, writeKvListQuery, writeKvListRangeQuery, writeKvListRequest, writeKvListResponse, writeKvMetadata, writeKvPutRequest, writeKvRequestData, writeKvResponseData, writeKvValue, writeMessageId, writeMessageIndex, writePreloadedKv, writePreloadedKvEntry, writeProtocolMetadata, writeRequestId, writeSqliteCommitFinalizeOk, writeSqliteCommitFinalizeRequest, writeSqliteCommitFinalizeResponse, writeSqliteCommitOk, writeSqliteCommitRequest, writeSqliteCommitResponse, writeSqliteCommitStageOk, writeSqliteCommitStageRequest, writeSqliteCommitStageResponse, writeSqliteCommitTooLarge, writeSqliteDirtyPage, writeSqliteErrorResponse, writeSqliteFenceMismatch, writeSqliteFetchedPage, writeSqliteGeneration, writeSqliteGetPagesOk, writeSqliteGetPagesRequest, writeSqliteGetPagesResponse, writeSqliteMeta, writeSqlitePageBytes, writeSqlitePgno, writeSqliteStageId, writeSqliteStageNotFound, writeSqliteStartupData, writeSqliteTxid, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoySqliteCommitFinalizeResponse, writeToEnvoySqliteCommitResponse, writeToEnvoySqliteCommitStageResponse, writeToEnvoySqliteGetPagesResponse, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetSqliteCommitFinalizeRequest, writeToRivetSqliteCommitRequest, writeToRivetSqliteCommitStageRequest, writeToRivetSqliteGetPagesRequest, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };