@livekit/rtc-node 0.12.1 → 0.13.0

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 (223) hide show
  1. package/dist/audio_frame.cjs +2 -2
  2. package/dist/audio_frame.cjs.map +1 -1
  3. package/dist/audio_frame.d.cts +31 -0
  4. package/dist/audio_frame.d.ts +11 -5
  5. package/dist/audio_frame.d.ts.map +1 -1
  6. package/dist/audio_frame.js +3 -3
  7. package/dist/audio_frame.js.map +1 -1
  8. package/dist/audio_resampler.cjs +10 -7
  9. package/dist/audio_resampler.cjs.map +1 -1
  10. package/dist/audio_resampler.d.cts +59 -0
  11. package/dist/audio_resampler.d.ts +11 -3
  12. package/dist/audio_resampler.d.ts.map +1 -1
  13. package/dist/audio_resampler.js +13 -10
  14. package/dist/audio_resampler.js.map +1 -1
  15. package/dist/audio_source.cjs +6 -4
  16. package/dist/audio_source.cjs.map +1 -1
  17. package/dist/audio_source.d.cts +37 -0
  18. package/dist/audio_source.d.ts +13 -5
  19. package/dist/audio_source.d.ts.map +1 -1
  20. package/dist/audio_source.js +9 -7
  21. package/dist/audio_source.js.map +1 -1
  22. package/dist/audio_stream.cjs +1 -2
  23. package/dist/audio_stream.cjs.map +1 -1
  24. package/dist/audio_stream.d.cts +37 -0
  25. package/dist/audio_stream.d.ts +16 -5
  26. package/dist/audio_stream.d.ts.map +1 -1
  27. package/dist/audio_stream.js +2 -3
  28. package/dist/audio_stream.js.map +1 -1
  29. package/dist/e2ee.cjs +19 -20
  30. package/dist/e2ee.cjs.map +1 -1
  31. package/dist/e2ee.d.cts +47 -0
  32. package/dist/e2ee.d.ts +11 -8
  33. package/dist/e2ee.d.ts.map +1 -1
  34. package/dist/e2ee.js +29 -30
  35. package/dist/e2ee.js.map +1 -1
  36. package/dist/ffi_client.cjs +6 -5
  37. package/dist/ffi_client.cjs.map +1 -1
  38. package/dist/ffi_client.d.cts +35 -0
  39. package/dist/ffi_client.d.ts +23 -11
  40. package/dist/ffi_client.d.ts.map +1 -1
  41. package/dist/ffi_client.js +6 -10
  42. package/dist/ffi_client.js.map +1 -1
  43. package/dist/index.cjs +16 -49
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +28 -0
  46. package/dist/index.d.ts +20 -41
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +7 -46
  49. package/dist/index.js.map +1 -1
  50. package/dist/napi/native.d.cjs.map +1 -1
  51. package/dist/napi/native.d.d.cts +21 -0
  52. package/dist/napi/native.d.d.ts +21 -0
  53. package/dist/napi/native.d.ts +5 -5
  54. package/dist/native.d.ts +5 -5
  55. package/dist/participant.cjs +57 -34
  56. package/dist/participant.cjs.map +1 -1
  57. package/dist/participant.d.cts +126 -0
  58. package/dist/participant.d.ts +34 -20
  59. package/dist/participant.d.ts.map +1 -1
  60. package/dist/participant.js +75 -50
  61. package/dist/participant.js.map +1 -1
  62. package/dist/proto/audio_frame_pb.cjs +977 -125
  63. package/dist/proto/audio_frame_pb.cjs.map +1 -1
  64. package/dist/proto/audio_frame_pb.d.cts +898 -0
  65. package/dist/proto/audio_frame_pb.d.ts +506 -417
  66. package/dist/proto/audio_frame_pb.d.ts.map +1 -1
  67. package/dist/proto/audio_frame_pb.js +943 -85
  68. package/dist/proto/audio_frame_pb.js.map +1 -1
  69. package/dist/proto/e2ee_pb.cjs +700 -85
  70. package/dist/proto/e2ee_pb.cjs.map +1 -1
  71. package/dist/proto/e2ee_pb.d.cts +653 -0
  72. package/dist/proto/e2ee_pb.d.ts +333 -263
  73. package/dist/proto/e2ee_pb.d.ts.map +1 -1
  74. package/dist/proto/e2ee_pb.js +675 -57
  75. package/dist/proto/e2ee_pb.js.map +1 -1
  76. package/dist/proto/ffi_pb.cjs +369 -36
  77. package/dist/proto/ffi_pb.cjs.map +1 -1
  78. package/dist/proto/ffi_pb.d.cts +898 -0
  79. package/dist/proto/ffi_pb.d.ts +164 -112
  80. package/dist/proto/ffi_pb.d.ts.map +1 -1
  81. package/dist/proto/ffi_pb.js +364 -29
  82. package/dist/proto/ffi_pb.js.map +1 -1
  83. package/dist/proto/handle_pb.cjs +27 -7
  84. package/dist/proto/handle_pb.cjs.map +1 -1
  85. package/dist/proto/handle_pb.d.cts +31 -0
  86. package/dist/proto/handle_pb.d.ts +15 -15
  87. package/dist/proto/handle_pb.d.ts.map +1 -1
  88. package/dist/proto/handle_pb.js +26 -5
  89. package/dist/proto/handle_pb.js.map +1 -1
  90. package/dist/proto/participant_pb.cjs +112 -15
  91. package/dist/proto/participant_pb.cjs.map +1 -1
  92. package/dist/proto/participant_pb.d.cts +181 -0
  93. package/dist/proto/participant_pb.d.ts +143 -53
  94. package/dist/proto/participant_pb.d.ts.map +1 -1
  95. package/dist/proto/participant_pb.js +109 -11
  96. package/dist/proto/participant_pb.js.map +1 -1
  97. package/dist/proto/room_pb.cjs +2693 -302
  98. package/dist/proto/room_pb.cjs.map +1 -1
  99. package/dist/proto/room_pb.d.cts +2475 -0
  100. package/dist/proto/room_pb.d.ts +1269 -864
  101. package/dist/proto/room_pb.d.ts.map +1 -1
  102. package/dist/proto/room_pb.js +2603 -210
  103. package/dist/proto/room_pb.js.map +1 -1
  104. package/dist/proto/rpc_pb.cjs +302 -37
  105. package/dist/proto/rpc_pb.cjs.map +1 -1
  106. package/dist/proto/rpc_pb.d.cts +267 -0
  107. package/dist/proto/rpc_pb.d.ts +140 -108
  108. package/dist/proto/rpc_pb.d.ts.map +1 -1
  109. package/dist/proto/rpc_pb.js +291 -25
  110. package/dist/proto/rpc_pb.js.map +1 -1
  111. package/dist/proto/stats_pb.cjs +1253 -139
  112. package/dist/proto/stats_pb.cjs.map +1 -1
  113. package/dist/proto/stats_pb.d.cts +1764 -0
  114. package/dist/proto/stats_pb.d.ts +806 -693
  115. package/dist/proto/stats_pb.d.ts.map +1 -1
  116. package/dist/proto/stats_pb.js +1216 -93
  117. package/dist/proto/stats_pb.js.map +1 -1
  118. package/dist/proto/track_pb.cjs +462 -64
  119. package/dist/proto/track_pb.cjs.map +1 -1
  120. package/dist/proto/track_pb.d.cts +434 -0
  121. package/dist/proto/track_pb.d.ts +254 -220
  122. package/dist/proto/track_pb.d.ts.map +1 -1
  123. package/dist/proto/track_pb.js +447 -45
  124. package/dist/proto/track_pb.js.map +1 -1
  125. package/dist/proto/track_publication_pb.cjs +130 -0
  126. package/dist/proto/track_publication_pb.cjs.map +1 -0
  127. package/dist/proto/track_publication_pb.d.cts +80 -0
  128. package/dist/proto/track_publication_pb.d.ts +80 -0
  129. package/dist/proto/track_publication_pb.d.ts.map +1 -0
  130. package/dist/proto/track_publication_pb.js +103 -0
  131. package/dist/proto/track_publication_pb.js.map +1 -0
  132. package/dist/proto/video_frame_pb.cjs +648 -88
  133. package/dist/proto/video_frame_pb.cjs.map +1 -1
  134. package/dist/proto/video_frame_pb.d.cts +660 -0
  135. package/dist/proto/video_frame_pb.d.ts +375 -328
  136. package/dist/proto/video_frame_pb.d.ts.map +1 -1
  137. package/dist/proto/video_frame_pb.js +626 -60
  138. package/dist/proto/video_frame_pb.js.map +1 -1
  139. package/dist/room.cjs +93 -125
  140. package/dist/room.cjs.map +1 -1
  141. package/dist/room.d.cts +123 -0
  142. package/dist/room.d.ts +37 -34
  143. package/dist/room.d.ts.map +1 -1
  144. package/dist/room.js +92 -122
  145. package/dist/room.js.map +1 -1
  146. package/dist/rpc.cjs.map +1 -1
  147. package/dist/rpc.d.cts +81 -0
  148. package/dist/rpc.d.ts +10 -7
  149. package/dist/rpc.js.map +1 -1
  150. package/dist/track.cjs +12 -8
  151. package/dist/track.cjs.map +1 -1
  152. package/dist/track.d.cts +45 -0
  153. package/dist/track.d.ts +30 -20
  154. package/dist/track.d.ts.map +1 -1
  155. package/dist/track.js +13 -9
  156. package/dist/track.js.map +1 -1
  157. package/dist/track_publication.cjs +21 -12
  158. package/dist/track_publication.cjs.map +1 -1
  159. package/dist/track_publication.d.cts +47 -0
  160. package/dist/track_publication.d.ts +30 -19
  161. package/dist/track_publication.d.ts.map +1 -1
  162. package/dist/track_publication.js +22 -13
  163. package/dist/track_publication.js.map +1 -1
  164. package/dist/transcription.d.cts +15 -0
  165. package/dist/transcription.d.ts +4 -3
  166. package/dist/types.d.cts +9 -0
  167. package/dist/types.d.ts +3 -2
  168. package/dist/version.cjs +1 -1
  169. package/dist/version.cjs.map +1 -1
  170. package/dist/version.d.cts +3 -0
  171. package/dist/version.d.ts +3 -2
  172. package/dist/version.js +1 -1
  173. package/dist/version.js.map +1 -1
  174. package/dist/video_frame.cjs +26 -45
  175. package/dist/video_frame.cjs.map +1 -1
  176. package/dist/video_frame.d.cts +24 -0
  177. package/dist/video_frame.d.ts +10 -4
  178. package/dist/video_frame.d.ts.map +1 -1
  179. package/dist/video_frame.js +29 -48
  180. package/dist/video_frame.js.map +1 -1
  181. package/dist/video_source.cjs +7 -4
  182. package/dist/video_source.cjs.map +1 -1
  183. package/dist/video_source.d.cts +22 -0
  184. package/dist/video_source.d.ts +14 -7
  185. package/dist/video_source.d.ts.map +1 -1
  186. package/dist/video_source.js +9 -6
  187. package/dist/video_source.js.map +1 -1
  188. package/dist/video_stream.cjs +16 -5
  189. package/dist/video_stream.cjs.map +1 -1
  190. package/dist/video_stream.d.cts +40 -0
  191. package/dist/video_stream.d.ts +18 -7
  192. package/dist/video_stream.d.ts.map +1 -1
  193. package/dist/video_stream.js +17 -6
  194. package/dist/video_stream.js.map +1 -1
  195. package/package.json +17 -12
  196. package/src/audio_frame.ts +10 -10
  197. package/src/audio_resampler.ts +15 -13
  198. package/src/audio_source.ts +11 -8
  199. package/src/audio_stream.ts +3 -4
  200. package/src/e2ee.ts +36 -37
  201. package/src/ffi_client.ts +8 -16
  202. package/src/index.ts +5 -68
  203. package/src/napi/native.d.ts +5 -5
  204. package/src/participant.ts +100 -72
  205. package/src/proto/audio_frame_pb.ts +1220 -496
  206. package/src/proto/e2ee_pb.ts +858 -337
  207. package/src/proto/ffi_pb.ts +442 -135
  208. package/src/proto/handle_pb.ts +33 -19
  209. package/src/proto/participant_pb.ts +225 -60
  210. package/src/proto/room_pb.ts +3149 -1013
  211. package/src/proto/rpc_pb.ts +358 -129
  212. package/src/proto/stats_pb.ts +1891 -877
  213. package/src/proto/track_pb.ts +587 -253
  214. package/src/proto/track_publication_pb.ts +180 -0
  215. package/src/proto/video_frame_pb.ts +861 -394
  216. package/src/room.ts +143 -188
  217. package/src/rpc.ts +1 -1
  218. package/src/track.ts +16 -17
  219. package/src/track_publication.ts +25 -26
  220. package/src/version.ts +1 -1
  221. package/src/video_frame.ts +48 -72
  222. package/src/video_source.ts +11 -8
  223. package/src/video_stream.ts +18 -8
