coreum-js 2.5.4 → 2.5.7

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 (86) hide show
  1. package/README.md +8 -7
  2. package/dist/main/client/index.js +4 -4
  3. package/dist/main/coreum/asset/nft/v1/nft.d.ts +1 -1
  4. package/dist/main/coreum/asset/nft/v1/nft.js +2 -2
  5. package/dist/main/coreum/asset/nft/v1/query.d.ts +2 -2
  6. package/dist/main/coreum/asset/nft/v1/tx.d.ts +1 -1
  7. package/dist/main/coreum/asset/nft/v1/tx.js +2 -2
  8. package/dist/main/coreum/index.d.ts +2 -2
  9. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +6 -6
  10. package/dist/main/coreum/nft/v1beta1/nft.d.ts +1 -1
  11. package/dist/main/coreum/nft/v1beta1/nft.js +2 -2
  12. package/dist/main/coreum/nft/v1beta1/query.d.ts +8 -8
  13. package/dist/main/cosmos/base/query/v1beta1/pagination.js +29 -11
  14. package/dist/main/{coreum/google → google}/api/annotations.js +1 -1
  15. package/dist/main/google/api/http.js +329 -0
  16. package/dist/main/google/protobuf/any.js +122 -0
  17. package/dist/main/types/core.d.ts +2 -0
  18. package/dist/main/types/core.js +1 -1
  19. package/dist/main/wasm/v1/authz.d.ts +570 -0
  20. package/dist/main/wasm/v1/authz.js +603 -0
  21. package/dist/main/wasm/v1/extensions/wasm.d.ts +17 -0
  22. package/dist/main/wasm/v1/extensions/wasm.js +48 -0
  23. package/dist/main/wasm/v1/genesis.d.ts +1059 -0
  24. package/dist/main/wasm/v1/genesis.js +427 -0
  25. package/dist/main/wasm/v1/ibc.d.ts +102 -0
  26. package/dist/main/wasm/v1/ibc.js +250 -0
  27. package/dist/main/wasm/v1/index.d.ts +308 -0
  28. package/dist/main/wasm/v1/index.js +87 -0
  29. package/dist/main/wasm/v1/pagination.d.ts +128 -0
  30. package/dist/main/wasm/v1/pagination.js +228 -0
  31. package/dist/main/wasm/v1/proposal.d.ts +1023 -0
  32. package/dist/main/wasm/v1/proposal.js +1638 -0
  33. package/dist/main/wasm/v1/query.d.ts +1443 -0
  34. package/dist/main/wasm/v1/query.js +1699 -0
  35. package/dist/main/wasm/v1/tx.d.ts +1167 -0
  36. package/dist/main/wasm/v1/tx.js +2088 -0
  37. package/dist/main/wasm/v1/types.d.ts +417 -0
  38. package/dist/main/wasm/v1/types.js +856 -0
  39. package/dist/module/client/index.js +4 -4
  40. package/dist/module/coreum/asset/nft/v1/nft.d.ts +1 -1
  41. package/dist/module/coreum/asset/nft/v1/nft.js +2 -2
  42. package/dist/module/coreum/asset/nft/v1/query.d.ts +2 -2
  43. package/dist/module/coreum/asset/nft/v1/tx.d.ts +1 -1
  44. package/dist/module/coreum/asset/nft/v1/tx.js +2 -2
  45. package/dist/module/coreum/index.d.ts +2 -2
  46. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +6 -6
  47. package/dist/module/coreum/nft/v1beta1/nft.d.ts +1 -1
  48. package/dist/module/coreum/nft/v1beta1/nft.js +2 -2
  49. package/dist/module/coreum/nft/v1beta1/query.d.ts +8 -8
  50. package/dist/module/cosmos/base/query/v1beta1/pagination.js +29 -11
  51. package/dist/module/{coreum/google → google}/api/annotations.js +1 -1
  52. package/dist/module/google/api/http.js +320 -0
  53. package/dist/module/google/protobuf/any.js +115 -0
  54. package/dist/module/types/core.d.ts +2 -0
  55. package/dist/module/types/core.js +1 -1
  56. package/dist/module/wasm/v1/authz.d.ts +570 -0
  57. package/dist/module/wasm/v1/authz.js +589 -0
  58. package/dist/module/wasm/v1/extensions/wasm.d.ts +17 -0
  59. package/dist/module/wasm/v1/extensions/wasm.js +44 -0
  60. package/dist/module/wasm/v1/genesis.d.ts +1059 -0
  61. package/dist/module/wasm/v1/genesis.js +417 -0
  62. package/dist/module/wasm/v1/ibc.d.ts +102 -0
  63. package/dist/module/wasm/v1/ibc.js +241 -0
  64. package/dist/module/wasm/v1/index.d.ts +308 -0
  65. package/dist/module/wasm/v1/index.js +84 -0
  66. package/dist/module/wasm/v1/pagination.d.ts +128 -0
  67. package/dist/module/wasm/v1/pagination.js +220 -0
  68. package/dist/module/wasm/v1/proposal.d.ts +1023 -0
  69. package/dist/module/wasm/v1/proposal.js +1619 -0
  70. package/dist/module/wasm/v1/query.d.ts +1443 -0
  71. package/dist/module/wasm/v1/query.js +1675 -0
  72. package/dist/module/wasm/v1/tx.d.ts +1167 -0
  73. package/dist/module/wasm/v1/tx.js +2063 -0
  74. package/dist/module/wasm/v1/types.d.ts +417 -0
  75. package/dist/module/wasm/v1/types.js +838 -0
  76. package/package.json +2 -1
  77. package/dist/main/coreum/google/api/http.js +0 -329
  78. package/dist/main/coreum/google/protobuf/any.js +0 -122
  79. package/dist/module/coreum/google/api/http.js +0 -320
  80. package/dist/module/coreum/google/protobuf/any.js +0 -115
  81. /package/dist/main/{coreum/google → google}/api/annotations.d.ts +0 -0
  82. /package/dist/main/{coreum/google → google}/api/http.d.ts +0 -0
  83. /package/dist/main/{coreum/google → google}/protobuf/any.d.ts +0 -0
  84. /package/dist/module/{coreum/google → google}/api/annotations.d.ts +0 -0
  85. /package/dist/module/{coreum/google → google}/api/http.d.ts +0 -0
  86. /package/dist/module/{coreum/google → google}/protobuf/any.d.ts +0 -0
