dash-platform-sdk 1.3.0-dev.4 → 1.3.0-dev.6

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 (138) hide show
  1. package/bundle.min.js +21 -2
  2. package/index.js +2 -5
  3. package/package.json +30 -31
  4. package/proto/generated/google/protobuf/wrappers.d.ts +260 -29
  5. package/proto/generated/google/protobuf/wrappers.js +562 -345
  6. package/proto/generated/platform.client.d.ts +251 -0
  7. package/proto/generated/platform.client.js +175 -0
  8. package/proto/generated/platform.d.ts +3682 -1939
  9. package/proto/generated/platform.js +8119 -18366
  10. package/src/DashPlatformSDK.d.ts +5 -4
  11. package/src/DashPlatformSDK.js +56 -46
  12. package/src/constants.js +7 -10
  13. package/src/contestedResources/createStateTransition.d.ts +1 -2
  14. package/src/contestedResources/createStateTransition.js +4 -7
  15. package/src/contestedResources/getContestedResourceVoteState.js +67 -118
  16. package/src/contestedResources/index.js +9 -55
  17. package/src/dataContracts/create.js +5 -8
  18. package/src/dataContracts/createStateTransition.js +10 -14
  19. package/src/dataContracts/getDataContractByIdentifier.js +40 -83
  20. package/src/dataContracts/index.js +17 -63
  21. package/src/documents/create.js +3 -6
  22. package/src/documents/createStateTransition.js +19 -31
  23. package/src/documents/index.js +25 -72
  24. package/src/documents/query.js +58 -90
  25. package/src/grpcConnectionPool.d.ts +30 -8
  26. package/src/grpcConnectionPool.js +63 -121
  27. package/src/identities/createStateTransition.js +14 -26
  28. package/src/identities/getIdentityBalance.js +37 -80
  29. package/src/identities/getIdentityByIdentifier.js +37 -80
  30. package/src/identities/getIdentityByNonUniquePublicKeyHash.js +41 -82
  31. package/src/identities/getIdentityByPublicKeyHash.js +37 -80
  32. package/src/identities/getIdentityContractNonce.js +40 -83
  33. package/src/identities/getIdentityNonce.js +38 -81
  34. package/src/identities/getIdentityPublicKeys.js +43 -81
  35. package/src/identities/index.js +57 -153
  36. package/src/keyPair/deriveChild.d.ts +2 -2
  37. package/src/keyPair/deriveChild.js +2 -49
  38. package/src/keyPair/derivePath.d.ts +2 -2
  39. package/src/keyPair/derivePath.js +2 -49
  40. package/src/keyPair/index.d.ts +39 -114
  41. package/src/keyPair/index.js +62 -296
  42. package/src/keyPair/mnemonicToSeed.d.ts +1 -1
  43. package/src/keyPair/mnemonicToSeed.js +3 -46
  44. package/src/names/index.js +43 -111
  45. package/src/names/registerName.js +60 -127
  46. package/src/names/searchByIdentity.d.ts +1 -1
  47. package/src/names/searchByIdentity.js +4 -50
  48. package/src/names/searchByName.js +15 -63
  49. package/src/names/testNameContested.js +1 -4
  50. package/src/names/validateName.js +3 -6
  51. package/src/node/epochs.js +43 -85
  52. package/src/node/index.d.ts +3 -3
  53. package/src/node/index.js +18 -77
  54. package/src/node/status.js +37 -81
  55. package/src/node/totalCredits.d.ts +2 -1
  56. package/src/node/totalCredits.js +32 -73
  57. package/src/signer/AbstractSigner.js +1 -2
  58. package/src/signer/setSigner.js +1 -4
  59. package/src/stateTransitions/broadcast.js +7 -57
  60. package/src/stateTransitions/index.js +13 -66
  61. package/src/stateTransitions/waitForStateTransitionResult.js +6 -58
  62. package/src/tokens/createStateTransition.js +23 -35
  63. package/src/tokens/getIdentitiesTokenBalances.js +40 -83
  64. package/src/tokens/getIdentityTokensBalances.js +40 -83
  65. package/src/tokens/getTokenContractInfo.js +40 -83
  66. package/src/tokens/getTokenDirectPurchasePrices.js +37 -80
  67. package/src/tokens/getTokenTotalSupply.js +38 -81
  68. package/src/tokens/index.js +39 -124
  69. package/src/types.d.ts +6 -12
  70. package/src/types.js +6 -16
  71. package/src/utils/base58ToBytes.js +3 -6
  72. package/src/utils/bytesToHex.js +2 -5
  73. package/src/utils/bytesToTypedArray.d.ts +1 -0
  74. package/src/utils/bytesToTypedArray.js +3 -0
  75. package/src/utils/calculateMsgHash.d.ts +1 -1
  76. package/src/utils/calculateMsgHash.js +10 -13
  77. package/src/utils/calculateSignHash.d.ts +1 -1
  78. package/src/utils/calculateSignHash.js +7 -10
  79. package/src/utils/calculateStateIdHash.d.ts +1 -1
  80. package/src/utils/calculateStateIdHash.js +8 -10
  81. package/src/utils/convertToHomographSafeChars.js +2 -5
  82. package/src/utils/createVoterIdentityId.d.ts +1 -1
  83. package/src/utils/createVoterIdentityId.js +12 -11
  84. package/src/utils/getEvonodeList.d.ts +2 -2
  85. package/src/utils/getEvonodeList.js +10 -61
  86. package/src/utils/getQuorumPublicKey.js +15 -66
  87. package/src/utils/getRandomArrayItem.js +1 -4
  88. package/src/utils/getRandomBytes.js +2 -5
  89. package/src/utils/hexToBytes.js +2 -6
  90. package/src/utils/index.js +21 -28
  91. package/src/utils/indexBytesToString.js +2 -5
  92. package/src/utils/sha256.d.ts +1 -1
  93. package/src/utils/sha256.js +10 -8
  94. package/src/utils/signHash.d.ts +1 -1
  95. package/src/utils/signHash.js +9 -12
  96. package/src/utils/signRequestId.d.ts +1 -1
  97. package/src/utils/signRequestId.js +9 -12
  98. package/src/utils/sleep.js +2 -50
  99. package/src/utils/stringToIndexValueBytes.js +4 -7
  100. package/src/utils/verifyTenderdashProof.d.ts +1 -1
  101. package/src/utils/verifyTenderdashProof.js +13 -17
  102. package/src/voting/createStateTransition.d.ts +1 -2
  103. package/src/voting/createStateTransition.js +4 -7
  104. package/src/voting/createVote.js +4 -7
  105. package/src/voting/index.d.ts +3 -4
  106. package/src/voting/index.js +19 -26
  107. package/test/unit/ContestedResources.spec.js +92 -177
  108. package/test/unit/DataContract.spec.js +44 -111
  109. package/test/unit/Document.spec.js +93 -183
  110. package/test/unit/Identity.spec.js +221 -346
  111. package/test/unit/KeyPair.spec.js +30 -145
  112. package/test/unit/Names.spec.js +27 -90
  113. package/test/unit/Node.spec.js +55 -126
  114. package/test/unit/SDK.spec.js +7 -9
  115. package/test/unit/Tokens.spec.js +111 -278
  116. package/bundle.min.js.LICENSE.txt +0 -1
  117. package/src/keyPair/keyToPublicKey.d.ts +0 -2
  118. package/src/keyPair/keyToPublicKey.js +0 -47
  119. package/src/keyPair/keyToWalletId.d.ts +0 -2
  120. package/src/keyPair/keyToWalletId.js +0 -50
  121. package/src/keyPair/keyToXPrivateKey.d.ts +0 -3
  122. package/src/keyPair/keyToXPrivateKey.js +0 -50
  123. package/src/keyPair/keyToXPublicKey.d.ts +0 -3
  124. package/src/keyPair/keyToXPublicKey.js +0 -50
  125. package/src/keyPair/mnemonicToIdentityKey.d.ts +0 -3
  126. package/src/keyPair/mnemonicToIdentityKey.js +0 -57
  127. package/src/keyPair/mnemonicToWallet.d.ts +0 -2
  128. package/src/keyPair/mnemonicToWallet.js +0 -55
  129. package/src/keyPair/privateKeyToWif.d.ts +0 -2
  130. package/src/keyPair/privateKeyToWif.js +0 -50
  131. package/src/keyPair/publicKeyToAddress.d.ts +0 -2
  132. package/src/keyPair/publicKeyToAddress.js +0 -50
  133. package/src/keyPair/seedToWallet.d.ts +0 -2
  134. package/src/keyPair/seedToWallet.js +0 -50
  135. package/src/keyPair/walletToIdentityKey.d.ts +0 -3
  136. package/src/keyPair/walletToIdentityKey.js +0 -56
  137. package/src/keyPair/xkeyToHDXKey.d.ts +0 -2
  138. package/src/keyPair/xkeyToHDXKey.js +0 -50