@@ -0,0 +1,267 @@
1
+ import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+
3
+ /**
4
+ * @generated from message livekit.proto.RpcError
5
+ */
6
+ declare class RpcError extends Message<RpcError> {
7
+ /**
8
+ * @generated from field: required uint32 code = 1;
9
+ */
10
+ code?: number;
11
+ /**
12
+ * @generated from field: required string message = 2;
13
+ */
14
+ message?: string;
15
+ /**
16
+ * @generated from field: optional string data = 3;
17
+ */
18
+ data?: string;
19
+ constructor(data?: PartialMessage<RpcError>);
20
+ static readonly runtime: typeof proto2;
21
+ static readonly typeName = "livekit.proto.RpcError";
22
+ static readonly fields: FieldList;
23
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError;
24
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError;
25
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError;
26
+ static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean;
27
+ }
28
+ /**
29
+ * FFI Requests
30
+ *
31
+ * @generated from message livekit.proto.PerformRpcRequest
32
+ */
33
+ declare class PerformRpcRequest extends Message<PerformRpcRequest> {
34
+ /**
35
+ * @generated from field: required uint64 local_participant_handle = 1;
36
+ */
37
+ localParticipantHandle?: bigint;
38
+ /**
39
+ * @generated from field: required string destination_identity = 2;
40
+ */
41
+ destinationIdentity?: string;
42
+ /**
43
+ * @generated from field: required string method = 3;
44
+ */
45
+ method?: string;
46
+ /**
47
+ * @generated from field: required string payload = 4;
48
+ */
49
+ payload?: string;
50
+ /**
51
+ * @generated from field: optional uint32 response_timeout_ms = 5;
52
+ */
53
+ responseTimeoutMs?: number;
54
+ constructor(data?: PartialMessage<PerformRpcRequest>);
55
+ static readonly runtime: typeof proto2;
56
+ static readonly typeName = "livekit.proto.PerformRpcRequest";
57
+ static readonly fields: FieldList;
58
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
59
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
60
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
61
+ static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
62
+ }
63
+ /**
64
+ * @generated from message livekit.proto.RegisterRpcMethodRequest
65
+ */
66
+ declare class RegisterRpcMethodRequest extends Message<RegisterRpcMethodRequest> {
67
+ /**
68
+ * @generated from field: required uint64 local_participant_handle = 1;
69
+ */
70
+ localParticipantHandle?: bigint;
71
+ /**
72
+ * @generated from field: required string method = 2;
73
+ */
74
+ method?: string;
75
+ constructor(data?: PartialMessage<RegisterRpcMethodRequest>);
76
+ static readonly runtime: typeof proto2;
77
+ static readonly typeName = "livekit.proto.RegisterRpcMethodRequest";
78
+ static readonly fields: FieldList;
79
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodRequest;
80
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest;
81
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest;
82
+ static equals(a: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined, b: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined): boolean;
83
+ }
84
+ /**
85
+ * @generated from message livekit.proto.UnregisterRpcMethodRequest
86
+ */
87
+ declare class UnregisterRpcMethodRequest extends Message<UnregisterRpcMethodRequest> {
88
+ /**
89
+ * @generated from field: required uint64 local_participant_handle = 1;
90
+ */
91
+ localParticipantHandle?: bigint;
92
+ /**
93
+ * @generated from field: required string method = 2;
94
+ */
95
+ method?: string;
96
+ constructor(data?: PartialMessage<UnregisterRpcMethodRequest>);
97
+ static readonly runtime: typeof proto2;
98
+ static readonly typeName = "livekit.proto.UnregisterRpcMethodRequest";
99
+ static readonly fields: FieldList;
100
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodRequest;
101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest;
102
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest;
103
+ static equals(a: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined, b: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined): boolean;
104
+ }
105
+ /**
106
+ * @generated from message livekit.proto.RpcMethodInvocationResponseRequest
107
+ */
108
+ declare class RpcMethodInvocationResponseRequest extends Message<RpcMethodInvocationResponseRequest> {
109
+ /**
110
+ * @generated from field: required uint64 local_participant_handle = 1;
111
+ */
112
+ localParticipantHandle?: bigint;
113
+ /**
114
+ * @generated from field: required uint64 invocation_id = 2;
115
+ */
116
+ invocationId?: bigint;
117
+ /**
118
+ * @generated from field: optional string payload = 3;
119
+ */
120
+ payload?: string;
121
+ /**
122
+ * @generated from field: optional livekit.proto.RpcError error = 4;
123
+ */
124
+ error?: RpcError;
125
+ constructor(data?: PartialMessage<RpcMethodInvocationResponseRequest>);
126
+ static readonly runtime: typeof proto2;
127
+ static readonly typeName = "livekit.proto.RpcMethodInvocationResponseRequest";
128
+ static readonly fields: FieldList;
129
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseRequest;
130
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest;
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest;
132
+ static equals(a: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined, b: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined): boolean;
133
+ }
134
+ /**
135
+ * FFI Responses
136
+ *
137
+ * @generated from message livekit.proto.PerformRpcResponse
138
+ */
139
+ declare class PerformRpcResponse extends Message<PerformRpcResponse> {
140
+ /**
141
+ * @generated from field: required uint64 async_id = 1;
142
+ */
143
+ asyncId?: bigint;
144
+ constructor(data?: PartialMessage<PerformRpcResponse>);
145
+ static readonly runtime: typeof proto2;
146
+ static readonly typeName = "livekit.proto.PerformRpcResponse";
147
+ static readonly fields: FieldList;
148
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
150
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
151
+ static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
152
+ }
153
+ /**
154
+ * @generated from message livekit.proto.RegisterRpcMethodResponse
155
+ */
156
+ declare class RegisterRpcMethodResponse extends Message<RegisterRpcMethodResponse> {
157
+ constructor(data?: PartialMessage<RegisterRpcMethodResponse>);
158
+ static readonly runtime: typeof proto2;
159
+ static readonly typeName = "livekit.proto.RegisterRpcMethodResponse";
160
+ static readonly fields: FieldList;
161
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodResponse;
162
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse;
163
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse;
164
+ static equals(a: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined, b: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined): boolean;
165
+ }
166
+ /**
167
+ * @generated from message livekit.proto.UnregisterRpcMethodResponse
168
+ */
169
+ declare class UnregisterRpcMethodResponse extends Message<UnregisterRpcMethodResponse> {
170
+ constructor(data?: PartialMessage<UnregisterRpcMethodResponse>);
171
+ static readonly runtime: typeof proto2;
172
+ static readonly typeName = "livekit.proto.UnregisterRpcMethodResponse";
173
+ static readonly fields: FieldList;
174
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodResponse;
175
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse;
176
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse;
177
+ static equals(a: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined, b: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined): boolean;
178
+ }
179
+ /**
180
+ * @generated from message livekit.proto.RpcMethodInvocationResponseResponse
181
+ */
182
+ declare class RpcMethodInvocationResponseResponse extends Message<RpcMethodInvocationResponseResponse> {
183
+ /**
184
+ * @generated from field: optional string error = 1;
185
+ */
186
+ error?: string;
187
+ constructor(data?: PartialMessage<RpcMethodInvocationResponseResponse>);
188
+ static readonly runtime: typeof proto2;
189
+ static readonly typeName = "livekit.proto.RpcMethodInvocationResponseResponse";
190
+ static readonly fields: FieldList;
191
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseResponse;
192
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse;
193
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse;
194
+ static equals(a: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined, b: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined): boolean;
195
+ }
196
+ /**
197
+ * FFI Callbacks
198
+ *
199
+ * @generated from message livekit.proto.PerformRpcCallback
200
+ */
201
+ declare class PerformRpcCallback extends Message<PerformRpcCallback> {
202
+ /**
203
+ * @generated from field: required uint64 async_id = 1;
204
+ */
205
+ asyncId?: bigint;
206
+ /**
207
+ * @generated from field: optional string payload = 2;
208
+ */
209
+ payload?: string;
210
+ /**
211
+ * @generated from field: optional livekit.proto.RpcError error = 3;
212
+ */
213
+ error?: RpcError;
214
+ constructor(data?: PartialMessage<PerformRpcCallback>);
215
+ static readonly runtime: typeof proto2;
216
+ static readonly typeName = "livekit.proto.PerformRpcCallback";
217
+ static readonly fields: FieldList;
218
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcCallback;
219
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcCallback;
220
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcCallback;
221
+ static equals(a: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined, b: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined): boolean;
222
+ }
223
+ /**
224
+ * FFI Events
225
+ *
226
+ * @generated from message livekit.proto.RpcMethodInvocationEvent
227
+ */
228
+ declare class RpcMethodInvocationEvent extends Message<RpcMethodInvocationEvent> {
229
+ /**
230
+ * @generated from field: required uint64 local_participant_handle = 1;
231
+ */
232
+ localParticipantHandle?: bigint;
233
+ /**
234
+ * @generated from field: required uint64 invocation_id = 2;
235
+ */
236
+ invocationId?: bigint;
237
+ /**
238
+ * @generated from field: required string method = 3;
239
+ */
240
+ method?: string;
241
+ /**
242
+ * @generated from field: required string request_id = 4;
243
+ */
244
+ requestId?: string;
245
+ /**
246
+ * @generated from field: required string caller_identity = 5;
247
+ */
248
+ callerIdentity?: string;
249
+ /**
250
+ * @generated from field: required string payload = 6;
251
+ */
252
+ payload?: string;
253
+ /**
254
+ * @generated from field: required uint32 response_timeout_ms = 7;
255
+ */
256
+ responseTimeoutMs?: number;
257
+ constructor(data?: PartialMessage<RpcMethodInvocationEvent>);
258
+ static readonly runtime: typeof proto2;
259
+ static readonly typeName = "livekit.proto.RpcMethodInvocationEvent";
260
+ static readonly fields: FieldList;
261
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationEvent;
262
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent;
263
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent;
264
+ static equals(a: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined, b: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined): boolean;
265
+ }
266
+
267
+ export { PerformRpcCallback, PerformRpcRequest, PerformRpcResponse, RegisterRpcMethodRequest, RegisterRpcMethodResponse, RpcError, RpcMethodInvocationEvent, RpcMethodInvocationResponseRequest, RpcMethodInvocationResponseResponse, UnregisterRpcMethodRequest, UnregisterRpcMethodResponse };
@@ -1,235 +1,267 @@
1
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
- import type { Message } from "@bufbuild/protobuf";
3
- /**
4
- * Describes the file rpc.proto.
5
- */
6
- export declare const file_rpc: GenFile;
1
+ import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+
7
3
  /**
8
4
  * @generated from message livekit.proto.RpcError
9
5
  */
