@alephium/web3 0.0.1-test.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 (137) hide show
  1. package/.editorconfig +13 -0
  2. package/.eslintignore +2 -0
  3. package/.eslintrc.json +21 -0
  4. package/.gitattributes +1 -0
  5. package/LICENSE +165 -0
  6. package/README.md +136 -0
  7. package/contracts/add.ral +16 -0
  8. package/contracts/greeter.ral +7 -0
  9. package/contracts/greeter_interface.ral +3 -0
  10. package/contracts/greeter_main.ral +9 -0
  11. package/contracts/main.ral +6 -0
  12. package/contracts/sub.ral +9 -0
  13. package/dev/user.conf +29 -0
  14. package/dist/alephium-web3.min.js +3 -0
  15. package/dist/alephium-web3.min.js.LICENSE.txt +27 -0
  16. package/dist/alephium-web3.min.js.map +1 -0
  17. package/dist/scripts/check-versions.d.ts +1 -0
  18. package/dist/scripts/check-versions.js +39 -0
  19. package/dist/scripts/create-project.d.ts +2 -0
  20. package/dist/scripts/create-project.js +124 -0
  21. package/dist/scripts/header.d.ts +0 -0
  22. package/dist/scripts/header.js +18 -0
  23. package/dist/scripts/rename-gitignore.d.ts +1 -0
  24. package/dist/scripts/rename-gitignore.js +24 -0
  25. package/dist/scripts/start-devnet.d.ts +1 -0
  26. package/dist/scripts/start-devnet.js +131 -0
  27. package/dist/scripts/stop-devnet.d.ts +1 -0
  28. package/dist/scripts/stop-devnet.js +32 -0
  29. package/dist/src/api/api-alephium.d.ts +1473 -0
  30. package/dist/src/api/api-alephium.js +1143 -0
  31. package/dist/src/api/api-explorer.d.ts +475 -0
  32. package/dist/src/api/api-explorer.js +457 -0
  33. package/dist/src/api/index.d.ts +10 -0
  34. package/dist/src/api/index.js +55 -0
  35. package/dist/src/constants.d.ts +2 -0
  36. package/dist/src/constants.js +22 -0
  37. package/dist/src/contract/contract.d.ts +182 -0
  38. package/dist/src/contract/contract.js +760 -0
  39. package/dist/src/contract/events.d.ts +11 -0
  40. package/dist/src/contract/events.js +64 -0
  41. package/dist/src/contract/index.d.ts +3 -0
  42. package/dist/src/contract/index.js +32 -0
  43. package/dist/src/contract/ralph.d.ts +12 -0
  44. package/dist/src/contract/ralph.js +362 -0
  45. package/dist/src/index.d.ts +6 -0
  46. package/dist/src/index.js +35 -0
  47. package/dist/src/signer/index.d.ts +2 -0
  48. package/dist/src/signer/index.js +31 -0
  49. package/dist/src/signer/node-wallet.d.ts +13 -0
  50. package/dist/src/signer/node-wallet.js +60 -0
  51. package/dist/src/signer/signer.d.ts +143 -0
  52. package/dist/src/signer/signer.js +184 -0
  53. package/dist/src/test/index.d.ts +7 -0
  54. package/dist/src/test/index.js +41 -0
  55. package/dist/src/test/privatekey-wallet.d.ts +12 -0
  56. package/dist/src/test/privatekey-wallet.js +68 -0
  57. package/dist/src/transaction/index.d.ts +2 -0
  58. package/dist/src/transaction/index.js +31 -0
  59. package/dist/src/transaction/sign-verify.d.ts +2 -0
  60. package/dist/src/transaction/sign-verify.js +58 -0
  61. package/dist/src/transaction/status.d.ts +10 -0
  62. package/dist/src/transaction/status.js +48 -0
  63. package/dist/src/utils/address.d.ts +1 -0
  64. package/dist/src/utils/address.js +42 -0
  65. package/dist/src/utils/bs58.d.ts +4 -0
  66. package/dist/src/utils/bs58.js +28 -0
  67. package/dist/src/utils/djb2.d.ts +1 -0
  68. package/dist/src/utils/djb2.js +27 -0
  69. package/dist/src/utils/index.d.ts +6 -0
  70. package/dist/src/utils/index.js +35 -0
  71. package/dist/src/utils/password-crypto.d.ts +2 -0
  72. package/dist/src/utils/password-crypto.js +69 -0
  73. package/dist/src/utils/subscription.d.ts +24 -0
  74. package/dist/src/utils/subscription.js +52 -0
  75. package/dist/src/utils/utils.d.ts +30 -0
  76. package/dist/src/utils/utils.js +199 -0
  77. package/gitignore +10 -0
  78. package/package.json +127 -0
  79. package/scripts/check-versions.js +45 -0
  80. package/scripts/create-project.ts +136 -0
  81. package/scripts/header.js +17 -0
  82. package/scripts/rename-gitignore.js +24 -0
  83. package/scripts/start-devnet.js +141 -0
  84. package/scripts/stop-devnet.js +32 -0
  85. package/src/api/api-alephium.ts +2430 -0
  86. package/src/api/api-explorer.ts +852 -0
  87. package/src/api/index.ts +35 -0
  88. package/src/constants.ts +20 -0
  89. package/src/contract/contract.ts +1014 -0
  90. package/src/contract/events.ts +75 -0
  91. package/src/contract/index.ts +21 -0
  92. package/src/contract/ralph.test.ts +178 -0
  93. package/src/contract/ralph.ts +362 -0
  94. package/src/fixtures/address.json +36 -0
  95. package/src/fixtures/balance.json +9 -0
  96. package/src/fixtures/self-clique.json +19 -0
  97. package/src/fixtures/transaction.json +13 -0
  98. package/src/fixtures/transactions.json +179 -0
  99. package/src/index.ts +25 -0
  100. package/src/signer/fixtures/genesis.json +26 -0
  101. package/src/signer/fixtures/wallets.json +26 -0
  102. package/src/signer/index.ts +20 -0
  103. package/src/signer/node-wallet.ts +74 -0
  104. package/src/signer/signer.ts +313 -0
  105. package/src/test/index.ts +32 -0
  106. package/src/test/privatekey-wallet.ts +58 -0
  107. package/src/transaction/index.ts +20 -0
  108. package/src/transaction/sign-verify.test.ts +50 -0
  109. package/src/transaction/sign-verify.ts +39 -0
  110. package/src/transaction/status.ts +58 -0
  111. package/src/utils/address.test.ts +47 -0
  112. package/src/utils/address.ts +39 -0
  113. package/src/utils/bs58.ts +26 -0
  114. package/src/utils/djb2.test.ts +35 -0
  115. package/src/utils/djb2.ts +25 -0
  116. package/src/utils/index.ts +24 -0
  117. package/src/utils/password-crypto.test.ts +27 -0
  118. package/src/utils/password-crypto.ts +77 -0
  119. package/src/utils/subscription.ts +72 -0
  120. package/src/utils/utils.test.ts +160 -0
  121. package/src/utils/utils.ts +209 -0
  122. package/templates/base/README.md +34 -0
  123. package/templates/base/package.json +35 -0
  124. package/templates/base/src/greeter.ts +41 -0
  125. package/templates/base/tsconfig.json +19 -0
  126. package/templates/react/README.md +34 -0
  127. package/templates/react/config-overrides.js +18 -0
  128. package/templates/react/package.json +66 -0
  129. package/templates/react/src/App.tsx +42 -0
  130. package/templates/react/src/artifacts/greeter.ral.json +26 -0
  131. package/templates/react/src/artifacts/greeter_main.ral.json +22 -0
  132. package/templates/shared/.eslintrc.json +12 -0
  133. package/templates/shared/scripts/header.js +0 -0
  134. package/test/contract.test.ts +161 -0
  135. package/test/events.test.ts +138 -0
  136. package/test/transaction.test.ts +72 -0
  137. package/webpack.config.js +57 -0