package/index.js CHANGED
@@ -1,5 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DashPlatformSDK = void 0;
4
- var DashPlatformSDK_1 = require("./src/DashPlatformSDK");
5
- Object.defineProperty(exports, "DashPlatformSDK", { enumerable: true, get: function () { return DashPlatformSDK_1.DashPlatformSDK; } });
1
+ import { DashPlatformSDK } from './src/DashPlatformSDK';
2
+ export { DashPlatformSDK };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-platform-sdk",
3
- "version": "1.3.0-dev.4",
3
+ "version": "1.3.0-dev.6",
4
4
  "main": "index.js",
5
5
  "description": "Lightweight SDK for accessing Dash Platform blockchain",
6
6
  "ts-standard": {
@@ -8,55 +8,54 @@
8
8
  "proto"
9
9
  ]
10
10
  },
11
+ "browserslist": [
12
+ "defaults"
13
+ ],
14
+ "engines": {
15
+ "node": ">=20.19.0 <=24"
16
+ },
17
+ "type": "module",
11
18
  "devDependencies": {
12
19
  "@babel/cli": "^7.28.0",
13
20
  "@babel/core": "^7.28.0",
14
21
  "@babel/preset-env": "^7.28.0",
15
22
  "@babel/preset-typescript": "^7.27.1",
16
- "@types/dashhd": "owl352/types-DashHD.js",
17
- "@types/dashphrase": "owl352/types-DashPhrase.js",
23
+ "@protobuf-ts/plugin": "^2.11.1",
24
+ "@rollup/plugin-commonjs": "^28.0.6",
25
+ "@rollup/plugin-node-resolve": "^16.0.1",
26
+ "@rollup/plugin-terser": "^0.4.4",
27
+ "@rollup/plugin-typescript": "^12.1.4",
18
28
  "@types/jest": "^29.5.14",
19
29
  "babel-jest": "^29.7.0",
20
- "dets": "^0.16.8",
21
- "grpc-tools": "^1.13.0",
22
- "grpc_tools_node_protoc_ts": "^5.3.3",
23
- "isomorphic-ws": "^5.0.0",
24
30
  "jest": "^29.7.0",
25
- "jsdoc": "^4.0.4",
26
- "nice-grpc-web": "^3.3.6",
27
- "process": "^0.11.10",
28
- "stream-browserify": "^3.0.0",
29
- "terser-webpack-plugin": "^5.3.14",
30
- "ts-loader": "^9.5.2",
31
- "ts-node": "^10.9.2",
32
- "ts-proto": "^2.6.1",
31
+ "jest-environment-jsdom": "^30.1.2",
32
+ "protoc": "^32.1.0",
33
+ "rollup": "^4.52.4",
34
+ "ts-proto": "^2.7.7",
33
35
  "ts-standard": "^12.0.2",
36
+ "tsx": "^4.20.5",
34
37
  "typedoc": "^0.28.7",
35
- "typescript": "^5.8.2",
36
- "webpack": "^5.98.0",
37
- "webpack-cli": "^6.0.1",
38
- "ws": "^8.18.1"
38
+ "typescript": "^5.8.2"
39
39
  },