10
- export type RpcError = Message<"livekit.proto.RpcError"> & {
6
+ declare class RpcError extends Message<RpcError> {
11
7
  /**
12
8
  * @generated from field: required uint32 code = 1;
13
9
  */
14
- code: number;
10
+ code?: number;
15
11
  /**
16
12
  * @generated from field: required string message = 2;
17
13
  */
18
- message: string;
14
+ message?: string;
19
15
  /**
20
16
  * @generated from field: optional string data = 3;
21
17
  */
22
- data: string;
23
- };
24
- /**
25
- * Describes the message livekit.proto.RpcError.
26
- * Use `create(RpcErrorSchema)` to create a new message.
27
- */
28
- export declare const RpcErrorSchema: GenMessage<RpcError>;
18
+ data?: string;
19
+ constructor(data?: PartialMessage<RpcError>);
20
+ static readonly runtime: typeof proto2;
21
+ static readonly typeName = "livekit.proto.RpcError";
22
+ static readonly fields: FieldList;
23
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError;
24
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError;
25
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError;
26
+ static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean;
27
+ }
29
28
  /**
30
29
  * FFI Requests
31
30
  *
32
31
  * @generated from message livekit.proto.PerformRpcRequest
33
32
  */
34
- export type PerformRpcRequest = Message<"livekit.proto.PerformRpcRequest"> & {
33
+ declare class PerformRpcRequest extends Message<PerformRpcRequest> {
35
34
  /**
36
35
  * @generated from field: required uint64 local_participant_handle = 1;
37
36
  */
38
- localParticipantHandle: bigint;
37
+ localParticipantHandle?: bigint;
39
38
  /**
40
39
  * @generated from field: required string destination_identity = 2;
41
40
  */
42
- destinationIdentity: string;
41
+ destinationIdentity?: string;
43
42
  /**
44
43
  * @generated from field: required string method = 3;
45
44
  */
46
- method: string;
45
+ method?: string;
47
46
  /**
48
47
  * @generated from field: required string payload = 4;
49
48
  */
50
- payload: string;
49
+ payload?: string;
51
50
  /**
52
51
  * @generated from field: optional uint32 response_timeout_ms = 5;
53
52
  */
54
- responseTimeoutMs: number;
55
- };
56
- /**
57
- * Describes the message livekit.proto.PerformRpcRequest.
58
- * Use `create(PerformRpcRequestSchema)` to create a new message.
59
- */
60
- export declare const PerformRpcRequestSchema: GenMessage<PerformRpcRequest>;
53
+ responseTimeoutMs?: number;
54
+ constructor(data?: PartialMessage<PerformRpcRequest>);
55
+ static readonly runtime: typeof proto2;
56
+ static readonly typeName = "livekit.proto.PerformRpcRequest";
57
+ static readonly fields: FieldList;
58
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
59
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
60
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
61
+ static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
62
+ }
61
63
  /**
62
64
  * @generated from message livekit.proto.RegisterRpcMethodRequest
63
65
  */
