coreum-js 2.5.5 → 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 +1 -0
  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,1023 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Coin } from "../../cosmos/base/v1beta1/coin";
3
+ import { AccessConfig } from "./types";
4
+ export declare const protobufPackage = "cosmwasm.wasm.v1";
5
+ /**
6
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
7
+ * an explicit StoreCodeProposal. To submit WASM code to the system,
8
+ * a simple MsgStoreCode can be invoked from the x/gov module via
9
+ * a v1 governance proposal.
10
+ *
11
+ * @deprecated
12
+ */
13
+ export interface StoreCodeProposal {
14
+ /** Title is a short summary */
15
+ title: string;
16
+ /** Description is a human readable text */
17
+ description: string;
18
+ /** RunAs is the address that is passed to the contract's environment as sender */
19
+ runAs: string;
20
+ /** WASMByteCode can be raw or gzip compressed */
21
+ wasmByteCode: Uint8Array;
22
+ /** InstantiatePermission to apply on contract creation, optional */
23
+ instantiatePermission: AccessConfig | undefined;
24
+ /** UnpinCode code on upload, optional */
25
+ unpinCode: boolean;
26
+ /** Source is the URL where the code is hosted */
27
+ source: string;
28
+ /**
29
+ * Builder is the docker image used to build the code deterministically, used
30
+ * for smart contract verification
31
+ */
32
+ builder: string;
33
+ /**
34
+ * CodeHash is the SHA256 sum of the code outputted by builder, used for smart
35
+ * contract verification
36
+ */
37
+ codeHash: Uint8Array;
38
+ }
39
+ /**
40
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
41
+ * an explicit InstantiateContractProposal. To instantiate a contract,
42
+ * a simple MsgInstantiateContract can be invoked from the x/gov module via
43
+ * a v1 governance proposal.
44
+ *
45
+ * @deprecated
46
+ */
47
+ export interface InstantiateContractProposal {
48
+ /** Title is a short summary */
49
+ title: string;
50
+ /** Description is a human readable text */
51
+ description: string;
52
+ /** RunAs is the address that is passed to the contract's environment as sender */
53
+ runAs: string;
54
+ /** Admin is an optional address that can execute migrations */
55
+ admin: string;
56
+ /** CodeID is the reference to the stored WASM code */
57
+ codeId: number;
58
+ /** Label is optional metadata to be stored with a constract instance. */
59
+ label: string;
60
+ /** Msg json encoded message to be passed to the contract on instantiation */
61
+ msg: Uint8Array;
62
+ /** Funds coins that are transferred to the contract on instantiation */
63
+ funds: Coin[];
64
+ }
65
+ /**
66
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
67
+ * an explicit InstantiateContract2Proposal. To instantiate contract 2,
68
+ * a simple MsgInstantiateContract2 can be invoked from the x/gov module via
69
+ * a v1 governance proposal.
70
+ *
71
+ * @deprecated
72
+ */
73
+ export interface InstantiateContract2Proposal {
74
+ /** Title is a short summary */
75
+ title: string;
76
+ /** Description is a human readable text */
77
+ description: string;
78
+ /** RunAs is the address that is passed to the contract's enviroment as sender */
79
+ runAs: string;
80
+ /** Admin is an optional address that can execute migrations */
81
+ admin: string;
82
+ /** CodeID is the reference to the stored WASM code */
83
+ codeId: number;
84
+ /** Label is optional metadata to be stored with a constract instance. */
85
+ label: string;
86
+ /** Msg json encode message to be passed to the contract on instantiation */
87
+ msg: Uint8Array;
88
+ /** Funds coins that are transferred to the contract on instantiation */
89
+ funds: Coin[];
90
+ /** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */
91
+ salt: Uint8Array;
92
+ /**
93
+ * FixMsg include the msg value into the hash for the predictable address.
94
+ * Default is false
95
+ */
96
+ fixMsg: boolean;
97
+ }
98
+ /**
99
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
100
+ * an explicit MigrateContractProposal. To migrate a contract,
101
+ * a simple MsgMigrateContract can be invoked from the x/gov module via
102
+ * a v1 governance proposal.
103
+ *
104
+ * @deprecated
105
+ */
106
+ export interface MigrateContractProposal {
107
+ /** Title is a short summary */
108
+ title: string;
109
+ /** Description is a human readable text */
110
+ description: string;
111
+ /** Contract is the address of the smart contract */
112
+ contract: string;
113
+ /** CodeID references the new WASM code */
114
+ codeId: number;
115
+ /** Msg json encoded message to be passed to the contract on migration */
116
+ msg: Uint8Array;
117
+ }
118
+ /**
119
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
120
+ * an explicit SudoContractProposal. To call sudo on a contract,
121
+ * a simple MsgSudoContract can be invoked from the x/gov module via
122
+ * a v1 governance proposal.
123
+ *
124
+ * @deprecated
125
+ */
126
+ export interface SudoContractProposal {
127
+ /** Title is a short summary */
128
+ title: string;
129
+ /** Description is a human readable text */
130
+ description: string;
131
+ /** Contract is the address of the smart contract */
132
+ contract: string;
133
+ /** Msg json encoded message to be passed to the contract as sudo */
134
+ msg: Uint8Array;
135
+ }
136
+ /**
137
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
138
+ * an explicit ExecuteContractProposal. To call execute on a contract,
139
+ * a simple MsgExecuteContract can be invoked from the x/gov module via
140
+ * a v1 governance proposal.
141
+ *
142
+ * @deprecated
143
+ */
144
+ export interface ExecuteContractProposal {
145
+ /** Title is a short summary */
146
+ title: string;
147
+ /** Description is a human readable text */
148
+ description: string;
149
+ /** RunAs is the address that is passed to the contract's environment as sender */
150
+ runAs: string;
151
+ /** Contract is the address of the smart contract */
152
+ contract: string;
153
+ /** Msg json encoded message to be passed to the contract as execute */
154
+ msg: Uint8Array;
155
+ /** Funds coins that are transferred to the contract on instantiation */
156
+ funds: Coin[];
157
+ }
158
+ /**
159
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
160
+ * an explicit UpdateAdminProposal. To set an admin for a contract,
161
+ * a simple MsgUpdateAdmin can be invoked from the x/gov module via
162
+ * a v1 governance proposal.
163
+ *
164
+ * @deprecated
165
+ */
166
+ export interface UpdateAdminProposal {
167
+ /** Title is a short summary */
168
+ title: string;
169
+ /** Description is a human readable text */
170
+ description: string;
171
+ /** NewAdmin address to be set */
172
+ newAdmin: string;
173
+ /** Contract is the address of the smart contract */
174
+ contract: string;
175
+ }
176
+ /**
177
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
178
+ * an explicit ClearAdminProposal. To clear the admin of a contract,
179
+ * a simple MsgClearAdmin can be invoked from the x/gov module via
180
+ * a v1 governance proposal.
181
+ *
182
+ * @deprecated
183
+ */
184
+ export interface ClearAdminProposal {
185
+ /** Title is a short summary */
186
+ title: string;
187
+ /** Description is a human readable text */
188
+ description: string;
189
+ /** Contract is the address of the smart contract */
190
+ contract: string;
191
+ }
192
+ /**
193
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
194
+ * an explicit PinCodesProposal. To pin a set of code ids in the wasmvm
195
+ * cache, a simple MsgPinCodes can be invoked from the x/gov module via
196
+ * a v1 governance proposal.
197
+ *
198
+ * @deprecated
199
+ */
200
+ export interface PinCodesProposal {
201
+ /** Title is a short summary */
202
+ title: string;
203
+ /** Description is a human readable text */
204
+ description: string;
205
+ /** CodeIDs references the new WASM codes */
206
+ codeIds: number[];
207
+ }
208
+ /**
209
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
210
+ * an explicit UnpinCodesProposal. To unpin a set of code ids in the wasmvm
211
+ * cache, a simple MsgUnpinCodes can be invoked from the x/gov module via
212
+ * a v1 governance proposal.
213
+ *
214
+ * @deprecated
215
+ */
216
+ export interface UnpinCodesProposal {
217
+ /** Title is a short summary */
218
+ title: string;
219
+ /** Description is a human readable text */
220
+ description: string;
221
+ /** CodeIDs references the WASM codes */
222
+ codeIds: number[];
223
+ }
224
+ /**
225
+ * AccessConfigUpdate contains the code id and the access config to be
226
+ * applied.
227
+ */
228
+ export interface AccessConfigUpdate {
229
+ /** CodeID is the reference to the stored WASM code to be updated */
230
+ codeId: number;
231
+ /** InstantiatePermission to apply to the set of code ids */
232
+ instantiatePermission: AccessConfig | undefined;
233
+ }
234
+ /**
235
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
236
+ * an explicit UpdateInstantiateConfigProposal. To update instantiate config
237
+ * to a set of code ids, a simple MsgUpdateInstantiateConfig can be invoked from
238
+ * the x/gov module via a v1 governance proposal.
239
+ *
240
+ * @deprecated
241
+ */
242
+ export interface UpdateInstantiateConfigProposal {
243
+ /** Title is a short summary */
244
+ title: string;
245
+ /** Description is a human readable text */
246
+ description: string;
247
+ /**
248
+ * AccessConfigUpdate contains the list of code ids and the access config
249
+ * to be applied.
250
+ */
251
+ accessConfigUpdates: AccessConfigUpdate[];
252
+ }
253
+ /**
254
+ * Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for
255
+ * an explicit StoreAndInstantiateContractProposal. To store and instantiate
256
+ * the contract, a simple MsgStoreAndInstantiateContract can be invoked from
257
+ * the x/gov module via a v1 governance proposal.
258
+ *
259
+ * @deprecated
260
+ */
261
+ export interface StoreAndInstantiateContractProposal {
262
+ /** Title is a short summary */
263
+ title: string;
264
+ /** Description is a human readable text */
265
+ description: string;
266
+ /** RunAs is the address that is passed to the contract's environment as sender */
267
+ runAs: string;
268
+ /** WASMByteCode can be raw or gzip compressed */
269
+ wasmByteCode: Uint8Array;
270
+ /** InstantiatePermission to apply on contract creation, optional */
271
+ instantiatePermission: AccessConfig | undefined;
272
+ /** UnpinCode code on upload, optional */
273
+ unpinCode: boolean;
274
+ /** Admin is an optional address that can execute migrations */
275
+ admin: string;
276
+ /** Label is optional metadata to be stored with a constract instance. */
277
+ label: string;
278
+ /** Msg json encoded message to be passed to the contract on instantiation */
279
+ msg: Uint8Array;
280
+ /** Funds coins that are transferred to the contract on instantiation */
281
+ funds: Coin[];
282
+ /** Source is the URL where the code is hosted */
283
+ source: string;
284
+ /**
285
+ * Builder is the docker image used to build the code deterministically, used
286
+ * for smart contract verification
287
+ */
288
+ builder: string;
289
+ /**
290
+ * CodeHash is the SHA256 sum of the code outputted by builder, used for smart
291
+ * contract verification
292
+ */
293
+ codeHash: Uint8Array;
294
+ }
295
+ export declare const StoreCodeProposal: {
296
+ encode(message: StoreCodeProposal, writer?: _m0.Writer): _m0.Writer;
297
+ decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal;
298
+ fromJSON(object: any): StoreCodeProposal;
299
+ toJSON(message: StoreCodeProposal): unknown;
300
+ create<I extends {
301
+ title?: string;
302
+ description?: string;
303
+ runAs?: string;
304
+ wasmByteCode?: Uint8Array;
305
+ instantiatePermission?: {
306
+ permission?: import("./types").AccessType;
307
+ address?: string;
308
+ addresses?: string[];
309
+ };
310
+ unpinCode?: boolean;
311
+ source?: string;
312
+ builder?: string;
313
+ codeHash?: Uint8Array;
314
+ } & {
315
+ title?: string;
316
+ description?: string;
317
+ runAs?: string;
318
+ wasmByteCode?: Uint8Array;
319
+ instantiatePermission?: {
320
+ permission?: import("./types").AccessType;
321
+ address?: string;
322
+ addresses?: string[];
323
+ } & {
324
+ permission?: import("./types").AccessType;
325
+ address?: string;
326
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
327
+ } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
328
+ unpinCode?: boolean;
329
+ source?: string;
330
+ builder?: string;
331
+ codeHash?: Uint8Array;
332
+ } & { [K_2 in Exclude<keyof I, keyof StoreCodeProposal>]: never; }>(base?: I): StoreCodeProposal;
333
+ fromPartial<I_1 extends {
334
+ title?: string;
335
+ description?: string;
336
+ runAs?: string;
337
+ wasmByteCode?: Uint8Array;
338
+ instantiatePermission?: {
339
+ permission?: import("./types").AccessType;
340
+ address?: string;
341
+ addresses?: string[];
342
+ };
343
+ unpinCode?: boolean;
344
+ source?: string;
345
+ builder?: string;
346
+ codeHash?: Uint8Array;
347
+ } & {
348
+ title?: string;
349
+ description?: string;
350
+ runAs?: string;
351
+ wasmByteCode?: Uint8Array;
352
+ instantiatePermission?: {
353
+ permission?: import("./types").AccessType;
354
+ address?: string;
355
+ addresses?: string[];
356
+ } & {
357
+ permission?: import("./types").AccessType;
358
+ address?: string;
359
+ addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
360
+ } & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
361
+ unpinCode?: boolean;
362
+ source?: string;
363
+ builder?: string;
364
+ codeHash?: Uint8Array;
365
+ } & { [K_5 in Exclude<keyof I_1, keyof StoreCodeProposal>]: never; }>(object: I_1): StoreCodeProposal;
366
+ };
367
+ export declare const InstantiateContractProposal: {
368
+ encode(message: InstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
369
+ decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal;
370
+ fromJSON(object: any): InstantiateContractProposal;
371
+ toJSON(message: InstantiateContractProposal): unknown;
372
+ create<I extends {
373
+ title?: string;
374
+ description?: string;
375
+ runAs?: string;
376
+ admin?: string;
377
+ codeId?: number;
378
+ label?: string;
379
+ msg?: Uint8Array;
380
+ funds?: {
381
+ denom?: string;
382
+ amount?: string;
383
+ }[];
384
+ } & {
385
+ title?: string;
386
+ description?: string;
387
+ runAs?: string;
388
+ admin?: string;
389
+ codeId?: number;
390
+ label?: string;
391
+ msg?: Uint8Array;
392
+ funds?: {
393
+ denom?: string;
394
+ amount?: string;
395
+ }[] & ({
396
+ denom?: string;
397
+ amount?: string;
398
+ } & {
399
+ denom?: string;
400
+ amount?: string;
401
+ } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
402
+ denom?: string;
403
+ amount?: string;
404
+ }[]>]: never; };
405
+ } & { [K_2 in Exclude<keyof I, keyof InstantiateContractProposal>]: never; }>(base?: I): InstantiateContractProposal;
406
+ fromPartial<I_1 extends {
407
+ title?: string;
408
+ description?: string;
409
+ runAs?: string;
410
+ admin?: string;
411
+ codeId?: number;
412
+ label?: string;
413
+ msg?: Uint8Array;
414
+ funds?: {
415
+ denom?: string;
416
+ amount?: string;
417
+ }[];
418
+ } & {
419
+ title?: string;
420
+ description?: string;
421
+ runAs?: string;
422
+ admin?: string;
423
+ codeId?: number;
424
+ label?: string;
425
+ msg?: Uint8Array;
426
+ funds?: {
427
+ denom?: string;
428
+ amount?: string;
429
+ }[] & ({
430
+ denom?: string;
431
+ amount?: string;
432
+ } & {
433
+ denom?: string;
434
+ amount?: string;
435
+ } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
436
+ denom?: string;
437
+ amount?: string;
438
+ }[]>]: never; };
439
+ } & { [K_5 in Exclude<keyof I_1, keyof InstantiateContractProposal>]: never; }>(object: I_1): InstantiateContractProposal;
440
+ };
441
+ export declare const InstantiateContract2Proposal: {
442
+ encode(message: InstantiateContract2Proposal, writer?: _m0.Writer): _m0.Writer;
443
+ decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContract2Proposal;
444
+ fromJSON(object: any): InstantiateContract2Proposal;
445
+ toJSON(message: InstantiateContract2Proposal): unknown;
446
+ create<I extends {
447
+ title?: string;
448
+ description?: string;
449
+ runAs?: string;
450
+ admin?: string;
451
+ codeId?: number;
452
+ label?: string;
453
+ msg?: Uint8Array;
454
+ funds?: {
455
+ denom?: string;
456
+ amount?: string;
457
+ }[];
458
+ salt?: Uint8Array;
459
+ fixMsg?: boolean;
460
+ } & {
461
+ title?: string;
462
+ description?: string;
463
+ runAs?: string;
464
+ admin?: string;
465
+ codeId?: number;
466
+ label?: string;
467
+ msg?: Uint8Array;
468
+ funds?: {
469
+ denom?: string;
470
+ amount?: string;
471
+ }[] & ({
472
+ denom?: string;
473
+ amount?: string;
474
+ } & {
475
+ denom?: string;
476
+ amount?: string;
477
+ } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
478
+ denom?: string;
479
+ amount?: string;
480
+ }[]>]: never; };
481
+ salt?: Uint8Array;
482
+ fixMsg?: boolean;
483
+ } & { [K_2 in Exclude<keyof I, keyof InstantiateContract2Proposal>]: never; }>(base?: I): InstantiateContract2Proposal;
484
+ fromPartial<I_1 extends {
485
+ title?: string;
486
+ description?: string;
487
+ runAs?: string;
488
+ admin?: string;
489
+ codeId?: number;
490
+ label?: string;
491
+ msg?: Uint8Array;
492
+ funds?: {
493
+ denom?: string;
494
+ amount?: string;
495
+ }[];
496
+ salt?: Uint8Array;
497
+ fixMsg?: boolean;
498
+ } & {
499
+ title?: string;
500
+ description?: string;
501
+ runAs?: string;
502
+ admin?: string;
503
+ codeId?: number;
504
+ label?: string;
505
+ msg?: Uint8Array;
506
+ funds?: {
507
+ denom?: string;
508
+ amount?: string;
509
+ }[] & ({
510
+ denom?: string;
511
+ amount?: string;
512
+ } & {
513
+ denom?: string;
514
+ amount?: string;
515
+ } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
516
+ denom?: string;
517
+ amount?: string;
518
+ }[]>]: never; };
519
+ salt?: Uint8Array;
520
+ fixMsg?: boolean;
521
+ } & { [K_5 in Exclude<keyof I_1, keyof InstantiateContract2Proposal>]: never; }>(object: I_1): InstantiateContract2Proposal;
522
+ };
523
+ export declare const MigrateContractProposal: {
524
+ encode(message: MigrateContractProposal, writer?: _m0.Writer): _m0.Writer;
525
+ decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal;
526
+ fromJSON(object: any): MigrateContractProposal;
527
+ toJSON(message: MigrateContractProposal): unknown;
528
+ create<I extends {
529
+ title?: string;
530
+ description?: string;
531
+ contract?: string;
532
+ codeId?: number;
533
+ msg?: Uint8Array;
534
+ } & {
535
+ title?: string;
536
+ description?: string;
537
+ contract?: string;
538
+ codeId?: number;
539
+ msg?: Uint8Array;
540
+ } & { [K in Exclude<keyof I, keyof MigrateContractProposal>]: never; }>(base?: I): MigrateContractProposal;
541
+ fromPartial<I_1 extends {
542
+ title?: string;
543
+ description?: string;
544
+ contract?: string;
545
+ codeId?: number;
546
+ msg?: Uint8Array;
547
+ } & {
548
+ title?: string;
549
+ description?: string;
550
+ contract?: string;
551
+ codeId?: number;
552
+ msg?: Uint8Array;
553
+ } & { [K_1 in Exclude<keyof I_1, keyof MigrateContractProposal>]: never; }>(object: I_1): MigrateContractProposal;
554
+ };
555
+ export declare const SudoContractProposal: {
556
+ encode(message: SudoContractProposal, writer?: _m0.Writer): _m0.Writer;
557
+ decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal;
558
+ fromJSON(object: any): SudoContractProposal;
559
+ toJSON(message: SudoContractProposal): unknown;
560
+ create<I extends {
561
+ title?: string;
562
+ description?: string;
563
+ contract?: string;
564
+ msg?: Uint8Array;
565
+ } & {
566
+ title?: string;
567
+ description?: string;
568
+ contract?: string;
569
+ msg?: Uint8Array;
570
+ } & { [K in Exclude<keyof I, keyof SudoContractProposal>]: never; }>(base?: I): SudoContractProposal;
571
+ fromPartial<I_1 extends {
572
+ title?: string;
573
+ description?: string;
574
+ contract?: string;
575
+ msg?: Uint8Array;
576
+ } & {
577
+ title?: string;
578
+ description?: string;
579
+ contract?: string;
580
+ msg?: Uint8Array;
581
+ } & { [K_1 in Exclude<keyof I_1, keyof SudoContractProposal>]: never; }>(object: I_1): SudoContractProposal;
582
+ };
583
+ export declare const ExecuteContractProposal: {
584
+ encode(message: ExecuteContractProposal, writer?: _m0.Writer): _m0.Writer;
585
+ decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal;
586
+ fromJSON(object: any): ExecuteContractProposal;
587
+ toJSON(message: ExecuteContractProposal): unknown;
588
+ create<I extends {
589
+ title?: string;
590
+ description?: string;
591
+ runAs?: string;
592
+ contract?: string;
593
+ msg?: Uint8Array;
594
+ funds?: {
595
+ denom?: string;
596
+ amount?: string;
597
+ }[];
598
+ } & {
599
+ title?: string;
600
+ description?: string;
601
+ runAs?: string;
602
+ contract?: string;
603
+ msg?: Uint8Array;
604
+ funds?: {
605
+ denom?: string;
606
+ amount?: string;
607
+ }[] & ({
608
+ denom?: string;
609
+ amount?: string;
610
+ } & {
611
+ denom?: string;
612
+ amount?: string;
613
+ } & { [K in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["funds"], keyof {
614
+ denom?: string;
615
+ amount?: string;
616
+ }[]>]: never; };
617
+ } & { [K_2 in Exclude<keyof I, keyof ExecuteContractProposal>]: never; }>(base?: I): ExecuteContractProposal;
618
+ fromPartial<I_1 extends {
619
+ title?: string;
620
+ description?: string;
621
+ runAs?: string;
622
+ contract?: string;
623
+ msg?: Uint8Array;
624
+ funds?: {
625
+ denom?: string;
626
+ amount?: string;
627
+ }[];
628
+ } & {
629
+ title?: string;
630
+ description?: string;
631
+ runAs?: string;
632
+ contract?: string;
633
+ msg?: Uint8Array;
634
+ funds?: {
635
+ denom?: string;
636
+ amount?: string;
637
+ }[] & ({
638
+ denom?: string;
639
+ amount?: string;
640
+ } & {
641
+ denom?: string;
642
+ amount?: string;
643
+ } & { [K_3 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["funds"], keyof {
644
+ denom?: string;
645
+ amount?: string;
646
+ }[]>]: never; };
647
+ } & { [K_5 in Exclude<keyof I_1, keyof ExecuteContractProposal>]: never; }>(object: I_1): ExecuteContractProposal;
648
+ };
649
+ export declare const UpdateAdminProposal: {
650
+ encode(message: UpdateAdminProposal, writer?: _m0.Writer): _m0.Writer;
651
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal;
652
+ fromJSON(object: any): UpdateAdminProposal;
653
+ toJSON(message: UpdateAdminProposal): unknown;
654
+ create<I extends {
655
+ title?: string;
656
+ description?: string;
657
+ newAdmin?: string;
658
+ contract?: string;
659
+ } & {
660
+ title?: string;
661
+ description?: string;
662
+ newAdmin?: string;
663
+ contract?: string;
664
+ } & { [K in Exclude<keyof I, keyof UpdateAdminProposal>]: never; }>(base?: I): UpdateAdminProposal;
665
+ fromPartial<I_1 extends {
666
+ title?: string;
667
+ description?: string;
668
+ newAdmin?: string;
669
+ contract?: string;
670
+ } & {
671
+ title?: string;
672
+ description?: string;
673
+ newAdmin?: string;
674
+ contract?: string;
675
+ } & { [K_1 in Exclude<keyof I_1, keyof UpdateAdminProposal>]: never; }>(object: I_1): UpdateAdminProposal;
676
+ };
677
+ export declare const ClearAdminProposal: {
678
+ encode(message: ClearAdminProposal, writer?: _m0.Writer): _m0.Writer;
679
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal;
680
+ fromJSON(object: any): ClearAdminProposal;
681
+ toJSON(message: ClearAdminProposal): unknown;
682
+ create<I extends {
683
+ title?: string;
684
+ description?: string;
685
+ contract?: string;
686
+ } & {
687
+ title?: string;
688
+ description?: string;
689
+ contract?: string;
690
+ } & { [K in Exclude<keyof I, keyof ClearAdminProposal>]: never; }>(base?: I): ClearAdminProposal;
691
+ fromPartial<I_1 extends {
692
+ title?: string;
693
+ description?: string;
694
+ contract?: string;
695
+ } & {
696
+ title?: string;
697
+ description?: string;
698
+ contract?: string;
699
+ } & { [K_1 in Exclude<keyof I_1, keyof ClearAdminProposal>]: never; }>(object: I_1): ClearAdminProposal;
700
+ };
701
+ export declare const PinCodesProposal: {
702
+ encode(message: PinCodesProposal, writer?: _m0.Writer): _m0.Writer;
703
+ decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal;
704
+ fromJSON(object: any): PinCodesProposal;
705
+ toJSON(message: PinCodesProposal): unknown;
706
+ create<I extends {
707
+ title?: string;
708
+ description?: string;
709
+ codeIds?: number[];
710
+ } & {
711
+ title?: string;
712
+ description?: string;
713
+ codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
714
+ } & { [K_1 in Exclude<keyof I, keyof PinCodesProposal>]: never; }>(base?: I): PinCodesProposal;
715
+ fromPartial<I_1 extends {
716
+ title?: string;
717
+ description?: string;
718
+ codeIds?: number[];
719
+ } & {
720
+ title?: string;
721
+ description?: string;
722
+ codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
723
+ } & { [K_3 in Exclude<keyof I_1, keyof PinCodesProposal>]: never; }>(object: I_1): PinCodesProposal;
724
+ };
725
+ export declare const UnpinCodesProposal: {
726
+ encode(message: UnpinCodesProposal, writer?: _m0.Writer): _m0.Writer;
727
+ decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal;
728
+ fromJSON(object: any): UnpinCodesProposal;
729
+ toJSON(message: UnpinCodesProposal): unknown;
730
+ create<I extends {
731
+ title?: string;
732
+ description?: string;
733
+ codeIds?: number[];
734
+ } & {
735
+ title?: string;
736
+ description?: string;
737
+ codeIds?: number[] & number[] & { [K in Exclude<keyof I["codeIds"], keyof number[]>]: never; };
738
+ } & { [K_1 in Exclude<keyof I, keyof UnpinCodesProposal>]: never; }>(base?: I): UnpinCodesProposal;
739
+ fromPartial<I_1 extends {
740
+ title?: string;
741
+ description?: string;
742
+ codeIds?: number[];
743
+ } & {
744
+ title?: string;
745
+ description?: string;
746
+ codeIds?: number[] & number[] & { [K_2 in Exclude<keyof I_1["codeIds"], keyof number[]>]: never; };
747
+ } & { [K_3 in Exclude<keyof I_1, keyof UnpinCodesProposal>]: never; }>(object: I_1): UnpinCodesProposal;
748
+ };
749
+ export declare const AccessConfigUpdate: {
750
+ encode(message: AccessConfigUpdate, writer?: _m0.Writer): _m0.Writer;
751
+ decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate;
752
+ fromJSON(object: any): AccessConfigUpdate;
753
+ toJSON(message: AccessConfigUpdate): unknown;
754
+ create<I extends {
755
+ codeId?: number;
756
+ instantiatePermission?: {
757
+ permission?: import("./types").AccessType;
758
+ address?: string;
759
+ addresses?: string[];
760
+ };
761
+ } & {
762
+ codeId?: number;
763
+ instantiatePermission?: {
764
+ permission?: import("./types").AccessType;
765
+ address?: string;
766
+ addresses?: string[];
767
+ } & {
768
+ permission?: import("./types").AccessType;
769
+ address?: string;
770
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
771
+ } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
772
+ } & { [K_2 in Exclude<keyof I, keyof AccessConfigUpdate>]: never; }>(base?: I): AccessConfigUpdate;
773
+ fromPartial<I_1 extends {
774
+ codeId?: number;
775
+ instantiatePermission?: {
776
+ permission?: import("./types").AccessType;
777
+ address?: string;
778
+ addresses?: string[];
779
+ };
780
+ } & {
781
+ codeId?: number;
782
+ instantiatePermission?: {
783
+ permission?: import("./types").AccessType;
784
+ address?: string;
785
+ addresses?: string[];
786
+ } & {
787
+ permission?: import("./types").AccessType;
788
+ address?: string;
789
+ addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
790
+ } & { [K_4 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
791
+ } & { [K_5 in Exclude<keyof I_1, keyof AccessConfigUpdate>]: never; }>(object: I_1): AccessConfigUpdate;
792
+ };
793
+ export declare const UpdateInstantiateConfigProposal: {
794
+ encode(message: UpdateInstantiateConfigProposal, writer?: _m0.Writer): _m0.Writer;
795
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal;
796
+ fromJSON(object: any): UpdateInstantiateConfigProposal;
797
+ toJSON(message: UpdateInstantiateConfigProposal): unknown;
798
+ create<I extends {
799
+ title?: string;
800
+ description?: string;
801
+ accessConfigUpdates?: {
802
+ codeId?: number;
803
+ instantiatePermission?: {
804
+ permission?: import("./types").AccessType;
805
+ address?: string;
806
+ addresses?: string[];
807
+ };
808
+ }[];
809
+ } & {
810
+ title?: string;
811
+ description?: string;
812
+ accessConfigUpdates?: {
813
+ codeId?: number;
814
+ instantiatePermission?: {
815
+ permission?: import("./types").AccessType;
816
+ address?: string;
817
+ addresses?: string[];
818
+ };
819
+ }[] & ({
820
+ codeId?: number;
821
+ instantiatePermission?: {
822
+ permission?: import("./types").AccessType;
823
+ address?: string;
824
+ addresses?: string[];
825
+ };
826
+ } & {
827
+ codeId?: number;
828
+ instantiatePermission?: {
829
+ permission?: import("./types").AccessType;
830
+ address?: string;
831
+ addresses?: string[];
832
+ } & {
833
+ permission?: import("./types").AccessType;
834
+ address?: string;
835
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["accessConfigUpdates"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
836
+ } & { [K_1 in Exclude<keyof I["accessConfigUpdates"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
837
+ } & { [K_2 in Exclude<keyof I["accessConfigUpdates"][number], keyof AccessConfigUpdate>]: never; })[] & { [K_3 in Exclude<keyof I["accessConfigUpdates"], keyof {
838
+ codeId?: number;
839
+ instantiatePermission?: {
840
+ permission?: import("./types").AccessType;
841
+ address?: string;
842
+ addresses?: string[];
843
+ };
844
+ }[]>]: never; };
845
+ } & { [K_4 in Exclude<keyof I, keyof UpdateInstantiateConfigProposal>]: never; }>(base?: I): UpdateInstantiateConfigProposal;
846
+ fromPartial<I_1 extends {
847
+ title?: string;
848
+ description?: string;
849
+ accessConfigUpdates?: {
850
+ codeId?: number;
851
+ instantiatePermission?: {
852
+ permission?: import("./types").AccessType;
853
+ address?: string;
854
+ addresses?: string[];
855
+ };
856
+ }[];
857
+ } & {
858
+ title?: string;
859
+ description?: string;
860
+ accessConfigUpdates?: {
861
+ codeId?: number;
862
+ instantiatePermission?: {
863
+ permission?: import("./types").AccessType;
864
+ address?: string;
865
+ addresses?: string[];
866
+ };
867
+ }[] & ({
868
+ codeId?: number;
869
+ instantiatePermission?: {
870
+ permission?: import("./types").AccessType;
871
+ address?: string;
872
+ addresses?: string[];
873
+ };
874
+ } & {
875
+ codeId?: number;
876
+ instantiatePermission?: {
877
+ permission?: import("./types").AccessType;
878
+ address?: string;
879
+ addresses?: string[];
880
+ } & {
881
+ permission?: import("./types").AccessType;
882
+ address?: string;
883
+ addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["accessConfigUpdates"][number]["instantiatePermission"]["addresses"], keyof string[]>]: never; };
884
+ } & { [K_6 in Exclude<keyof I_1["accessConfigUpdates"][number]["instantiatePermission"], keyof AccessConfig>]: never; };
885
+ } & { [K_7 in Exclude<keyof I_1["accessConfigUpdates"][number], keyof AccessConfigUpdate>]: never; })[] & { [K_8 in Exclude<keyof I_1["accessConfigUpdates"], keyof {
886
+ codeId?: number;
887
+ instantiatePermission?: {
888
+ permission?: import("./types").AccessType;
889
+ address?: string;
890
+ addresses?: string[];
891
+ };
892
+ }[]>]: never; };
893
+ } & { [K_9 in Exclude<keyof I_1, keyof UpdateInstantiateConfigProposal>]: never; }>(object: I_1): UpdateInstantiateConfigProposal;
894
+ };
895
+ export declare const StoreAndInstantiateContractProposal: {
896
+ encode(message: StoreAndInstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
897
+ decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal;
898
+ fromJSON(object: any): StoreAndInstantiateContractProposal;
899
+ toJSON(message: StoreAndInstantiateContractProposal): unknown;
900
+ create<I extends {
901
+ title?: string;
902
+ description?: string;
903
+ runAs?: string;
904
+ wasmByteCode?: Uint8Array;
905
+ instantiatePermission?: {
906
+ permission?: import("./types").AccessType;
907
+ address?: string;
908
+ addresses?: string[];
909
+ };
910
+ unpinCode?: boolean;
911
+ admin?: string;
912
+ label?: string;
913
+ msg?: Uint8Array;
914
+ funds?: {
915
+ denom?: string;
916
+ amount?: string;
917
+ }[];
918
+ source?: string;
919
+ builder?: string;
920
+ codeHash?: Uint8Array;
921
+ } & {
922
+ title?: string;
923
+ description?: string;
924
+ runAs?: string;
925
+ wasmByteCode?: Uint8Array;
926
+ instantiatePermission?: {
927
+ permission?: import("./types").AccessType;
928
+ address?: string;
929
+ addresses?: string[];
930
+ } & {
931
+ permission?: import("./types").AccessType;
932
+ address?: string;
933
+ addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiatePermission"]["addresses"], keyof string[]>]: never; };
934
+ } & { [K_1 in Exclude<keyof I["instantiatePermission"], keyof AccessConfig>]: never; };
935
+ unpinCode?: boolean;
936
+ admin?: string;
937
+ label?: string;
938
+ msg?: Uint8Array;
939
+ funds?: {
940
+ denom?: string;
941
+ amount?: string;
942
+ }[] & ({
943
+ denom?: string;
944
+ amount?: string;
945
+ } & {
946
+ denom?: string;
947
+ amount?: string;
948
+ } & { [K_2 in Exclude<keyof I["funds"][number], keyof Coin>]: never; })[] & { [K_3 in Exclude<keyof I["funds"], keyof {
949
+ denom?: string;
950
+ amount?: string;
951
+ }[]>]: never; };
952
+ source?: string;
953
+ builder?: string;
954
+ codeHash?: Uint8Array;
955
+ } & { [K_4 in Exclude<keyof I, keyof StoreAndInstantiateContractProposal>]: never; }>(base?: I): StoreAndInstantiateContractProposal;
956
+ fromPartial<I_1 extends {
957
+ title?: string;
958
+ description?: string;
959
+ runAs?: string;
960
+ wasmByteCode?: Uint8Array;
961
+ instantiatePermission?: {
962
+ permission?: import("./types").AccessType;
963
+ address?: string;
964
+ addresses?: string[];
965
+ };
966
+ unpinCode?: boolean;
967
+ admin?: string;
968
+ label?: string;
969
+ msg?: Uint8Array;
970
+ funds?: {
971
+ denom?: string;
972
+ amount?: string;
973
+ }[];
974
+ source?: string;
975
+ builder?: string;
976
+ codeHash?: Uint8Array;
977
+ } & {
978
+ title?: string;
979
+ description?: string;
980
+ runAs?: string;
981
+ wasmByteCode?: Uint8Array;
982
+ instantiatePermission?: {
983
+ permission?: import("./types").AccessType;
984
+ address?: string;
985
+ addresses?: string[];
986
+ } & {
987
+ permission?: import("./types").AccessType;
988
+ address?: string;
989
+ addresses?: string[] & string[] & { [K_5 in Exclude<keyof I_1["instantiatePermission"]["addresses"], keyof string[]>]: never; };
990
+ } & { [K_6 in Exclude<keyof I_1["instantiatePermission"], keyof AccessConfig>]: never; };
991
+ unpinCode?: boolean;
992
+ admin?: string;
993
+ label?: string;
994
+ msg?: Uint8Array;
995
+ funds?: {
996
+ denom?: string;
997
+ amount?: string;
998
+ }[] & ({
999
+ denom?: string;
1000
+ amount?: string;
1001
+ } & {
1002
+ denom?: string;
1003
+ amount?: string;
1004
+ } & { [K_7 in Exclude<keyof I_1["funds"][number], keyof Coin>]: never; })[] & { [K_8 in Exclude<keyof I_1["funds"], keyof {
1005
+ denom?: string;
1006
+ amount?: string;
1007
+ }[]>]: never; };
1008
+ source?: string;
1009
+ builder?: string;
1010
+ codeHash?: Uint8Array;
1011
+ } & { [K_9 in Exclude<keyof I_1, keyof StoreAndInstantiateContractProposal>]: never; }>(object: I_1): StoreAndInstantiateContractProposal;
1012
+ };
1013
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1014
+ 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 {} ? {
1015
+ [K in keyof T]?: DeepPartial<T[K]>;
1016
+ } : Partial<T>;
1017
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
1018
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1019
+ [K in keyof P]: Exact<P[K], I[K]>;
1020
+ } & {
1021
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1022
+ };
1023
+ export {};