40
40
  "scripts": {
41
- "build": "webpack && yarn build:typescript",
42
- "build:grpc": "yarn proto:generate",
41
+ "build": "tsc && rollup -c rollup.config.js",
42
+ "build:grpc": "protoc -I=./proto --ts_opt generate_dependencies --ts_out=proto/generated --ts_opt=long_type_string ./proto/platform.proto",
43
43
  "build:typescript": "tsc",
44
44
  "lint": "ts-standard --fix",
45
45
  "test": "jest",
46
- "docs": "typedoc",
47
- "proto:generate": "grpc_tools_node_protoc --plugin=protoc-gen-ts_proto=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./proto/generated --ts_proto_opt=useAsyncIterable=false --ts_proto_opt=forceLong=string,env=browser,outputServices=grpc-web,outputServices=generic-definitions,outputJsonMethods=false,useExactTypes=false --proto_path=./proto ./proto/platform.proto"
46
+ "docs": "typedoc"
47
+ },
48
+ "peerDependencies": {
49
+ "pshenmic-dpp": "1.1.0-dev.7"
48
50
  },
49
51
  "dependencies": {
50
52
  "@bufbuild/protobuf": "^2.6.0",
51
- "@dashincubator/secp256k1": "^1.7.1-5",
53
+ "@protobuf-ts/grpcweb-transport": "^2.11.1",
52
54
  "@scure/base": "^1.2.4",
55
+ "@scure/bip32": "^2.0.0",
56
+ "@scure/bip39": "^2.0.0",
57
+ "@scure/btc-signer": "^2.0.1",
53
58
  "cbor-x": "^1.6.0",
54
- "dashhd": "^3.3.3",
55
- "dashkeys": "^1.1.5",
56
- "dashphrase": "^1.4.0",
57
- "grpc-web": "^1.5.0",
58
- "hash.js": "^1.1.7",
59
- "nice-grpc-web": "^3.3.6",
60
- "pshenmic-dpp": "1.1.0-dev.6"
59
+ "pshenmic-dpp": "1.1.0-dev.7"
61
60
  }