64
- export type RegisterRpcMethodRequest = Message<"livekit.proto.RegisterRpcMethodRequest"> & {
66
+ declare class RegisterRpcMethodRequest extends Message<RegisterRpcMethodRequest> {
65
67
  /**
66
68
  * @generated from field: required uint64 local_participant_handle = 1;
67
69
  */
68
- localParticipantHandle: bigint;
70
+ localParticipantHandle?: bigint;
69
71
  /**
70
72
  * @generated from field: required string method = 2;
71
73
  */
72
- method: string;
73
- };
74
- /**
75
- * Describes the message livekit.proto.RegisterRpcMethodRequest.
76
- * Use `create(RegisterRpcMethodRequestSchema)` to create a new message.
77
- */
78
- export declare const RegisterRpcMethodRequestSchema: GenMessage<RegisterRpcMethodRequest>;
74
+ method?: string;
75
+ constructor(data?: PartialMessage<RegisterRpcMethodRequest>);
76
+ static readonly runtime: typeof proto2;
77
+ static readonly typeName = "livekit.proto.RegisterRpcMethodRequest";
78
+ static readonly fields: FieldList;
79
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodRequest;
80
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest;
81
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest;
82
+ static equals(a: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined, b: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined): boolean;
83
+ }
79
84
  /**
80
85
  * @generated from message livekit.proto.UnregisterRpcMethodRequest
81
86
  */
