@inco/lightning-js 0.0.0-bootstrap.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 (283) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +587 -0
  3. package/dist/cjs/advancedacl/index.d.ts +2 -0
  4. package/dist/cjs/advancedacl/index.js +19 -0
  5. package/dist/cjs/advancedacl/session-key.d.ts +95 -0
  6. package/dist/cjs/advancedacl/session-key.js +376 -0
  7. package/dist/cjs/advancedacl/types.d.ts +16 -0
  8. package/dist/cjs/advancedacl/types.js +3 -0
  9. package/dist/cjs/attestedcompute/attested-compute.d.ts +65 -0
  10. package/dist/cjs/attestedcompute/attested-compute.js +80 -0
  11. package/dist/cjs/attestedcompute/types.d.ts +35 -0
  12. package/dist/cjs/attestedcompute/types.js +46 -0
  13. package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +61 -0
  14. package/dist/cjs/attesteddecrypt/attested-decrypt.js +118 -0
  15. package/dist/cjs/attesteddecrypt/index.d.ts +1 -0
  16. package/dist/cjs/attesteddecrypt/index.js +18 -0
  17. package/dist/cjs/attesteddecrypt/types.d.ts +27 -0
  18. package/dist/cjs/attesteddecrypt/types.js +16 -0
  19. package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
  20. package/dist/cjs/attestedreveal/attested-reveal.js +31 -0
  21. package/dist/cjs/attestedreveal/index.d.ts +2 -0
  22. package/dist/cjs/attestedreveal/index.js +21 -0
  23. package/dist/cjs/attestedreveal/types.d.ts +4 -0
  24. package/dist/cjs/attestedreveal/types.js +13 -0
  25. package/dist/cjs/binary.d.ts +104 -0
  26. package/dist/cjs/binary.js +171 -0
  27. package/dist/cjs/chain.d.ts +50 -0
  28. package/dist/cjs/chain.js +62 -0
  29. package/dist/cjs/eip712/eip712.d.ts +18 -0
  30. package/dist/cjs/eip712/eip712.js +51 -0
  31. package/dist/cjs/eip712/index.d.ts +1 -0
  32. package/dist/cjs/eip712/index.js +8 -0
  33. package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.d.ts +51 -0
  34. package/dist/cjs/elistattesteddecrypt/elist-attested-decrypt.js +94 -0
  35. package/dist/cjs/elistattesteddecrypt/index.d.ts +2 -0
  36. package/dist/cjs/elistattesteddecrypt/index.js +22 -0
  37. package/dist/cjs/elistattesteddecrypt/types.d.ts +31 -0
  38. package/dist/cjs/elistattesteddecrypt/types.js +16 -0
  39. package/dist/cjs/encryption/encryption.d.ts +235 -0
  40. package/dist/cjs/encryption/encryption.js +226 -0
  41. package/dist/cjs/encryption/index.d.ts +1 -0
  42. package/dist/cjs/encryption/index.js +19 -0
  43. package/dist/cjs/generated/abis/add-two.d.ts +117 -0
  44. package/dist/cjs/generated/abis/add-two.js +80 -0
  45. package/dist/cjs/generated/abis/lightning.d.ts +3362 -0
  46. package/dist/cjs/generated/abis/lightning.js +2445 -0
  47. package/dist/cjs/generated/abis/test-elist.d.ts +276 -0
  48. package/dist/cjs/generated/abis/test-elist.js +168 -0
  49. package/dist/cjs/generated/abis/verifier.d.ts +1353 -0
  50. package/dist/cjs/generated/abis/verifier.js +954 -0
  51. package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +1494 -0
  52. package/dist/cjs/generated/es/inco/covalidator/compute/v1/server_pb.js +395 -0
  53. package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +247 -0
  54. package/dist/cjs/generated/es/inco/covalidator/compute/v1/types_pb.js +80 -0
  55. package/dist/cjs/generated/es/inco/helioswrapper/v1/helioswrapper_pb.d.ts +77 -0
  56. package/dist/cjs/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +28 -0
  57. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +685 -0
  58. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +100 -0
  59. package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.d.ts +289 -0
  60. package/dist/cjs/generated/es/inco/kms/lite/v1/types_pb.js +136 -0
  61. package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +371 -0
  62. package/dist/cjs/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +88 -0
  63. package/dist/cjs/generated/lightning.d.ts +830 -0
  64. package/dist/cjs/generated/lightning.js +872 -0
  65. package/dist/cjs/generated/local-node.d.ts +50 -0
  66. package/dist/cjs/generated/local-node.js +107 -0
  67. package/dist/cjs/handle.d.ts +123 -0
  68. package/dist/cjs/handle.js +221 -0
  69. package/dist/cjs/index.d.ts +5 -0
  70. package/dist/cjs/index.js +31 -0
  71. package/dist/cjs/kms/client.d.ts +12 -0
  72. package/dist/cjs/kms/client.js +47 -0
  73. package/dist/cjs/kms/quorumClient.d.ts +65 -0
  74. package/dist/cjs/kms/quorumClient.js +463 -0
  75. package/dist/cjs/kms/quorumConsistency.d.ts +82 -0
  76. package/dist/cjs/kms/quorumConsistency.js +269 -0
  77. package/dist/cjs/kms/signatureVerification.d.ts +35 -0
  78. package/dist/cjs/kms/signatureVerification.js +88 -0
  79. package/dist/cjs/kms/thresholdPromises.d.ts +8 -0
  80. package/dist/cjs/kms/thresholdPromises.js +62 -0
  81. package/dist/cjs/lite/attested-compute.d.ts +6 -0
  82. package/dist/cjs/lite/attested-compute.js +8 -0
  83. package/dist/cjs/lite/attested-decrypt.d.ts +4 -0
  84. package/dist/cjs/lite/attested-decrypt.js +6 -0
  85. package/dist/cjs/lite/deployments.d.ts +24 -0
  86. package/dist/cjs/lite/deployments.js +21 -0
  87. package/dist/cjs/lite/hadu.d.ts +4 -0
  88. package/dist/cjs/lite/hadu.js +28 -0
  89. package/dist/cjs/lite/index.d.ts +13 -0
  90. package/dist/cjs/lite/index.js +31 -0
  91. package/dist/cjs/lite/lightning.d.ts +459 -0
  92. package/dist/cjs/lite/lightning.js +696 -0
  93. package/dist/cjs/lite/types.d.ts +47 -0
  94. package/dist/cjs/lite/types.js +3 -0
  95. package/dist/cjs/lite/xwing.d.ts +154 -0
  96. package/dist/cjs/lite/xwing.js +326 -0
  97. package/dist/cjs/local/index.d.ts +1 -0
  98. package/dist/cjs/local/index.js +18 -0
  99. package/dist/cjs/local/local-node.d.ts +37 -0
  100. package/dist/cjs/local/local-node.js +80 -0
  101. package/dist/cjs/reencryption/eip712.d.ts +56 -0
  102. package/dist/cjs/reencryption/eip712.js +90 -0
  103. package/dist/cjs/reencryption/index.d.ts +2 -0
  104. package/dist/cjs/reencryption/index.js +19 -0
  105. package/dist/cjs/reencryption/types.d.ts +48 -0
  106. package/dist/cjs/reencryption/types.js +3 -0
  107. package/dist/cjs/retry.d.ts +30 -0
  108. package/dist/cjs/retry.js +87 -0
  109. package/dist/cjs/schema.d.ts +4 -0
  110. package/dist/cjs/schema.js +19 -0
  111. package/dist/cjs/test/mocks.d.ts +20 -0
  112. package/dist/cjs/test/mocks.js +72 -0
  113. package/dist/cjs/viem.d.ts +1141 -0
  114. package/dist/cjs/viem.js +36 -0
  115. package/dist/esm/advancedacl/index.d.ts +2 -0
  116. package/dist/esm/advancedacl/index.js +3 -0
  117. package/dist/esm/advancedacl/session-key.d.ts +95 -0
  118. package/dist/esm/advancedacl/session-key.js +367 -0
  119. package/dist/esm/advancedacl/types.d.ts +16 -0
  120. package/dist/esm/advancedacl/types.js +2 -0
  121. package/dist/esm/attestedcompute/attested-compute.d.ts +65 -0
  122. package/dist/esm/attestedcompute/attested-compute.js +76 -0
  123. package/dist/esm/attestedcompute/types.d.ts +35 -0
  124. package/dist/esm/attestedcompute/types.js +42 -0
  125. package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +61 -0
  126. package/dist/esm/attesteddecrypt/attested-decrypt.js +112 -0
  127. package/dist/esm/attesteddecrypt/index.d.ts +1 -0
  128. package/dist/esm/attesteddecrypt/index.js +2 -0
  129. package/dist/esm/attesteddecrypt/types.d.ts +27 -0
  130. package/dist/esm/attesteddecrypt/types.js +12 -0
  131. package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
  132. package/dist/esm/attestedreveal/attested-reveal.js +28 -0
  133. package/dist/esm/attestedreveal/index.d.ts +2 -0
  134. package/dist/esm/attestedreveal/index.js +3 -0
  135. package/dist/esm/attestedreveal/types.d.ts +4 -0
  136. package/dist/esm/attestedreveal/types.js +9 -0
  137. package/dist/esm/binary.d.ts +104 -0
  138. package/dist/esm/binary.js +155 -0
  139. package/dist/esm/chain.d.ts +50 -0
  140. package/dist/esm/chain.js +58 -0
  141. package/dist/esm/eip712/eip712.d.ts +18 -0
  142. package/dist/esm/eip712/eip712.js +46 -0
  143. package/dist/esm/eip712/index.d.ts +1 -0
  144. package/dist/esm/eip712/index.js +2 -0
  145. package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.d.ts +51 -0
  146. package/dist/esm/elistattesteddecrypt/elist-attested-decrypt.js +89 -0
  147. package/dist/esm/elistattesteddecrypt/index.d.ts +2 -0
  148. package/dist/esm/elistattesteddecrypt/index.js +3 -0
  149. package/dist/esm/elistattesteddecrypt/types.d.ts +31 -0
  150. package/dist/esm/elistattesteddecrypt/types.js +12 -0
  151. package/dist/esm/encryption/encryption.d.ts +235 -0
  152. package/dist/esm/encryption/encryption.js +214 -0
  153. package/dist/esm/encryption/index.d.ts +1 -0
  154. package/dist/esm/encryption/index.js +2 -0
  155. package/dist/esm/generated/abis/add-two.d.ts +117 -0
  156. package/dist/esm/generated/abis/add-two.js +77 -0
  157. package/dist/esm/generated/abis/lightning.d.ts +3362 -0
  158. package/dist/esm/generated/abis/lightning.js +2442 -0
  159. package/dist/esm/generated/abis/test-elist.d.ts +276 -0
  160. package/dist/esm/generated/abis/test-elist.js +165 -0
  161. package/dist/esm/generated/abis/verifier.d.ts +1353 -0
  162. package/dist/esm/generated/abis/verifier.js +951 -0
  163. package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +1494 -0
  164. package/dist/esm/generated/es/inco/covalidator/compute/v1/server_pb.js +392 -0
  165. package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +247 -0
  166. package/dist/esm/generated/es/inco/covalidator/compute/v1/types_pb.js +77 -0
  167. package/dist/esm/generated/es/inco/helioswrapper/v1/helioswrapper_pb.d.ts +77 -0
  168. package/dist/esm/generated/es/inco/helioswrapper/v1/helioswrapper_pb.js +25 -0
  169. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +685 -0
  170. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +97 -0
  171. package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.d.ts +289 -0
  172. package/dist/esm/generated/es/inco/kms/lite/v1/types_pb.js +133 -0
  173. package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +371 -0
  174. package/dist/esm/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.js +85 -0
  175. package/dist/esm/generated/lightning.d.ts +830 -0
  176. package/dist/esm/generated/lightning.js +869 -0
  177. package/dist/esm/generated/local-node.d.ts +50 -0
  178. package/dist/esm/generated/local-node.js +104 -0
  179. package/dist/esm/handle.d.ts +123 -0
  180. package/dist/esm/handle.js +212 -0
  181. package/dist/esm/index.d.ts +5 -0
  182. package/dist/esm/index.js +6 -0
  183. package/dist/esm/kms/client.d.ts +12 -0
  184. package/dist/esm/kms/client.js +40 -0
  185. package/dist/esm/kms/quorumClient.d.ts +65 -0
  186. package/dist/esm/kms/quorumClient.js +459 -0
  187. package/dist/esm/kms/quorumConsistency.d.ts +82 -0
  188. package/dist/esm/kms/quorumConsistency.js +260 -0
  189. package/dist/esm/kms/signatureVerification.d.ts +35 -0
  190. package/dist/esm/kms/signatureVerification.js +84 -0
  191. package/dist/esm/kms/thresholdPromises.d.ts +8 -0
  192. package/dist/esm/kms/thresholdPromises.js +59 -0
  193. package/dist/esm/lite/attested-compute.d.ts +6 -0
  194. package/dist/esm/lite/attested-compute.js +4 -0
  195. package/dist/esm/lite/attested-decrypt.d.ts +4 -0
  196. package/dist/esm/lite/attested-decrypt.js +3 -0
  197. package/dist/esm/lite/deployments.d.ts +24 -0
  198. package/dist/esm/lite/deployments.js +17 -0
  199. package/dist/esm/lite/hadu.d.ts +4 -0
  200. package/dist/esm/lite/hadu.js +24 -0
  201. package/dist/esm/lite/index.d.ts +13 -0
  202. package/dist/esm/lite/index.js +10 -0
  203. package/dist/esm/lite/lightning.d.ts +459 -0
  204. package/dist/esm/lite/lightning.js +692 -0
  205. package/dist/esm/lite/types.d.ts +47 -0
  206. package/dist/esm/lite/types.js +2 -0
  207. package/dist/esm/lite/xwing.d.ts +154 -0
  208. package/dist/esm/lite/xwing.js +311 -0
  209. package/dist/esm/local/index.d.ts +1 -0
  210. package/dist/esm/local/index.js +2 -0
  211. package/dist/esm/local/local-node.d.ts +37 -0
  212. package/dist/esm/local/local-node.js +76 -0
  213. package/dist/esm/reencryption/eip712.d.ts +56 -0
  214. package/dist/esm/reencryption/eip712.js +87 -0
  215. package/dist/esm/reencryption/index.d.ts +2 -0
  216. package/dist/esm/reencryption/index.js +3 -0
  217. package/dist/esm/reencryption/types.d.ts +48 -0
  218. package/dist/esm/reencryption/types.js +2 -0
  219. package/dist/esm/retry.d.ts +30 -0
  220. package/dist/esm/retry.js +82 -0
  221. package/dist/esm/schema.d.ts +4 -0
  222. package/dist/esm/schema.js +15 -0
  223. package/dist/esm/test/mocks.d.ts +20 -0
  224. package/dist/esm/test/mocks.js +64 -0
  225. package/dist/esm/viem.d.ts +1141 -0
  226. package/dist/esm/viem.js +32 -0
  227. package/dist/types/advancedacl/index.d.ts +2 -0
  228. package/dist/types/advancedacl/session-key.d.ts +95 -0
  229. package/dist/types/advancedacl/types.d.ts +16 -0
  230. package/dist/types/attestedcompute/attested-compute.d.ts +65 -0
  231. package/dist/types/attestedcompute/types.d.ts +35 -0
  232. package/dist/types/attesteddecrypt/attested-decrypt.d.ts +61 -0
  233. package/dist/types/attesteddecrypt/index.d.ts +1 -0
  234. package/dist/types/attesteddecrypt/types.d.ts +27 -0
  235. package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
  236. package/dist/types/attestedreveal/index.d.ts +2 -0
  237. package/dist/types/attestedreveal/types.d.ts +4 -0
  238. package/dist/types/binary.d.ts +104 -0
  239. package/dist/types/chain.d.ts +50 -0
  240. package/dist/types/eip712/eip712.d.ts +18 -0
  241. package/dist/types/eip712/index.d.ts +1 -0
  242. package/dist/types/elistattesteddecrypt/elist-attested-decrypt.d.ts +51 -0
  243. package/dist/types/elistattesteddecrypt/index.d.ts +2 -0
  244. package/dist/types/elistattesteddecrypt/types.d.ts +31 -0
  245. package/dist/types/encryption/encryption.d.ts +235 -0
  246. package/dist/types/encryption/index.d.ts +1 -0
  247. package/dist/types/generated/abis/add-two.d.ts +117 -0
  248. package/dist/types/generated/abis/lightning.d.ts +3362 -0
  249. package/dist/types/generated/abis/test-elist.d.ts +276 -0
  250. package/dist/types/generated/abis/verifier.d.ts +1353 -0
  251. package/dist/types/generated/es/inco/covalidator/compute/v1/server_pb.d.ts +1494 -0
  252. package/dist/types/generated/es/inco/covalidator/compute/v1/types_pb.d.ts +247 -0
  253. package/dist/types/generated/es/inco/helioswrapper/v1/helioswrapper_pb.d.ts +77 -0
  254. package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +685 -0
  255. package/dist/types/generated/es/inco/kms/lite/v1/types_pb.d.ts +289 -0
  256. package/dist/types/generated/es/inco/sealingfetcher/v1/sealingfetcher_pb.d.ts +371 -0
  257. package/dist/types/generated/lightning.d.ts +830 -0
  258. package/dist/types/generated/local-node.d.ts +50 -0
  259. package/dist/types/handle.d.ts +123 -0
  260. package/dist/types/index.d.ts +5 -0
  261. package/dist/types/kms/client.d.ts +12 -0
  262. package/dist/types/kms/quorumClient.d.ts +65 -0
  263. package/dist/types/kms/quorumConsistency.d.ts +82 -0
  264. package/dist/types/kms/signatureVerification.d.ts +35 -0
  265. package/dist/types/kms/thresholdPromises.d.ts +8 -0
  266. package/dist/types/lite/attested-compute.d.ts +6 -0
  267. package/dist/types/lite/attested-decrypt.d.ts +4 -0
  268. package/dist/types/lite/deployments.d.ts +24 -0
  269. package/dist/types/lite/hadu.d.ts +4 -0
  270. package/dist/types/lite/index.d.ts +13 -0
  271. package/dist/types/lite/lightning.d.ts +459 -0
  272. package/dist/types/lite/types.d.ts +47 -0
  273. package/dist/types/lite/xwing.d.ts +154 -0
  274. package/dist/types/local/index.d.ts +1 -0
  275. package/dist/types/local/local-node.d.ts +37 -0
  276. package/dist/types/reencryption/eip712.d.ts +56 -0
  277. package/dist/types/reencryption/index.d.ts +2 -0
  278. package/dist/types/reencryption/types.d.ts +48 -0
  279. package/dist/types/retry.d.ts +30 -0
  280. package/dist/types/schema.d.ts +4 -0
  281. package/dist/types/test/mocks.d.ts +20 -0
  282. package/dist/types/viem.d.ts +1141 -0
  283. package/package.json +129 -0