62
61
  }
@@ -1,103 +1,334 @@
1
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- export declare const protobufPackage = "google.protobuf";
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import type { JsonValue } from "@protobuf-ts/runtime";
7
+ import type { JsonReadOptions } from "@protobuf-ts/runtime";
8
+ import type { JsonWriteOptions } from "@protobuf-ts/runtime";
9
+ import { MessageType } from "@protobuf-ts/runtime";
3
10
  /**
4
11
  * Wrapper message for `double`.
5
12
  *
6
13
  * The JSON representation for `DoubleValue` is JSON number.
14
+ *
15
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
16
+ * has no plan to be removed.
17
+ *
18
+ * @generated from protobuf message google.protobuf.DoubleValue
7
19
  */
8
20
  export interface DoubleValue {
9
- /** The double value. */
21
+ /**
22
+ * The double value.
23
+ *
24
+ * @generated from protobuf field: double value = 1
25
+ */
10
26
  value: number;
11
27
  }
12
28
  /**
13
29
  * Wrapper message for `float`.
14
30
  *
15
31
  * The JSON representation for `FloatValue` is JSON number.
32
+ *
33
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
34
+ * has no plan to be removed.
35
+ *
36
+ * @generated from protobuf message google.protobuf.FloatValue
16
37
  */
17
38
  export interface FloatValue {
18
- /** The float value. */
39
+ /**
40
+ * The float value.
41
+ *
42
+ * @generated from protobuf field: float value = 1
43
+ */
19
44
  value: number;
20
45
  }