82
- export type UnregisterRpcMethodRequest = Message<"livekit.proto.UnregisterRpcMethodRequest"> & {
87
+ declare class UnregisterRpcMethodRequest extends Message<UnregisterRpcMethodRequest> {
83
88
  /**
84
89
  * @generated from field: required uint64 local_participant_handle = 1;
85
90
  */
86
- localParticipantHandle: bigint;
91
+ localParticipantHandle?: bigint;
87
92
  /**
88
93
  * @generated from field: required string method = 2;
89
94
  */
90
- method: string;
91
- };
92
- /**
93
- * Describes the message livekit.proto.UnregisterRpcMethodRequest.
94
- * Use `create(UnregisterRpcMethodRequestSchema)` to create a new message.
95
- */
96
- export declare const UnregisterRpcMethodRequestSchema: GenMessage<UnregisterRpcMethodRequest>;
95
+ method?: string;
96
+ constructor(data?: PartialMessage<UnregisterRpcMethodRequest>);
97
+ static readonly runtime: typeof proto2;
98
+ static readonly typeName = "livekit.proto.UnregisterRpcMethodRequest";
99
+ static readonly fields: FieldList;
100
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodRequest;
101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest;
102
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest;
103
+ static equals(a: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined, b: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined): boolean;
104
+ }
97
105
  /**
98
106
  * @generated from message livekit.proto.RpcMethodInvocationResponseRequest
99
107
  */