@@ -0,0 +1,685 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { ACLProof, HandleWithProof, SupportedScalarBinaryOp } from "./types_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file inco/kms/lite/v1/kms_service.proto.
6
+ */
7
+ export declare const file_inco_kms_lite_v1_kms_service: GenFile;
8
+ /**
9
+ * IsReadyRequest is the request type for the KmsService/IsReady RPC method.
10
+ *
11
+ * @generated from message inco.kms.lite.v1.IsReadyRequest
12
+ */
13
+ export type IsReadyRequest = Message<"inco.kms.lite.v1.IsReadyRequest"> & {};
14
+ /**
15
+ * Describes the message inco.kms.lite.v1.IsReadyRequest.
16
+ * Use `create(IsReadyRequestSchema)` to create a new message.
17
+ */
18
+ export declare const IsReadyRequestSchema: GenMessage<IsReadyRequest>;
19
+ /**
20
+ * IsReadyResponse is the response type for the KmsService/IsReady RPC method.
21
+ *
22
+ * @generated from message inco.kms.lite.v1.IsReadyResponse
23
+ */
24
+ export type IsReadyResponse = Message<"inco.kms.lite.v1.IsReadyResponse"> & {
25
+ /**
26
+ * ready indicates whether the KMS service is fully configured and ready to process requests.
27
+ *
28
+ * @generated from field: bool ready = 1;
29
+ */
30
+ ready: boolean;
31
+ };
32
+ /**
33
+ * Describes the message inco.kms.lite.v1.IsReadyResponse.
34
+ * Use `create(IsReadyResponseSchema)` to create a new message.
35
+ */
36
+ export declare const IsReadyResponseSchema: GenMessage<IsReadyResponse>;
37
+ /**
38
+ * AttestedDecryptRequest is the request type for the KmsService/AttestedDecrypt RPC method.
39
+ *
40
+ * @generated from message inco.kms.lite.v1.AttestedDecryptRequest
41
+ */
42
+ export type AttestedDecryptRequest = Message<"inco.kms.lite.v1.AttestedDecryptRequest"> & {
43
+ /**
44
+ * user_address is the Ethereum address of the user who requested the
45
+ * decryption, prefixed with 0x.
46
+ *
47
+ * @generated from field: string user_address = 1;
48
+ */
49
+ userAddress: string;
50
+ /**
51
+ * reencrypt_pub_key is the encoding of the user's public
52
+ * encryption key (secp256k1) used to reencrypt the result for.
53
+ * It is encoded in its 33-byte compressed format.
54
+ * If empty, the KMS will return plaintext decryption instead of reencryption.
55
+ *
56
+ * @generated from field: bytes reencrypt_pub_key = 2;
57
+ */
58
+ reencryptPubKey: Uint8Array;
59
+ /**
60
+ * eip712_signature is an EIP-712 signature of the following EIP-712 typed data by
61
+ * `user_address` (note that we only give a JSON representation for the sake of
62
+ * readability, but the actual signed data is defined in the EIP-712 spec) where:
63
+ * handles - list of 0x prefixed handles to decrypt
64
+ * publicKey - 0x prefixed reencrypt_pub_key (if any). "0x" otherwise if empty.
65
+ *
66
+ * ```json
67
+ * {
68
+ * "types": {
69
+ * "EIP712Domain": [
70
+ * { "name": "name", "type": "string" },
71
+ * { "name": "version", "type": "string" },
72
+ * { "name": "chainId", "type": "uint256" }
73
+ * ],
74
+ * "AttestedDecryptRequest": [
75
+ * { "name": "handles", "type": "bytes32[]" },
76
+ * { "name": "publicKey", "type": "bytes" },
77
+ * ]
78
+ * },
79
+ * "primaryType": "AttestedDecryptRequest",
80
+ * "domain": {
81
+ * "name": "IncoAttestedDecrypt",
82
+ * "version": "1",
83
+ * "chainId": "<host_chain_id>",
84
+ * },
85
+ * "message": {
86
+ * "handles": ["<handle1>", "<handle2>", ...],
87
+ * "publicKey": "0x<reencrypt_pub_key>"
88
+ * }
89
+ * }
90
+ * ```
91
+ *
92
+ * @generated from field: bytes eip712_signature = 3;
93
+ */
94
+ eip712Signature: Uint8Array;
95
+ /**
96
+ * handles_with_proofs is the list of handles of the ciphertexts with proofs to decrypt.
97
+ * Either the user_address or sharer must have ACL access to the handles for the attested
98
+ * decryption to succeed.
99
+ *
100
+ * @generated from field: repeated inco.kms.lite.v1.HandleWithProof handles_with_proofs = 4;
101
+ */
102
+ handlesWithProofs: HandleWithProof[];
103
+ };
104
+ /**
105
+ * Describes the message inco.kms.lite.v1.AttestedDecryptRequest.
106
+ * Use `create(AttestedDecryptRequestSchema)` to create a new message.
107
+ */
108
+ export declare const AttestedDecryptRequestSchema: GenMessage<AttestedDecryptRequest>;
109
+ /**
110
+ * EListAttestedDecryptRequest is the request type for the KmsService/EListAttestedDecrypt RPC method.
111
+ *
112
+ * @generated from message inco.kms.lite.v1.EListAttestedDecryptRequest
113
+ */
114
+ export type EListAttestedDecryptRequest = Message<"inco.kms.lite.v1.EListAttestedDecryptRequest"> & {
115
+ /**
116
+ * user_address is the Ethereum address of the user who requested the
117
+ * decryption, prefixed with 0x.
118
+ *
119
+ * @generated from field: string user_address = 1;
120
+ */
121
+ userAddress: string;
122
+ /**
123
+ * reencrypt_pub_key is the encoding of the user's public
124
+ * encryption key (secp256k1) used to reencrypt the result for.
125
+ * It is encoded in its 33-byte compressed format.
126
+ * If empty, the KMS will return plaintext decryption instead of reencryption.
127
+ *
128
+ * @generated from field: bytes reencrypt_pub_key = 2;
129
+ */
130
+ reencryptPubKey: Uint8Array;
131
+ /**
132
+ * eip712_signature is an EIP-712 signature of the following EIP-712 typed data by
133
+ * `user_address` (note that we only give a JSON representation for the sake of
134
+ * readability, but the actual signed data is defined in the EIP-712 spec) where:
135
+ * handles - list of 0x prefixed handles to decrypt
136
+ * publicKey - 0x prefixed reencrypt_pub_key (if any). "0x" otherwise if empty.
137
+ *
138
+ * ```json
139
+ * {
140
+ * "types": {
141
+ * "EIP712Domain": [
142
+ * { "name": "name", "type": "string" },
143
+ * { "name": "version", "type": "string" },
144
+ * { "name": "chainId", "type": "uint256" }
145
+ * ],
146
+ * "AttestedDecryptRequest": [
147
+ * { "name": "handles", "type": "bytes32[]" },
148
+ * { "name": "publicKey", "type": "bytes" },
149
+ * ]
150
+ * },
151
+ * "primaryType": "AttestedDecryptRequest",
152
+ * "domain": {
153
+ * "name": "IncoAttestedDecrypt",
154
+ * "version": "1",
155
+ * "chainId": "<host_chain_id>",
156
+ * },
157
+ * "message": {
158
+ * "handles": ["<handle1>", "<handle2>", ...],
159
+ * "publicKey": "0x<reencrypt_pub_key>"
160
+ * }
161
+ * }
162
+ * ```
163
+ *
164
+ * @generated from field: bytes eip712_signature = 3;
165
+ */
166
+ eip712Signature: Uint8Array;
167
+ /**
168
+ * handle_with_proof is the handle of an elist ciphertext with proof to decrypt.
169
+ * Either the user_address or sharer must have ACL access to the elist handle for the attested
170
+ * decryption to succeed.
171
+ *
172
+ * @generated from field: inco.kms.lite.v1.HandleWithProof elist_handle_with_proof = 4;
173
+ */
174
+ elistHandleWithProof?: HandleWithProof | undefined;
175
+ };
176
+ /**
177
+ * Describes the message inco.kms.lite.v1.EListAttestedDecryptRequest.
178
+ * Use `create(EListAttestedDecryptRequestSchema)` to create a new message.
179
+ */
180
+ export declare const EListAttestedDecryptRequestSchema: GenMessage<EListAttestedDecryptRequest>;
181
+ /**
182
+ * EListAttestedDecryptResponse is the response type for the KmsService/EListAttestedDecryptResponse RPC method.
183
+ *
184
+ * @generated from message inco.kms.lite.v1.EListAttestedDecryptResponse
185
+ */
186
+ export type EListAttestedDecryptResponse = Message<"inco.kms.lite.v1.EListAttestedDecryptResponse"> & {
187
+ /**
188
+ * commitment_proof_attestation is the signed commitment_proof of the decrypted elist values and their corresponding commitments.
189
+ * commitment_proof = hash(concat([
190
+ * hash(concat([commitment1, v1])),
191
+ * ...]))
192
+ *
193
+ * @generated from field: inco.kms.lite.v1.DecryptionAttestation commitment_proof_attestation = 1;
194
+ */
195
+ commitmentProofAttestation?: DecryptionAttestation | undefined;
196
+ /**
197
+ * values is the list of decrypted elist values.
198
+ *
199
+ * @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
200
+ */
201
+ values: EListElement[];
202
+ /**
203
+ * proof_hashes is the list of per-element proof hashes.
204
+ * proof_hashes[i] = keccak256(commitment[i] || value[i])
205
+ * The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
206
+ *
207
+ * @generated from field: repeated bytes proof_hashes = 3;
208
+ */
209
+ proofHashes: Uint8Array[];
210
+ };
211
+ /**
212
+ * Describes the message inco.kms.lite.v1.EListAttestedDecryptResponse.
213
+ * Use `create(EListAttestedDecryptResponseSchema)` to create a new message.
214
+ */
215
+ export declare const EListAttestedDecryptResponseSchema: GenMessage<EListAttestedDecryptResponse>;
216
+ /**
217
+ * AttestedRevealRequest is the request type for the KmsService/AttestedReveal RPC method.
218
+ *
219
+ * @generated from message inco.kms.lite.v1.AttestedRevealRequest
220
+ */
221
+ export type AttestedRevealRequest = Message<"inco.kms.lite.v1.AttestedRevealRequest"> & {
222
+ /**
223
+ * handles is the list of handles of the ciphertexts to decrypt.
224
+ * The handle must have been revealed beforehand with the on-chain .reveal() call.
225
+ *
226
+ * @generated from field: repeated string handles = 3;
227
+ */
228
+ handles: string[];
229
+ };
230
+ /**
231
+ * Describes the message inco.kms.lite.v1.AttestedRevealRequest.
232
+ * Use `create(AttestedRevealRequestSchema)` to create a new message.
233
+ */
234
+ export declare const AttestedRevealRequestSchema: GenMessage<AttestedRevealRequest>;
235
+ /**
236
+ * EListAttestedRevealRequest is the request type for the KmsService/EListAttestedReveal RPC method.
237
+ *
238
+ * @generated from message inco.kms.lite.v1.EListAttestedRevealRequest
239
+ */
240
+ export type EListAttestedRevealRequest = Message<"inco.kms.lite.v1.EListAttestedRevealRequest"> & {
241
+ /**
242
+ * handle is the handle of the elist ciphertext to decrypt.
243
+ * The handle must have been revealed beforehand with the on-chain .reveal() call.
244
+ *
245
+ * @generated from field: string handle = 3;
246
+ */
247
+ handle: string;
248
+ };
249
+ /**
250
+ * Describes the message inco.kms.lite.v1.EListAttestedRevealRequest.
251
+ * Use `create(EListAttestedRevealRequestSchema)` to create a new message.
252
+ */
253
+ export declare const EListAttestedRevealRequestSchema: GenMessage<EListAttestedRevealRequest>;
254
+ /**
255
+ * AttestedComputeRequest is the request type for the KmsService/AttestedDecrypt RPC method.
256
+ *
257
+ * @generated from message inco.kms.lite.v1.AttestedComputeRequest
258
+ */
259
+ export type AttestedComputeRequest = Message<"inco.kms.lite.v1.AttestedComputeRequest"> & {
260
+ /**
261
+ * user_address is the Ethereum address of the user who requested the
262
+ * decryption, prefixed with 0x.
263
+ *
264
+ * @generated from field: string user_address = 1;
265
+ */
266
+ userAddress: string;
267
+ /**
268
+ * reencrypt_pub_key is the encoding of the user's public
269
+ * encryption key (secp256k1) used to reencrypt the result for.
270
+ * It is encoded in its 33-byte compressed format.
271
+ * If empty, the KMS will return plaintext decryption instead of reencryption.
272
+ *
273
+ * @generated from field: bytes reencrypt_pub_key = 2;
274
+ */
275
+ reencryptPubKey: Uint8Array;
276
+ /**
277
+ * eip712_signature is an EIP-712 signature of the following EIP-712 typed data by
278
+ * `user_address` (note that we only give a JSON representation for the sake of
279
+ * readability, but the actual signed data is defined in the EIP-712 spec) where:
280
+ * op - operation to perform
281
+ * lhs - handle of the ciphertext to perform computation on
282
+ * rhs - second plaintext scalar operand
283
+ * publicKey - 0x prefixed reencrypt_pub_key (if any). "0x" otherwise if empty.
284
+ *
285
+ * ```json
286
+ * {
287
+ * "types": {
288
+ * "EIP712Domain": [
289
+ * { "name": "name", "type": "string" },
290
+ * { "name": "version", "type": "string" },
291
+ * { "name": "chainId", "type": "uint256" }
292
+ * ],
293
+ * "AttestedComputeRequest": [
294
+ * { "name": "op", "type": "uint8"},
295
+ * { "name": "lhs", "type": "bytes32"},
296
+ * { "name": "rhs", "type": "bytes32"},
297
+ * { "name": "publicKey", "type": "bytes" },
298
+ * ]
299
+ * },
300
+ * "primaryType": "AttestedComputeRequest",
301
+ * "domain": {
302
+ * "name": "IncoAttestedCompute",
303
+ * "version": "1",
304
+ * "chainId": "<host_chain_id>",
305
+ * },
306
+ * "message": {
307
+ * "op": <operation>,
308
+ * "lhs": "<handle1>",
309
+ * "rhs": <plaintextBytes>, // Also add a comment on length & encoding
310
+ * "publicKey": "0x<reencrypt_pub_key>"
311
+ * }
312
+ * }
313
+ * ```
314
+ *
315
+ * @generated from field: bytes eip712_signature = 3;
316
+ */
317
+ eip712Signature: Uint8Array;
318
+ /**
319
+ * Subset of supported binary operations that can be performed on a handle.
320
+ *
321
+ * @generated from field: inco.kms.lite.v1.SupportedScalarBinaryOp op = 4;
322
+ */
323
+ op: SupportedScalarBinaryOp;
324
+ /**
325
+ * handle of the ciphertext encoded as a hex string (with or without 0x prefix) to perform computation on.
326
+ * The user_address must have ACL access to the handle for the attested
327
+ * compute to succeed.
328
+ *
329
+ * @generated from field: string lhs_handle = 5;
330
+ */
331
+ lhsHandle: string;
332
+ /**
333
+ * Second plaintext scalar operand encoded as a hex string (with or without 0x prefix)
334
+ *
335
+ * @generated from field: string rhs_plaintext = 6;
336
+ */
337
+ rhsPlaintext: string;
338
+ /**
339
+ * acl_proof is the proof that the user has access to compute on the lhs_handle.
340
+ * Either the user_address or sharer must have ACL access to the handles for the attested
341
+ * compute to succeed.
342
+ *
343
+ * @generated from field: inco.kms.lite.v1.ACLProof acl_proof = 7;
344
+ */
345
+ aclProof?: ACLProof | undefined;
346
+ };
347
+ /**
348
+ * Describes the message inco.kms.lite.v1.AttestedComputeRequest.
349
+ * Use `create(AttestedComputeRequestSchema)` to create a new message.
350
+ */
351
+ export declare const AttestedComputeRequestSchema: GenMessage<AttestedComputeRequest>;
352
+ /**
353
+ * AttestedDecryptResponse is the response type for the KmsService/AttestedDecrypt RPC method.
354
+ *
355
+ * @generated from message inco.kms.lite.v1.AttestedDecryptResponse
356
+ */
357
+ export type AttestedDecryptResponse = Message<"inco.kms.lite.v1.AttestedDecryptResponse"> & {
358
+ /**
359
+ * decryption_attestations is the list of decryption attestations. The item at index `i`
360
+ * corresponds to the handle at index `i` in the `AttestedDecryptRequest`.
361
+ *
362
+ * @generated from field: repeated inco.kms.lite.v1.DecryptionAttestation decryption_attestations = 1;
363
+ */
364
+ decryptionAttestations: DecryptionAttestation[];
365
+ };
366
+ /**
367
+ * Describes the message inco.kms.lite.v1.AttestedDecryptResponse.
368
+ * Use `create(AttestedDecryptResponseSchema)` to create a new message.
369
+ */
370
+ export declare const AttestedDecryptResponseSchema: GenMessage<AttestedDecryptResponse>;
371
+ /**
372
+ * AttestedRevealResponse is the response type for the KmsService/AttestedReveal RPC method.
373
+ *
374
+ * @generated from message inco.kms.lite.v1.AttestedRevealResponse
375
+ */
376
+ export type AttestedRevealResponse = Message<"inco.kms.lite.v1.AttestedRevealResponse"> & {
377
+ /**
378
+ * decryption_attestations is the list of decryption attestations. The item at index `i`
379
+ * corresponds to the handle at index `i` in the `AttestedRevealRequest`.
380
+ *
381
+ * @generated from field: repeated inco.kms.lite.v1.DecryptionAttestation decryption_attestations = 1;
382
+ */
383
+ decryptionAttestations: DecryptionAttestation[];
384
+ };
385
+ /**
386
+ * Describes the message inco.kms.lite.v1.AttestedRevealResponse.
387
+ * Use `create(AttestedRevealResponseSchema)` to create a new message.
388
+ */
389
+ export declare const AttestedRevealResponseSchema: GenMessage<AttestedRevealResponse>;
390
+ /**
391
+ * EListAttestedRevealResponse is the response type for the KmsService/EListAttestedReveal RPC method.
392
+ *
393
+ * @generated from message inco.kms.lite.v1.EListAttestedRevealResponse
394
+ */
395
+ export type EListAttestedRevealResponse = Message<"inco.kms.lite.v1.EListAttestedRevealResponse"> & {
396
+ /**
397
+ * commitment_proof_attestation is the signed commitment_proof of the concatenation of the hashes of individual elist values.
398
+ *
399
+ * @generated from field: inco.kms.lite.v1.DecryptionAttestation commitment_proof_attestation = 1;
400
+ */
401
+ commitmentProofAttestation?: DecryptionAttestation | undefined;
402
+ /**
403
+ * values is the list of decrypted elist values.
404
+ *
405
+ * @generated from field: repeated inco.kms.lite.v1.EListElement values = 2;
406
+ */
407
+ values: EListElement[];
408
+ /**
409
+ * proof_hashes is the list of per-element proof hashes.
410
+ * proof_hashes[i] = keccak256(value[i])
411
+ * The overall commitment_proof in the attestation equals keccak256(concat(proof_hashes)).
412
+ *
413
+ * @generated from field: repeated bytes proof_hashes = 3;
414
+ */
415
+ proofHashes: Uint8Array[];
416
+ };
417
+ /**
418
+ * Describes the message inco.kms.lite.v1.EListAttestedRevealResponse.
419
+ * Use `create(EListAttestedRevealResponseSchema)` to create a new message.
420
+ */
421
+ export declare const EListAttestedRevealResponseSchema: GenMessage<EListAttestedRevealResponse>;
422
+ /**
423
+ * AttestedComputeResponse is the response type for the KmsService/AttestedCompute RPC method.
424
+ *
425
+ * @generated from message inco.kms.lite.v1.AttestedComputeResponse
426
+ */
427
+ export type AttestedComputeResponse = Message<"inco.kms.lite.v1.AttestedComputeResponse"> & {
428
+ /**
429
+ * decryption_attestation is the signed decryption of the result of the computation.
430
+ *
431
+ * @generated from field: inco.kms.lite.v1.DecryptionAttestation decryption_attestation = 1;
432
+ */
433
+ decryptionAttestation?: DecryptionAttestation | undefined;
434
+ };
435
+ /**
436
+ * Describes the message inco.kms.lite.v1.AttestedComputeResponse.
437
+ * Use `create(AttestedComputeResponseSchema)` to create a new message.
438
+ */
439
+ export declare const AttestedComputeResponseSchema: GenMessage<AttestedComputeResponse>;
440
+ /**
441
+ * Plaintext contains the decrypted plaintext value.
442
+ *
443
+ * @generated from message inco.kms.lite.v1.Plaintext
444
+ */
445
+ export type Plaintext = Message<"inco.kms.lite.v1.Plaintext"> & {
446
+ /**
447
+ * value is the decrypted plaintext value as a 32-byte word.
448
+ *
449
+ * @generated from field: bytes value = 1;
450
+ */
451
+ value: Uint8Array;
452
+ };
453
+ /**
454
+ * Describes the message inco.kms.lite.v1.Plaintext.
455
+ * Use `create(PlaintextSchema)` to create a new message.
456
+ */
457
+ export declare const PlaintextSchema: GenMessage<Plaintext>;
458
+ /**
459
+ * Reencryption contains the reencrypted ciphertext value.
460
+ *
461
+ * @generated from message inco.kms.lite.v1.Reencryption
462
+ */
463
+ export type Reencryption = Message<"inco.kms.lite.v1.Reencryption"> & {
464
+ /**
465
+ * The ciphertext that was reencrypted to the user's public key.
466
+ *
467
+ * @generated from field: bytes user_ciphertext = 1;
468
+ */
469
+ userCiphertext: Uint8Array;
470
+ /**
471
+ * Encrypted signature over the plaintext, encrypted to the user's public key. Can only be decrypted by the user.
472
+ *
473
+ * @generated from field: bytes encrypted_signature = 3;
474
+ */
475
+ encryptedSignature: Uint8Array;
476
+ };
477
+ /**
478
+ * Describes the message inco.kms.lite.v1.Reencryption.
479
+ * Use `create(ReencryptionSchema)` to create a new message.
480
+ */
481
+ export declare const ReencryptionSchema: GenMessage<Reencryption>;
482
+ /**
483
+ * EListElement contains the decryptions/reencryptions for elist element.
484
+ *
485
+ * @generated from message inco.kms.lite.v1.EListElement
486
+ */
487
+ export type EListElement = Message<"inco.kms.lite.v1.EListElement"> & {
488
+ /**
489
+ * index is the index of the element in the elist.
490
+ *
491
+ * @generated from field: uint32 index = 1;
492
+ */
493
+ index: number;
494
+ /**
495
+ * commitment is the random commitment applied to the element when calculating elist commitment_proof.
496
+ *
497
+ * @generated from field: bytes commitment = 2;
498
+ */
499
+ commitment: Uint8Array;
500
+ /**
501
+ * @generated from oneof inco.kms.lite.v1.EListElement.value
502
+ */
503
+ value: {
504
+ /**
505
+ * Returns plaintext if reencrypt_pub_key was empty in the request
506
+ *
507
+ * @generated from field: inco.kms.lite.v1.Plaintext plaintext = 3;
508
+ */
509
+ value: Plaintext;
510
+ case: "plaintext";
511
+ } | {
512
+ /**
513
+ * Returns encrypted ciphertext if reencrypt_pub_key was set in the request
514
+ *
515
+ * @generated from field: inco.kms.lite.v1.Reencryption reencryption = 4;
516
+ */
517
+ value: Reencryption;
518
+ case: "reencryption";
519
+ } | {
520
+ case: undefined;
521
+ value?: undefined;
522
+ };
523
+ };
524
+ /**
525
+ * Describes the message inco.kms.lite.v1.EListElement.
526
+ * Use `create(EListElementSchema)` to create a new message.
527
+ */
528
+ export declare const EListElementSchema: GenMessage<EListElement>;
529
+ /**
530
+ * DecryptionAttestation contains the attestation for the decryption of a single handle.
531
+ *
532
+ * @generated from message inco.kms.lite.v1.DecryptionAttestation
533
+ */
534
+ export type DecryptionAttestation = Message<"inco.kms.lite.v1.DecryptionAttestation"> & {
535
+ /**
536
+ * handle is the handle that was decrypted, encoded as a 0x-prefixed hex string.
537
+ *
538
+ * @generated from field: string handle = 1;
539
+ */
540
+ handle: string;
541
+ /**
542
+ * @generated from oneof inco.kms.lite.v1.DecryptionAttestation.value
543
+ */
544
+ value: {
545
+ /**
546
+ * Returns plaintext if reencrypt_pub_key was empty in the request
547
+ *
548
+ * @generated from field: inco.kms.lite.v1.Plaintext plaintext = 2;
549
+ */
550
+ value: Plaintext;
551
+ case: "plaintext";
552
+ } | {
553
+ /**
554
+ * Returns encrypted ciphertext if reencrypt_pub_key was set in the request
555
+ *
556
+ * @generated from field: inco.kms.lite.v1.Reencryption reencryption = 3;
557
+ */
558
+ value: Reencryption;
559
+ case: "reencryption";
560
+ } | {
561
+ case: undefined;
562
+ value?: undefined;
563
+ };
564
+ /**
565
+ * signature is the attestation from the covalidator for the (handle,plaintext) pair.
566
+ * This signature will be verified on the host chain.
567
+ *
568
+ * It is an EIP-712 signature of the following EIP-712 typed data by
569
+ * `user_address` (note that we only give a JSON representation for the sake of
570
+ * readability, but the actual signed data is defined in the EIP-712 spec):
571
+ *
572
+ * ```json
573
+ * {
574
+ * "types": {
575
+ * "EIP712Domain": [
576
+ * { "name": "name", "type": "string" },
577
+ * { "name": "version", "type": "string" },
578
+ * { "name": "chainId", "type": "uint256" },
579
+ * { "name": "verifyingContract", "type": "address" }
580
+ * ],
581
+ * "DecryptionRequest": [
582
+ * { "name": "handle", "type": "bytes32" },
583
+ * { "name": "value", "type": "bytes32" }
584
+ * ]
585
+ * },
586
+ * "primaryType": "DecryptionRequest",
587
+ * "domain": {
588
+ * "name": "<Inco contract name, e.g. IncoLite>",
589
+ * "version": "<Inco contract version>",
590
+ * "chainId": "<host_chain_id>",
591
+ * "verifyingContract": "<Inco contract address>",
592
+ * },
593
+ * "message": {
594
+ * "handle": "<handle>",
595
+ * "value": "<value>"
596
+ * }
597
+ * }
598
+ * ```
599
+ *
600
+ * @generated from field: bytes signature = 4;
601
+ */
602
+ signature: Uint8Array;
603
+ };
604
+ /**
605
+ * Describes the message inco.kms.lite.v1.DecryptionAttestation.
606
+ * Use `create(DecryptionAttestationSchema)` to create a new message.
607
+ */
608
+ export declare const DecryptionAttestationSchema: GenMessage<DecryptionAttestation>;
609
+ /**
610
+ * KmsService is the service for the IncoLite KMS, which will run
611
+ * inside the TEE.
612
+ *
613
+ * @generated from service inco.kms.lite.v1.KmsService
614
+ */
615
+ export declare const KmsService: GenService<{
616
+ /**
617
+ * IsReady checks whether the KMS service is fully configured and ready to process requests.
618
+ *
619
+ * @generated from rpc inco.kms.lite.v1.KmsService.IsReady
620
+ */
621
+ isReady: {
622
+ methodKind: "unary";
623
+ input: typeof IsReadyRequestSchema;
624
+ output: typeof IsReadyResponseSchema;
625
+ };
626
+ /**
627
+ * AttestedDecrypt decrypts multiple ciphertexts and provides an attestation
628
+ * that the decryption was performed correctly.
629
+ * Can optionally reencrypt the result of the decryption to a desired public key.
630
+ *
631
+ * @generated from rpc inco.kms.lite.v1.KmsService.AttestedDecrypt
632
+ */
633
+ attestedDecrypt: {
634
+ methodKind: "unary";
635
+ input: typeof AttestedDecryptRequestSchema;
636
+ output: typeof AttestedDecryptResponseSchema;
637
+ };
638
+ /**
639
+ * AttestedCompute decrypts the result of a scalar binary operation on a handle and provides an attestation
640
+ * that the computation and decryption were performed correctly.
641
+ *
642
+ * @generated from rpc inco.kms.lite.v1.KmsService.AttestedCompute
643
+ */
644
+ attestedCompute: {
645
+ methodKind: "unary";
646
+ input: typeof AttestedComputeRequestSchema;
647
+ output: typeof AttestedComputeResponseSchema;
648
+ };
649
+ /**
650
+ * AttestedReveal decrypts multiple ciphertexts and provides an attestation
651
+ * that the decryption was performed correctly.
652
+ * Doesn't require authentication if the handle is publicly revealed with the on-chain .reveal() call beforehand.
653
+ *
654
+ * @generated from rpc inco.kms.lite.v1.KmsService.AttestedReveal
655
+ */
656
+ attestedReveal: {
657
+ methodKind: "unary";
658
+ input: typeof AttestedRevealRequestSchema;
659
+ output: typeof AttestedRevealResponseSchema;
660
+ };
661
+ /**
662
+ * EListAttestedDecrypt decrypts a single elist ciphertext and provides an attestation
663
+ * that the decryption was performed correctly.
664
+ * Can optionally reencrypt the result of the decryption to a desired public key.
665
+ *
666
+ * @generated from rpc inco.kms.lite.v1.KmsService.EListAttestedDecrypt
667
+ */
668
+ eListAttestedDecrypt: {
669
+ methodKind: "unary";
670
+ input: typeof EListAttestedDecryptRequestSchema;
671
+ output: typeof EListAttestedDecryptResponseSchema;
672
+ };
673
+ /**
674
+ * EListAttestedReveal decrypts a single elist ciphertext and provides an attestation
675
+ * that the decryption was performed correctly.
676
+ * Doesn't require authentication if the handle is publicly revealed with the on-chain .reveal() call beforehand.
677
+ *
678
+ * @generated from rpc inco.kms.lite.v1.KmsService.EListAttestedReveal
679
+ */
680
+ eListAttestedReveal: {
681
+ methodKind: "unary";
682
+ input: typeof EListAttestedRevealRequestSchema;
683
+ output: typeof EListAttestedRevealResponseSchema;
684
+ };
685
+ }>;