21
46
  /**
22
47
  * Wrapper message for `int64`.
23
48
  *
24
49
  * The JSON representation for `Int64Value` is JSON string.
50
+ *
51
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
52
+ * has no plan to be removed.
53
+ *
54
+ * @generated from protobuf message google.protobuf.Int64Value
25
55
  */
26
56
  export interface Int64Value {
27
- /** The int64 value. */
57
+ /**
58
+ * The int64 value.
59
+ *
60
+ * @generated from protobuf field: int64 value = 1
61
+ */
28
62
  value: string;
29
63
  }
30
64
  /**
31
65
  * Wrapper message for `uint64`.
32
66
  *
33
67
  * The JSON representation for `UInt64Value` is JSON string.
68
+ *
69
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
70
+ * has no plan to be removed.
71
+ *
72
+ * @generated from protobuf message google.protobuf.UInt64Value
34
73
  */
35
74
  export interface UInt64Value {
36
- /** The uint64 value. */
75
+ /**
76
+ * The uint64 value.
77
+ *
78
+ * @generated from protobuf field: uint64 value = 1
79
+ */
37
80
  value: string;
38
81
  }
39
82
  /**
40
83
  * Wrapper message for `int32`.
41
84
  *
42
85
  * The JSON representation for `Int32Value` is JSON number.
86
+ *
87
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
88
+ * has no plan to be removed.
89
+ *
90
+ * @generated from protobuf message google.protobuf.Int32Value
43
91
  */
44
92
  export interface Int32Value {
45
- /** The int32 value. */
93
+ /**
94
+ * The int32 value.
95
+ *
96
+ * @generated from protobuf field: int32 value = 1
97
+ */
46
98
  value: number;
47
99
  }
48
100
  /**
49
101
  * Wrapper message for `uint32`.
50
102
  *
51
103
  * The JSON representation for `UInt32Value` is JSON number.
104
+ *
105
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
106
+ * has no plan to be removed.
107
+ *
108
+ * @generated from protobuf message google.protobuf.UInt32Value
52
109
  */
53
110
  export interface UInt32Value {
54
- /** The uint32 value. */
111
+ /**
112
+ * The uint32 value.
113
+ *
114
+ * @generated from protobuf field: uint32 value = 1
115
+ */
55
116
  value: number;
56
117
  }
57
118
  /**
58
119
  * Wrapper message for `bool`.
59
120
  *
60
121
  * The JSON representation for `BoolValue` is JSON `true` and `false`.
122
+ *
123
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
124
+ * has no plan to be removed.
125
+ *
126
+ * @generated from protobuf message google.protobuf.BoolValue
61
127
  */
62
128
  export interface BoolValue {
63
- /** The bool value. */
129
+ /**
130
+ * The bool value.
131
+ *
132
+ * @generated from protobuf field: bool value = 1
133
+ */
64
134
  value: boolean;
65
135
  }
66
136
  /**
67
137
  * Wrapper message for `string`.
68
138
  *
69
139
  * The JSON representation for `StringValue` is JSON string.
140
+ *
141
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
142
+ * has no plan to be removed.
143
+ *
144
+ * @generated from protobuf message google.protobuf.StringValue
70
145
  */
71
146
  export interface StringValue {
72
- /** The string value. */
147
+ /**
148
+ * The string value.
149
+ *
150
+ * @generated from protobuf field: string value = 1
151
+ */
73
152
  value: string;
74
153
  }
75
154
  /**
76
155
  * Wrapper message for `bytes`.
77
156
  *
78
157
  * The JSON representation for `BytesValue` is JSON string.
158
+ *
159
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
160
+ * has no plan to be removed.
161
+ *
162
+ * @generated from protobuf message google.protobuf.BytesValue
79
163
  */
80
164
  export interface BytesValue {
81
- /** The bytes value. */
165
+ /**
166
+ * The bytes value.
167
+ *
168
+ * @generated from protobuf field: bytes value = 1
169
+ */
82
170
  value: Uint8Array;
83
171
  }