100
- export type RpcMethodInvocationResponseRequest = Message<"livekit.proto.RpcMethodInvocationResponseRequest"> & {
108
+ declare class RpcMethodInvocationResponseRequest extends Message<RpcMethodInvocationResponseRequest> {
101
109
  /**
102
110
  * @generated from field: required uint64 local_participant_handle = 1;
103
111
  */
104
- localParticipantHandle: bigint;
112
+ localParticipantHandle?: bigint;
105
113
  /**
106
114
  * @generated from field: required uint64 invocation_id = 2;
107
115
  */
108
- invocationId: bigint;
116
+ invocationId?: bigint;
109
117
  /**
110
118
  * @generated from field: optional string payload = 3;
111
119
  */
112
- payload: string;
120
+ payload?: string;
113
121
  /**
114
122
  * @generated from field: optional livekit.proto.RpcError error = 4;
115
123
  */
116
124
  error?: RpcError;
117
- };
118
- /**
119
- * Describes the message livekit.proto.RpcMethodInvocationResponseRequest.
120
- * Use `create(RpcMethodInvocationResponseRequestSchema)` to create a new message.
121
- */
122
- export declare const RpcMethodInvocationResponseRequestSchema: GenMessage<RpcMethodInvocationResponseRequest>;
125
+ constructor(data?: PartialMessage<RpcMethodInvocationResponseRequest>);
126
+ static readonly runtime: typeof proto2;
127
+ static readonly typeName = "livekit.proto.RpcMethodInvocationResponseRequest";
128
+ static readonly fields: FieldList;
129
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseRequest;
130
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest;
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest;
132
+ static equals(a: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined, b: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined): boolean;
133
+ }
123
134
  /**
124
135
  * FFI Responses
125
136
  *
126
137
  * @generated from message livekit.proto.PerformRpcResponse
127
138
  */