@@ -0,0 +1,475 @@
1
+ export interface AddressBalance {
2
+ /** @format uint256 */
3
+ balance: string;
4
+ /** @format uint256 */
5
+ lockedBalance: string;
6
+ }
7
+ export interface AddressInfo {
8
+ /** @format uint256 */
9
+ balance: string;
10
+ /** @format uint256 */
11
+ lockedBalance: string;
12
+ /** @format int32 */
13
+ txNumber: number;
14
+ }
15
+ export interface BadRequest {
16
+ detail: string;
17
+ }
18
+ export interface BlockEntryLite {
19
+ /** @format block-hash */
20
+ hash: string;
21
+ /** @format int64 */
22
+ timestamp: number;
23
+ /** @format int32 */
24
+ chainFrom: number;
25
+ /** @format int32 */
26
+ chainTo: number;
27
+ /** @format int32 */
28
+ height: number;
29
+ /** @format int32 */
30
+ txNumber: number;
31
+ mainChain: boolean;
32
+ /** @format bigint */
33
+ hashRate: string;
34
+ }
35
+ export interface ConfirmedTransaction {
36
+ /** @format 32-byte-hash */
37
+ hash: string;
38
+ /** @format block-hash */
39
+ blockHash: string;
40
+ /** @format int64 */
41
+ timestamp: number;
42
+ inputs?: Input[];
43
+ outputs?: Output[];
44
+ /** @format int32 */
45
+ gasAmount: number;
46
+ /** @format uint256 */
47
+ gasPrice: string;
48
+ type: string;
49
+ }
50
+ export interface ExplorerInfo {
51
+ releaseVersion: string;
52
+ commit: string;
53
+ }
54
+ export interface Hashrate {
55
+ /** @format int64 */
56
+ timestamp: number;
57
+ hashrate: number;
58
+ value: number;
59
+ }
60
+ export interface Input {
61
+ outputRef: OutputRef;
62
+ unlockScript?: string;
63
+ /** @format 32-byte-hash */
64
+ txHashRef: string;
65
+ address: string;
66
+ /** @format uint256 */
67
+ amount: string;
68
+ }
69
+ export interface InternalServerError {
70
+ detail: string;
71
+ }
72
+ export interface ListBlocks {
73
+ /** @format int32 */
74
+ total: number;
75
+ blocks?: BlockEntryLite[];
76
+ }
77
+ export interface NotFound {
78
+ detail: string;
79
+ resource: string;
80
+ }
81
+ export interface Output {
82
+ /** @format int32 */
83
+ hint: number;
84
+ /** @format 32-byte-hash */
85
+ key: string;
86
+ /** @format uint256 */
87
+ amount: string;
88
+ address: string;
89
+ /** @format int64 */
90
+ lockTime?: number;
91
+ /** @format 32-byte-hash */
92
+ spent?: string;
93
+ }
94
+ export interface OutputRef {
95
+ /** @format int32 */
96
+ hint: number;
97
+ /** @format 32-byte-hash */
98
+ key: string;
99
+ }
100
+ export interface PerChainCount {
101
+ /** @format int32 */
102
+ chainFrom: number;
103
+ /** @format int32 */
104
+ chainTo: number;
105
+ /** @format int64 */
106
+ count: number;
107
+ }
108
+ export interface PerChainDuration {
109
+ /** @format int32 */
110
+ chainFrom: number;
111
+ /** @format int32 */
112
+ chainTo: number;
113
+ /** @format int64 */
114
+ duration: number;
115
+ /** @format int64 */
116
+ value: number;
117
+ }
118
+ export interface PerChainHeight {
119
+ /** @format int32 */
120
+ chainFrom: number;
121
+ /** @format int32 */
122
+ chainTo: number;
123
+ /** @format int64 */
124
+ height: number;
125
+ /** @format int64 */
126
+ value: number;
127
+ }
128
+ export interface PerChainTimedCount {
129
+ /** @format int64 */
130
+ timestamp: number;
131
+ totalCountPerChain?: PerChainCount[];
132
+ }
133
+ export interface ServiceUnavailable {
134
+ detail: string;
135
+ }
136
+ export interface TimedCount {
137
+ /** @format int64 */
138
+ timestamp: number;
139
+ /** @format int64 */
140
+ totalCountAllChains: number;
141
+ }
142
+ export interface TokenSupply {
143
+ /** @format int64 */
144
+ timestamp: number;
145
+ /** @format uint256 */
146
+ total: string;
147
+ /** @format uint256 */
148
+ circulating: string;
149
+ /** @format uint256 */
150
+ reserved: string;
151
+ /** @format uint256 */
152
+ locked: string;
153
+ /** @format uint256 */
154
+ maximum: string;
155
+ }
156
+ export interface Transaction {
157
+ /** @format 32-byte-hash */
158
+ hash: string;
159
+ /** @format block-hash */
160
+ blockHash: string;
161
+ /** @format int64 */
162
+ timestamp: number;
163
+ inputs?: Input[];
164
+ outputs?: Output[];
165
+ /** @format int32 */
166
+ gasAmount: number;
167
+ /** @format uint256 */
168
+ gasPrice: string;
169
+ }
170
+ export declare type TransactionLike = ConfirmedTransaction | UnconfirmedTransaction;
171
+ export interface UInput {
172
+ outputRef: OutputRef;
173
+ unlockScript?: string;
174
+ }
175
+ export interface UOutput {
176
+ /** @format uint256 */
177
+ amount: string;
178
+ address: string;
179
+ /** @format int64 */
180
+ lockTime?: number;
181
+ }
182
+ export interface Unauthorized {
183
+ detail: string;
184
+ }
185
+ export interface UnconfirmedTransaction {
186
+ /** @format 32-byte-hash */
187
+ hash: string;
188
+ /** @format int32 */
189
+ chainFrom: number;
190
+ /** @format int32 */
191
+ chainTo: number;
192
+ inputs?: UInput[];
193
+ outputs?: UOutput[];
194
+ /** @format int32 */
195
+ gasAmount: number;
196
+ /** @format uint256 */
197
+ gasPrice: string;
198
+ type: string;
199
+ }
200
+ import 'cross-fetch/polyfill';
201
+ export declare type QueryParamsType = Record<string | number, any>;
202
+ export declare type ResponseFormat = keyof Omit<Body, 'body' | 'bodyUsed'>;
203
+ export interface FullRequestParams extends Omit<RequestInit, 'body'> {
204
+ /** set parameter to `true` for call `securityWorker` for this request */
205
+ secure?: boolean;
206
+ /** request path */
207
+ path: string;
208
+ /** content type of request body */
209
+ type?: ContentType;
210
+ /** query params */
211
+ query?: QueryParamsType;
212
+ /** format of response (i.e. response.json() -> format: "json") */
213
+ format?: ResponseFormat;
214
+ /** request body */
215
+ body?: unknown;
216
+ /** base url */
217
+ baseUrl?: string;
218
+ /** request cancellation token */
219
+ cancelToken?: CancelToken;
220
+ }
221
+ export declare type RequestParams = Omit<FullRequestParams, 'body' | 'method' | 'query' | 'path'>;
222
+ export interface ApiConfig<SecurityDataType = unknown> {
223
+ baseUrl?: string;
224
+ baseApiParams?: Omit<RequestParams, 'baseUrl' | 'cancelToken' | 'signal'>;
225
+ securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
226
+ customFetch?: typeof fetch;
227
+ }
228
+ export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
229
+ data: D;
230
+ error: E;
231
+ }
232
+ declare type CancelToken = Symbol | string | number;
233
+ export declare enum ContentType {
234
+ Json = "application/json",
235
+ FormData = "multipart/form-data",
236
+ UrlEncoded = "application/x-www-form-urlencoded"
237
+ }
238
+ export declare class HttpClient<SecurityDataType = unknown> {
239
+ baseUrl: string;
240
+ private securityData;
241
+ private securityWorker?;
242
+ private abortControllers;
243
+ private customFetch;
244
+ private baseApiParams;
245
+ constructor(apiConfig?: ApiConfig<SecurityDataType>);
246
+ setSecurityData: (data: SecurityDataType | null) => void;
247
+ private encodeQueryParam;
248
+ private addQueryParam;
249
+ private addArrayQueryParam;
250
+ protected toQueryString(rawQuery?: QueryParamsType): string;
251
+ protected addQueryParams(rawQuery?: QueryParamsType): string;
252
+ private contentFormatters;
253
+ private mergeRequestParams;
254
+ private createAbortSignal;
255
+ abortRequest: (cancelToken: CancelToken) => void;
256
+ request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
257
+ }
258
+ /**
259
+ * @title Alephium Explorer API
260
+ * @version 1.0
261
+ */
262
+ export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
263
+ blocks: {
264
+ /**
265
+ * @description List blocks within time interval
266
+ *
267
+ * @tags Blocks
268
+ * @name GetBlocks
269
+ * @request GET:/blocks
270
+ */
271
+ getBlocks: (query?: {
272
+ page?: number | undefined;
273
+ limit?: number | undefined;
274
+ reverse?: boolean | undefined;
275
+ } | undefined, params?: RequestParams) => Promise<ListBlocks>;
276
+ /**
277
+ * @description Get a block with hash
278
+ *
279
+ * @tags Blocks
280
+ * @name GetBlocksBlockHash
281
+ * @request GET:/blocks/{block-hash}
282
+ */
283
+ getBlocksBlockHash: (blockHash: string, params?: RequestParams) => Promise<BlockEntryLite>;
284
+ /**
285
+ * @description Get block's transactions
286
+ *
287
+ * @tags Blocks
288
+ * @name GetBlocksBlockHashTransactions
289
+ * @request GET:/blocks/{block-hash}/transactions
290
+ */
291
+ getBlocksBlockHashTransactions: (blockHash: string, query?: {
292
+ page?: number | undefined;
293
+ limit?: number | undefined;
294
+ reverse?: boolean | undefined;
295
+ } | undefined, params?: RequestParams) => Promise<Transaction[]>;
296
+ };
297
+ transactions: {
298
+ /**
299
+ * @description Get a transaction with hash
300
+ *
301
+ * @tags Transactions
302
+ * @name GetTransactionsTransactionHash
303
+ * @request GET:/transactions/{transaction-hash}
304
+ */
305
+ getTransactionsTransactionHash: (transactionHash: string, params?: RequestParams) => Promise<ConfirmedTransaction | UnconfirmedTransaction>;
306
+ };
307
+ addresses: {
308
+ /**
309
+ * @description Get address information
310
+ *
311
+ * @tags Addresses
312
+ * @name GetAddressesAddress
313
+ * @request GET:/addresses/{address}
314
+ */
315
+ getAddressesAddress: (address: string, params?: RequestParams) => Promise<AddressInfo>;
316
+ /**
317
+ * @description List transactions of a given address
318
+ *
319
+ * @tags Addresses
320
+ * @name GetAddressesAddressTransactions
321
+ * @request GET:/addresses/{address}/transactions
322
+ */
323
+ getAddressesAddressTransactions: (address: string, query?: {
324
+ page?: number | undefined;
325
+ limit?: number | undefined;
326
+ reverse?: boolean | undefined;
327
+ } | undefined, params?: RequestParams) => Promise<Transaction[]>;
328
+ /**
329
+ * @description Get total transactions of a given address
330
+ *
331
+ * @tags Addresses
332
+ * @name GetAddressesAddressTotalTransactions
333
+ * @request GET:/addresses/{address}/total-transactions
334
+ */
335
+ getAddressesAddressTotalTransactions: (address: string, params?: RequestParams) => Promise<number>;
336
+ /**
337
+ * @description Get address balance
338
+ *
339
+ * @tags Addresses
340
+ * @name GetAddressesAddressBalance
341
+ * @request GET:/addresses/{address}/balance
342
+ */
343
+ getAddressesAddressBalance: (address: string, params?: RequestParams) => Promise<AddressBalance>;
344
+ };
345
+ infos: {
346
+ /**
347
+ * @description Get explorer informations
348
+ *
349
+ * @tags Infos
350
+ * @name GetInfos
351
+ * @request GET:/infos
352
+ */
353
+ getInfos: (params?: RequestParams) => Promise<ExplorerInfo>;
354
+ /**
355
+ * @description List latest height for each chain
356
+ *
357
+ * @tags Infos
358
+ * @name GetInfosHeights
359
+ * @request GET:/infos/heights
360
+ */
361
+ getInfosHeights: (params?: RequestParams) => Promise<PerChainHeight[]>;
362
+ /**
363
+ * @description Get token supply list
364
+ *
365
+ * @tags Infos
366
+ * @name GetInfosSupply
367
+ * @request GET:/infos/supply
368
+ */
369
+ getInfosSupply: (query?: {
370
+ page?: number | undefined;
371
+ limit?: number | undefined;
372
+ reverse?: boolean | undefined;
373
+ } | undefined, params?: RequestParams) => Promise<TokenSupply[]>;
374
+ /**
375
+ * @description Get the ALPH total supply
376
+ *
377
+ * @tags Infos
378
+ * @name GetInfosSupplyTotalAlph
379
+ * @request GET:/infos/supply/total-alph
380
+ */
381
+ getInfosSupplyTotalAlph: (params?: RequestParams) => Promise<number>;
382
+ /**
383
+ * @description Get the ALPH circulating supply
384
+ *
385
+ * @tags Infos
386
+ * @name GetInfosSupplyCirculatingAlph
387
+ * @request GET:/infos/supply/circulating-alph
388
+ */
389
+ getInfosSupplyCirculatingAlph: (params?: RequestParams) => Promise<number>;
390
+ /**
391
+ * @description Get the ALPH reserved supply
392
+ *
393
+ * @tags Infos
394
+ * @name GetInfosSupplyReservedAlph
395
+ * @request GET:/infos/supply/reserved-alph
396
+ */
397
+ getInfosSupplyReservedAlph: (params?: RequestParams) => Promise<number>;
398
+ /**
399
+ * @description Get the ALPH locked supply
400
+ *
401
+ * @tags Infos
402
+ * @name GetInfosSupplyLockedAlph
403
+ * @request GET:/infos/supply/locked-alph
404
+ */
405
+ getInfosSupplyLockedAlph: (params?: RequestParams) => Promise<number>;
406
+ /**
407
+ * @description Get the total number of transactions
408
+ *
409
+ * @tags Infos
410
+ * @name GetInfosTotalTransactions
411
+ * @request GET:/infos/total-transactions
412
+ */
413
+ getInfosTotalTransactions: (params?: RequestParams) => Promise<number>;
414
+ /**
415
+ * @description Get the average block time for each chain
416
+ *
417
+ * @tags Infos
418
+ * @name GetInfosAverageBlockTimes
419
+ * @request GET:/infos/average-block-times
420
+ */
421
+ getInfosAverageBlockTimes: (params?: RequestParams) => Promise<PerChainDuration[]>;
422
+ };
423
+ charts: {
424
+ /**
425
+ * @description `interval-type` query param: hourly, daily
426
+ *
427
+ * @tags Charts
428
+ * @name GetChartsHashrates
429
+ * @summary Get hashrate chart in H/s
430
+ * @request GET:/charts/hashrates
431
+ */
432
+ getChartsHashrates: (query: {
433
+ fromTs: number;
434
+ toTs: number;
435
+ 'interval-type': string;
436
+ }, params?: RequestParams) => Promise<Hashrate[]>;
437
+ /**
438
+ * @description `interval-type` query param: hourly, daily
439
+ *
440
+ * @tags Charts
441
+ * @name GetChartsTransactionsCount
442
+ * @summary Get transaction count history
443
+ * @request GET:/charts/transactions-count
444
+ */
445
+ getChartsTransactionsCount: (query: {
446
+ fromTs: number;
447
+ toTs: number;
448
+ 'interval-type': string;
449
+ }, params?: RequestParams) => Promise<TimedCount[]>;
450
+ /**
451
+ * @description `interval-type` query param: hourly, daily
452
+ *
453
+ * @tags Charts
454
+ * @name GetChartsTransactionsCountPerChain
455
+ * @summary Get transaction count history per chain
456
+ * @request GET:/charts/transactions-count-per-chain
457
+ */
458
+ getChartsTransactionsCountPerChain: (query: {
459
+ fromTs: number;
460
+ toTs: number;
461
+ 'interval-type': string;
462
+ }, params?: RequestParams) => Promise<PerChainTimedCount[]>;
463
+ };
464
+ utils: {
465
+ /**
466
+ * @description Perform a sanity check
467
+ *
468
+ * @tags Utils
469
+ * @name PutUtilsSanityCheck
470
+ * @request PUT:/utils/sanity-check
471
+ */
472
+ putUtilsSanityCheck: (params?: RequestParams) => Promise<void>;
473
+ };
474
+ }
475
+ export {};