84
- export declare const DoubleValue: MessageFns<DoubleValue>;
85
- export declare const FloatValue: MessageFns<FloatValue>;
86
- export declare const Int64Value: MessageFns<Int64Value>;
87
- export declare const UInt64Value: MessageFns<UInt64Value>;
88
- export declare const Int32Value: MessageFns<Int32Value>;
89
- export declare const UInt32Value: MessageFns<UInt32Value>;
90
- export declare const BoolValue: MessageFns<BoolValue>;
91
- export declare const StringValue: MessageFns<StringValue>;
92
- export declare const BytesValue: MessageFns<BytesValue>;
93
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
94
- export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
95
- [K in keyof T]?: DeepPartial<T[K]>;
96
- } : Partial<T>;
97
- export interface MessageFns<T> {
98
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
99
- decode(input: BinaryReader | Uint8Array, length?: number): T;
100
- create(base?: DeepPartial<T>): T;
101
- fromPartial(object: DeepPartial<T>): T;
172
+ declare class DoubleValue$Type extends MessageType<DoubleValue> {
173
+ constructor();
174
+ /**
175
+ * Encode `DoubleValue` to JSON number.
176
+ */
177
+ internalJsonWrite(message: DoubleValue, options: JsonWriteOptions): JsonValue;
178
+ /**
179
+ * Decode `DoubleValue` from JSON number.
180
+ */
181
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: DoubleValue): DoubleValue;
182
+ create(value?: PartialMessage<DoubleValue>): DoubleValue;
183
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DoubleValue): DoubleValue;
184
+ internalBinaryWrite(message: DoubleValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
185
+ }
186
+ /**
187
+ * @generated MessageType for protobuf message google.protobuf.DoubleValue
188
+ */
189
+ export declare const DoubleValue: DoubleValue$Type;
190
+ declare class FloatValue$Type extends MessageType<FloatValue> {
191
+ constructor();
192
+ /**
193
+ * Encode `FloatValue` to JSON number.
194
+ */
195
+ internalJsonWrite(message: FloatValue, options: JsonWriteOptions): JsonValue;
196
+ /**
197
+ * Decode `FloatValue` from JSON number.
198
+ */
199
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: FloatValue): FloatValue;
200
+ create(value?: PartialMessage<FloatValue>): FloatValue;
201
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FloatValue): FloatValue;
202
+ internalBinaryWrite(message: FloatValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
203
+ }
204
+ /**
205
+ * @generated MessageType for protobuf message google.protobuf.FloatValue
206
+ */
207
+ export declare const FloatValue: FloatValue$Type;
208
+ declare class Int64Value$Type extends MessageType<Int64Value> {
209
+ constructor();
210
+ /**
211
+ * Encode `Int64Value` to JSON string.
212
+ */
213
+ internalJsonWrite(message: Int64Value, options: JsonWriteOptions): JsonValue;
214
+ /**
215
+ * Decode `Int64Value` from JSON string.
216
+ */
217
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int64Value): Int64Value;
218
+ create(value?: PartialMessage<Int64Value>): Int64Value;
219
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int64Value): Int64Value;
220
+ internalBinaryWrite(message: Int64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
221
+ }
222
+ /**
223
+ * @generated MessageType for protobuf message google.protobuf.Int64Value
224
+ */
225
+ export declare const Int64Value: Int64Value$Type;
226
+ declare class UInt64Value$Type extends MessageType<UInt64Value> {
227
+ constructor();
228
+ /**
229
+ * Encode `UInt64Value` to JSON string.
230
+ */
231
+ internalJsonWrite(message: UInt64Value, options: JsonWriteOptions): JsonValue;
232
+ /**
233
+ * Decode `UInt64Value` from JSON string.
234
+ */
235
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt64Value): UInt64Value;
236
+ create(value?: PartialMessage<UInt64Value>): UInt64Value;
237
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt64Value): UInt64Value;
238
+ internalBinaryWrite(message: UInt64Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
239
+ }
240
+ /**
241
+ * @generated MessageType for protobuf message google.protobuf.UInt64Value
242
+ */
243
+ export declare const UInt64Value: UInt64Value$Type;
244
+ declare class Int32Value$Type extends MessageType<Int32Value> {
245
+ constructor();
246
+ /**
247
+ * Encode `Int32Value` to JSON string.
248
+ */
249
+ internalJsonWrite(message: Int32Value, options: JsonWriteOptions): JsonValue;
250
+ /**
251
+ * Decode `Int32Value` from JSON string.
252
+ */
253
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Int32Value): Int32Value;
254
+ create(value?: PartialMessage<Int32Value>): Int32Value;
255
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Int32Value): Int32Value;
256
+ internalBinaryWrite(message: Int32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
257
+ }
258
+ /**
259
+ * @generated MessageType for protobuf message google.protobuf.Int32Value
260
+ */
261
+ export declare const Int32Value: Int32Value$Type;
262
+ declare class UInt32Value$Type extends MessageType<UInt32Value> {
263
+ constructor();
264
+ /**
265
+ * Encode `UInt32Value` to JSON string.
266
+ */
267
+ internalJsonWrite(message: UInt32Value, options: JsonWriteOptions): JsonValue;
268
+ /**
269
+ * Decode `UInt32Value` from JSON string.
270
+ */
271
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: UInt32Value): UInt32Value;
272
+ create(value?: PartialMessage<UInt32Value>): UInt32Value;
273
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UInt32Value): UInt32Value;
274
+ internalBinaryWrite(message: UInt32Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
102
275
  }