@@ -0,0 +1,417 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Any } from "../../google/protobuf/any";
3
+ export declare const protobufPackage = "cosmwasm.wasm.v1";
4
+ /** AccessType permission types */
5
+ export declare enum AccessType {
6
+ /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */
7
+ ACCESS_TYPE_UNSPECIFIED = 0,
8
+ /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
9
+ ACCESS_TYPE_NOBODY = 1,
10
+ /**
11
+ * ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to a single address
12
+ * Deprecated: use AccessTypeAnyOfAddresses instead
13
+ */
14
+ ACCESS_TYPE_ONLY_ADDRESS = 2,
15
+ /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
16
+ ACCESS_TYPE_EVERYBODY = 3,
17
+ /** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
18
+ ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
19
+ UNRECOGNIZED = -1
20
+ }
21
+ export declare function accessTypeFromJSON(object: any): AccessType;
22
+ export declare function accessTypeToJSON(object: AccessType): string;
23
+ /** ContractCodeHistoryOperationType actions that caused a code change */
24
+ export declare enum ContractCodeHistoryOperationType {
25
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */
26
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0,
27
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */
28
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1,
29
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */
30
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2,
31
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
32
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
33
+ UNRECOGNIZED = -1
34
+ }
35
+ export declare function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType;
36
+ export declare function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string;
37
+ /** AccessTypeParam */
38
+ export interface AccessTypeParam {
39
+ value: AccessType;
40
+ }
41
+ /** AccessConfig access control type. */
42
+ export interface AccessConfig {
43
+ permission: AccessType;
44
+ /**
45
+ * Address
46
+ * Deprecated: replaced by addresses
47
+ */
48
+ address: string;
49
+ addresses: string[];
50
+ }
51
+ /** Params defines the set of wasm parameters. */
52
+ export interface Params {
53
+ codeUploadAccess: AccessConfig | undefined;
54
+ instantiateDefaultPermission: AccessType;
55
+ }
56
+ /** CodeInfo is data for the uploaded contract WASM code */
57
+ export interface CodeInfo {
58
+ /** CodeHash is the unique identifier created by wasmvm */
59
+ codeHash: Uint8Array;
60
+ /** Creator address who initially stored the code */
61
+ creator: string;
62
+ /** InstantiateConfig access control to apply on contract creation, optional */
63
+ instantiateConfig: AccessConfig | undefined;
64
+ }
65
+ /** ContractInfo stores a WASM contract instance */
66
+ export interface ContractInfo {
67
+ /** CodeID is the reference to the stored Wasm code */
68
+ codeId: number;
69
+ /** Creator address who initially instantiated the contract */
70
+ creator: string;
71
+ /** Admin is an optional address that can execute migrations */
72
+ admin: string;
73
+ /** Label is optional metadata to be stored with a contract instance. */
74
+ label: string;
75
+ /** Created Tx position when the contract was instantiated. */
76
+ created: AbsoluteTxPosition | undefined;
77
+ ibcPortId: string;
78
+ /**
79
+ * Extension is an extension point to store custom metadata within the
80
+ * persistence model.
81
+ */
82
+ extension: Any | undefined;
83
+ }
84
+ /** ContractCodeHistoryEntry metadata to a contract. */
85
+ export interface ContractCodeHistoryEntry {
86
+ operation: ContractCodeHistoryOperationType;
87
+ /** CodeID is the reference to the stored WASM code */
88
+ codeId: number;
89
+ /** Updated Tx position when the operation was executed. */
90
+ updated: AbsoluteTxPosition | undefined;
91
+ msg: Uint8Array;
92
+ }
93
+ /**
94
+ * AbsoluteTxPosition is a unique transaction position that allows for global
95
+ * ordering of transactions.
96
+ */
97
+ export interface AbsoluteTxPosition {
98
+ /** BlockHeight is the block the contract was created at */
99
+ blockHeight: number;
100
+ /**
101
+ * TxIndex is a monotonic counter within the block (actual transaction index,
102
+ * or gas consumed)
103
+ */
104
+ txIndex: number;
105
+ }
106
+ /** Model is a struct that holds a KV pair */
107
+ export interface Model {
108
+ /** hex-encode key to read it better (this is often ascii) */
109
+ key: Uint8Array;
110
+ /** base64-encode raw value */
111
+ value: Uint8Array;
112
+ }
113
+ export declare const AccessTypeParam: {
114
+ encode(message: AccessTypeParam, writer?: _m0.Writer): _m0.Writer;
115
+ decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam;
116
+ fromJSON(object: any): AccessTypeParam;
117
+ toJSON(message: AccessTypeParam): unknown;
118
+ create<I extends {
119
+ value?: AccessType;
120
+ } & {
121
+ value?: AccessType;
122
+ } & { [K in Exclude<keyof I, "value">]: never; }>(base?: I): AccessTypeParam;
123
+ fromPartial<I_1 extends {
124
+ value?: AccessType;
125
+ } & {
126
+ value?: AccessType;
127
+ } & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): AccessTypeParam;
128
+ };
129
+ export declare const AccessConfig: {
130
+ encode(message: AccessConfig, writer?: _m0.Writer): _m0.Writer;
131
+ decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig;
132
+ fromJSON(object: any): AccessConfig;
133
+ toJSON(message: AccessConfig): unknown;
134
+ create<I extends {
135
+ permission?: AccessType;
136
+ address?: string;
137
+ addresses?: string[];
138
+ } & {
139
+ permission?: AccessType;
140
+ address?: string;
141
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["addresses"], keyof string[]>]: never; };
142
+ } & { [K_1 in Exclude<keyof I, keyof AccessConfig>]: never; }>(base?: I): AccessConfig;
143
+ fromPartial<I_1 extends {
144
+ permission?: AccessType;
145
+ address?: string;
146
+ addresses?: string[];
147
+ } & {
148
+ permission?: AccessType;
149
+ address?: string;
150
+ addresses?: string[] & string[] & { [K_2 in Exclude<keyof I_1["addresses"], keyof string[]>]: never; };
151
+ } & { [K_3 in Exclude<keyof I_1, keyof AccessConfig>]: never; }>(object: I_1): AccessConfig;
152
+ };
153
+ export declare const Params: {
154
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
155
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
156
+ fromJSON(object: any): Params;
157
+ toJSON(message: Params): unknown;
158
+ create<I extends {
159
+ codeUploadAccess?: {
160
+ permission?: AccessType;
161
+ address?: string;
162
+ addresses?: string[];
163
+ };
164
+ instantiateDefaultPermission?: AccessType;
165
+ } & {
166
+ codeUploadAccess?: {
167
+ permission?: AccessType;
168
+ address?: string;
169
+ addresses?: string[];
170
+ } & {
171
+ permission?: AccessType;
172
+ address?: string;
173
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
174
+ } & { [K_1 in Exclude<keyof I["codeUploadAccess"], keyof AccessConfig>]: never; };
175
+ instantiateDefaultPermission?: AccessType;
176
+ } & { [K_2 in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
177
+ fromPartial<I_1 extends {
178
+ codeUploadAccess?: {
179
+ permission?: AccessType;
180
+ address?: string;
181
+ addresses?: string[];
182
+ };
183
+ instantiateDefaultPermission?: AccessType;
184
+ } & {
185
+ codeUploadAccess?: {
186
+ permission?: AccessType;
187
+ address?: string;
188
+ addresses?: string[];
189
+ } & {
190
+ permission?: AccessType;
191
+ address?: string;
192
+ addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
193
+ } & { [K_4 in Exclude<keyof I_1["codeUploadAccess"], keyof AccessConfig>]: never; };
194
+ instantiateDefaultPermission?: AccessType;
195
+ } & { [K_5 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
196
+ };
197
+ export declare const CodeInfo: {
198
+ encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer;
199
+ decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo;
200
+ fromJSON(object: any): CodeInfo;
201
+ toJSON(message: CodeInfo): unknown;
202
+ create<I extends {
203
+ codeHash?: Uint8Array;
204
+ creator?: string;
205
+ instantiateConfig?: {
206
+ permission?: AccessType;
207
+ address?: string;
208
+ addresses?: string[];
209
+ };
210
+ } & {
211
+ codeHash?: Uint8Array;
212
+ creator?: string;
213
+ instantiateConfig?: {
214
+ permission?: AccessType;
215
+ address?: string;
216
+ addresses?: string[];
217
+ } & {
218
+ permission?: AccessType;
219
+ address?: string;
220
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiateConfig"]["addresses"], keyof string[]>]: never; };
221
+ } & { [K_1 in Exclude<keyof I["instantiateConfig"], keyof AccessConfig>]: never; };
222
+ } & { [K_2 in Exclude<keyof I, keyof CodeInfo>]: never; }>(base?: I): CodeInfo;
223
+ fromPartial<I_1 extends {
224
+ codeHash?: Uint8Array;
225
+ creator?: string;
226
+ instantiateConfig?: {
227
+ permission?: AccessType;
228
+ address?: string;
229
+ addresses?: string[];
230
+ };
231
+ } & {
232
+ codeHash?: Uint8Array;
233
+ creator?: string;
234
+ instantiateConfig?: {
235
+ permission?: AccessType;
236
+ address?: string;
237
+ addresses?: string[];
238
+ } & {
239
+ permission?: AccessType;
240
+ address?: string;
241
+ addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiateConfig"]["addresses"], keyof string[]>]: never; };
242
+ } & { [K_4 in Exclude<keyof I_1["instantiateConfig"], keyof AccessConfig>]: never; };
243
+ } & { [K_5 in Exclude<keyof I_1, keyof CodeInfo>]: never; }>(object: I_1): CodeInfo;
244
+ };
245
+ export declare const ContractInfo: {
246
+ encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer;
247
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo;
248
+ fromJSON(object: any): ContractInfo;
249
+ toJSON(message: ContractInfo): unknown;
250
+ create<I extends {
251
+ codeId?: number;
252
+ creator?: string;
253
+ admin?: string;
254
+ label?: string;
255
+ created?: {
256
+ blockHeight?: number;
257
+ txIndex?: number;
258
+ };
259
+ ibcPortId?: string;
260
+ extension?: {
261
+ typeUrl?: string;
262
+ value?: Uint8Array;
263
+ };
264
+ } & {
265
+ codeId?: number;
266
+ creator?: string;
267
+ admin?: string;
268
+ label?: string;
269
+ created?: {
270
+ blockHeight?: number;
271
+ txIndex?: number;
272
+ } & {
273
+ blockHeight?: number;
274
+ txIndex?: number;
275
+ } & { [K in Exclude<keyof I["created"], keyof AbsoluteTxPosition>]: never; };
276
+ ibcPortId?: string;
277
+ extension?: {
278
+ typeUrl?: string;
279
+ value?: Uint8Array;
280
+ } & {
281
+ typeUrl?: string;
282
+ value?: Uint8Array;
283
+ } & { [K_1 in Exclude<keyof I["extension"], keyof Any>]: never; };
284
+ } & { [K_2 in Exclude<keyof I, keyof ContractInfo>]: never; }>(base?: I): ContractInfo;
285
+ fromPartial<I_1 extends {
286
+ codeId?: number;
287
+ creator?: string;
288
+ admin?: string;
289
+ label?: string;
290
+ created?: {
291
+ blockHeight?: number;
292
+ txIndex?: number;
293
+ };
294
+ ibcPortId?: string;
295
+ extension?: {
296
+ typeUrl?: string;
297
+ value?: Uint8Array;
298
+ };
299
+ } & {
300
+ codeId?: number;
301
+ creator?: string;
302
+ admin?: string;
303
+ label?: string;
304
+ created?: {
305
+ blockHeight?: number;
306
+ txIndex?: number;
307
+ } & {
308
+ blockHeight?: number;
309
+ txIndex?: number;
310
+ } & { [K_3 in Exclude<keyof I_1["created"], keyof AbsoluteTxPosition>]: never; };
311
+ ibcPortId?: string;
312
+ extension?: {
313
+ typeUrl?: string;
314
+ value?: Uint8Array;
315
+ } & {
316
+ typeUrl?: string;
317
+ value?: Uint8Array;
318
+ } & { [K_4 in Exclude<keyof I_1["extension"], keyof Any>]: never; };
319
+ } & { [K_5 in Exclude<keyof I_1, keyof ContractInfo>]: never; }>(object: I_1): ContractInfo;
320
+ };
321
+ export declare const ContractCodeHistoryEntry: {
322
+ encode(message: ContractCodeHistoryEntry, writer?: _m0.Writer): _m0.Writer;
323
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry;
324
+ fromJSON(object: any): ContractCodeHistoryEntry;
325
+ toJSON(message: ContractCodeHistoryEntry): unknown;
326
+ create<I extends {
327
+ operation?: ContractCodeHistoryOperationType;
328
+ codeId?: number;
329
+ updated?: {
330
+ blockHeight?: number;
331
+ txIndex?: number;
332
+ };
333
+ msg?: Uint8Array;
334
+ } & {
335
+ operation?: ContractCodeHistoryOperationType;
336
+ codeId?: number;
337
+ updated?: {
338
+ blockHeight?: number;
339
+ txIndex?: number;
340
+ } & {
341
+ blockHeight?: number;
342
+ txIndex?: number;
343
+ } & { [K in Exclude<keyof I["updated"], keyof AbsoluteTxPosition>]: never; };
344
+ msg?: Uint8Array;
345
+ } & { [K_1 in Exclude<keyof I, keyof ContractCodeHistoryEntry>]: never; }>(base?: I): ContractCodeHistoryEntry;
346
+ fromPartial<I_1 extends {
347
+ operation?: ContractCodeHistoryOperationType;
348
+ codeId?: number;
349
+ updated?: {
350
+ blockHeight?: number;
351
+ txIndex?: number;
352
+ };
353
+ msg?: Uint8Array;
354
+ } & {
355
+ operation?: ContractCodeHistoryOperationType;
356
+ codeId?: number;
357
+ updated?: {
358
+ blockHeight?: number;
359
+ txIndex?: number;
360
+ } & {
361
+ blockHeight?: number;
362
+ txIndex?: number;
363
+ } & { [K_2 in Exclude<keyof I_1["updated"], keyof AbsoluteTxPosition>]: never; };
364
+ msg?: Uint8Array;
365
+ } & { [K_3 in Exclude<keyof I_1, keyof ContractCodeHistoryEntry>]: never; }>(object: I_1): ContractCodeHistoryEntry;
366
+ };
367
+ export declare const AbsoluteTxPosition: {
368
+ encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer;
369
+ decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition;
370
+ fromJSON(object: any): AbsoluteTxPosition;
371
+ toJSON(message: AbsoluteTxPosition): unknown;
372
+ create<I extends {
373
+ blockHeight?: number;
374
+ txIndex?: number;
375
+ } & {
376
+ blockHeight?: number;
377
+ txIndex?: number;
378
+ } & { [K in Exclude<keyof I, keyof AbsoluteTxPosition>]: never; }>(base?: I): AbsoluteTxPosition;
379
+ fromPartial<I_1 extends {
380
+ blockHeight?: number;
381
+ txIndex?: number;
382
+ } & {
383
+ blockHeight?: number;
384
+ txIndex?: number;
385
+ } & { [K_1 in Exclude<keyof I_1, keyof AbsoluteTxPosition>]: never; }>(object: I_1): AbsoluteTxPosition;
386
+ };
387
+ export declare const Model: {
388
+ encode(message: Model, writer?: _m0.Writer): _m0.Writer;
389
+ decode(input: _m0.Reader | Uint8Array, length?: number): Model;
390
+ fromJSON(object: any): Model;
391
+ toJSON(message: Model): unknown;
392
+ create<I extends {
393
+ key?: Uint8Array;
394
+ value?: Uint8Array;
395
+ } & {
396
+ key?: Uint8Array;
397
+ value?: Uint8Array;
398
+ } & { [K in Exclude<keyof I, keyof Model>]: never; }>(base?: I): Model;
399
+ fromPartial<I_1 extends {
400
+ key?: Uint8Array;
401
+ value?: Uint8Array;
402
+ } & {
403
+ key?: Uint8Array;
404
+ value?: Uint8Array;
405
+ } & { [K_1 in Exclude<keyof I_1, keyof Model>]: never; }>(object: I_1): Model;
406
+ };
407
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
408
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
409
+ [K in keyof T]?: DeepPartial<T[K]>;
410
+ } : Partial<T>;
411
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
412
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
413
+ [K in keyof P]: Exact<P[K], I[K]>;
414
+ } & {
415
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
416
+ };
417
+ export {};