128
- export type PerformRpcResponse = Message<"livekit.proto.PerformRpcResponse"> & {
139
+ declare class PerformRpcResponse extends Message<PerformRpcResponse> {
129
140
  /**
130
141
  * @generated from field: required uint64 async_id = 1;
131
142
  */
132
- asyncId: bigint;
133
- };
134
- /**
135
- * Describes the message livekit.proto.PerformRpcResponse.
136
- * Use `create(PerformRpcResponseSchema)` to create a new message.
137
- */
138
- export declare const PerformRpcResponseSchema: GenMessage<PerformRpcResponse>;
143
+ asyncId?: bigint;
144
+ constructor(data?: PartialMessage<PerformRpcResponse>);
145
+ static readonly runtime: typeof proto2;
146
+ static readonly typeName = "livekit.proto.PerformRpcResponse";
147
+ static readonly fields: FieldList;
148
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
150
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
151
+ static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
152
+ }
139
153
  /**
140
154
  * @generated from message livekit.proto.RegisterRpcMethodResponse
141
155
  */
142
- export type RegisterRpcMethodResponse = Message<"livekit.proto.RegisterRpcMethodResponse"> & {};
143
- /**
144
- * Describes the message livekit.proto.RegisterRpcMethodResponse.
145
- * Use `create(RegisterRpcMethodResponseSchema)` to create a new message.
146
- */
147
- export declare const RegisterRpcMethodResponseSchema: GenMessage<RegisterRpcMethodResponse>;
156
+ declare class RegisterRpcMethodResponse extends Message<RegisterRpcMethodResponse> {
157
+ constructor(data?: PartialMessage<RegisterRpcMethodResponse>);
158
+ static readonly runtime: typeof proto2;
159
+ static readonly typeName = "livekit.proto.RegisterRpcMethodResponse";
160
+ static readonly fields: FieldList;
161
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodResponse;
162
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse;
163
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse;
164
+ static equals(a: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined, b: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined): boolean;
165
+ }
148
166
  /**
149
167
  * @generated from message livekit.proto.UnregisterRpcMethodResponse
150
168
  */
151
- export type UnregisterRpcMethodResponse = Message<"livekit.proto.UnregisterRpcMethodResponse"> & {};
152
- /**
153
- * Describes the message livekit.proto.UnregisterRpcMethodResponse.
154
- * Use `create(UnregisterRpcMethodResponseSchema)` to create a new message.
155
- */
156
- export declare const UnregisterRpcMethodResponseSchema: GenMessage<UnregisterRpcMethodResponse>;
169
+ declare class UnregisterRpcMethodResponse extends Message<UnregisterRpcMethodResponse> {
170
+ constructor(data?: PartialMessage<UnregisterRpcMethodResponse>);
171
+ static readonly runtime: typeof proto2;
172
+ static readonly typeName = "livekit.proto.UnregisterRpcMethodResponse";
173
+ static readonly fields: FieldList;
174
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodResponse;
175
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse;
176
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse;
177
+ static equals(a: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined, b: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined): boolean;
178
+ }
157
179
  /**
158
180
  * @generated from message livekit.proto.RpcMethodInvocationResponseResponse
159
181
  */