276
+ /**
277
+ * @generated MessageType for protobuf message google.protobuf.UInt32Value
278
+ */
279
+ export declare const UInt32Value: UInt32Value$Type;
280
+ declare class BoolValue$Type extends MessageType<BoolValue> {
281
+ constructor();
282
+ /**
283
+ * Encode `BoolValue` to JSON bool.
284
+ */
285
+ internalJsonWrite(message: BoolValue, options: JsonWriteOptions): JsonValue;
286
+ /**
287
+ * Decode `BoolValue` from JSON bool.
288
+ */
289
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BoolValue): BoolValue;
290
+ create(value?: PartialMessage<BoolValue>): BoolValue;
291
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BoolValue): BoolValue;
292
+ internalBinaryWrite(message: BoolValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
293
+ }
294
+ /**
295
+ * @generated MessageType for protobuf message google.protobuf.BoolValue
296
+ */
297
+ export declare const BoolValue: BoolValue$Type;
298
+ declare class StringValue$Type extends MessageType<StringValue> {
299
+ constructor();
300
+ /**
301
+ * Encode `StringValue` to JSON string.
302
+ */
303
+ internalJsonWrite(message: StringValue, options: JsonWriteOptions): JsonValue;
304
+ /**
305
+ * Decode `StringValue` from JSON string.
306
+ */
307
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: StringValue): StringValue;
308
+ create(value?: PartialMessage<StringValue>): StringValue;
309
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StringValue): StringValue;
310
+ internalBinaryWrite(message: StringValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
311
+ }
312
+ /**
313
+ * @generated MessageType for protobuf message google.protobuf.StringValue
314
+ */
315
+ export declare const StringValue: StringValue$Type;
316
+ declare class BytesValue$Type extends MessageType<BytesValue> {
317
+ constructor();
318
+ /**
319
+ * Encode `BytesValue` to JSON string.
320
+ */
321
+ internalJsonWrite(message: BytesValue, options: JsonWriteOptions): JsonValue;
322
+ /**
323
+ * Decode `BytesValue` from JSON string.
324
+ */
325
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: BytesValue): BytesValue;
326
+ create(value?: PartialMessage<BytesValue>): BytesValue;
327
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BytesValue): BytesValue;
328
+ internalBinaryWrite(message: BytesValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
329
+ }
330
+ /**
331
+ * @generated MessageType for protobuf message google.protobuf.BytesValue
332
+ */
333
+ export declare const BytesValue: BytesValue$Type;
103
334
  export {};