160
- export type RpcMethodInvocationResponseResponse = Message<"livekit.proto.RpcMethodInvocationResponseResponse"> & {
182
+ declare class RpcMethodInvocationResponseResponse extends Message<RpcMethodInvocationResponseResponse> {
161
183
  /**
162
184
  * @generated from field: optional string error = 1;
163
185
  */
164
- error: string;
165
- };
166
- /**
167
- * Describes the message livekit.proto.RpcMethodInvocationResponseResponse.
168
- * Use `create(RpcMethodInvocationResponseResponseSchema)` to create a new message.
169
- */
170
- export declare const RpcMethodInvocationResponseResponseSchema: GenMessage<RpcMethodInvocationResponseResponse>;
186
+ error?: string;
187
+ constructor(data?: PartialMessage<RpcMethodInvocationResponseResponse>);
188
+ static readonly runtime: typeof proto2;
189
+ static readonly typeName = "livekit.proto.RpcMethodInvocationResponseResponse";
190
+ static readonly fields: FieldList;
191
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseResponse;
192
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse;
193
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse;
194
+ static equals(a: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined, b: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined): boolean;
195
+ }
171
196
  /**
172
197
  * FFI Callbacks
173
198
  *
174
199
  * @generated from message livekit.proto.PerformRpcCallback
175
200
  */
176
- export type PerformRpcCallback = Message<"livekit.proto.PerformRpcCallback"> & {
201
+ declare class PerformRpcCallback extends Message<PerformRpcCallback> {
177
202
  /**
178
203
  * @generated from field: required uint64 async_id = 1;
179
204
  */
180
- asyncId: bigint;
205
+ asyncId?: bigint;
181
206
  /**
182
207
  * @generated from field: optional string payload = 2;
183
208
  */
184
- payload: string;
209
+ payload?: string;
185
210
  /**
186
211
  * @generated from field: optional livekit.proto.RpcError error = 3;
187
212
  */
188
213
  error?: RpcError;
189
- };
190
- /**
191
- * Describes the message livekit.proto.PerformRpcCallback.
192
- * Use `create(PerformRpcCallbackSchema)` to create a new message.
193
- */
194
- export declare const PerformRpcCallbackSchema: GenMessage<PerformRpcCallback>;
214
+ constructor(data?: PartialMessage<PerformRpcCallback>);
215
+ static readonly runtime: typeof proto2;
216
+ static readonly typeName = "livekit.proto.PerformRpcCallback";
217
+ static readonly fields: FieldList;
218
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcCallback;
219
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcCallback;
220
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcCallback;
221
+ static equals(a: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined, b: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined): boolean;
222
+ }
195
223
  /**
196
224
  * FFI Events
197
225
  *
198
226
  * @generated from message livekit.proto.RpcMethodInvocationEvent
199
227
  */
200
- export type RpcMethodInvocationEvent = Message<"livekit.proto.RpcMethodInvocationEvent"> & {
228
+ declare class RpcMethodInvocationEvent extends Message<RpcMethodInvocationEvent> {
201
229
  /**
202
230
  * @generated from field: required uint64 local_participant_handle = 1;
203
231
  */
204
- localParticipantHandle: bigint;
232
+ localParticipantHandle?: bigint;
205
233
  /**
206
234
  * @generated from field: required uint64 invocation_id = 2;
207
235
  */
208
- invocationId: bigint;
236
+ invocationId?: bigint;
209
237
  /**
210
238
  * @generated from field: required string method = 3;
211
239
  */
212
- method: string;
240
+ method?: string;
213
241
  /**
214
242
  * @generated from field: required string request_id = 4;
215
243
  */
216
- requestId: string;
244
+ requestId?: string;
217
245
  /**
218
246
  * @generated from field: required string caller_identity = 5;
219
247
  */
220
- callerIdentity: string;
248
+ callerIdentity?: string;
221
249
  /**
222
250
  * @generated from field: required string payload = 6;
223
251
  */
224
- payload: string;
252
+ payload?: string;
225
253
  /**
226
254
  * @generated from field: required uint32 response_timeout_ms = 7;
227
255
  */
228
- responseTimeoutMs: number;
229
- };
230
- /**
231
- * Describes the message livekit.proto.RpcMethodInvocationEvent.
232
- * Use `create(RpcMethodInvocationEventSchema)` to create a new message.
233
- */
234
- export declare const RpcMethodInvocationEventSchema: GenMessage<RpcMethodInvocationEvent>;
235
- //# sourceMappingURL=rpc_pb.d.ts.map
256
+ responseTimeoutMs?: number;
257
+ constructor(data?: PartialMessage<RpcMethodInvocationEvent>);
258
+ static readonly runtime: typeof proto2;
259
+ static readonly typeName = "livekit.proto.RpcMethodInvocationEvent";
260
+ static readonly fields: FieldList;
261
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationEvent;
262
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent;
263
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent;
264
+ static equals(a: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined, b: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined): boolean;
265
+ }
266
+
267
+ export { PerformRpcCallback, PerformRpcRequest, PerformRpcResponse, RegisterRpcMethodRequest, RegisterRpcMethodResponse, RpcError, RpcMethodInvocationEvent, RpcMethodInvocationResponseRequest, RpcMethodInvocationResponseResponse, UnregisterRpcMethodRequest, UnregisterRpcMethodResponse };