@taqueria/protocol 0.14.4 → 0.18.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 (318) hide show
  1. package/Alias.d.ts +48 -0
  2. package/Alias.js +70 -0
  3. package/Alias.js.map +1 -0
  4. package/Alias.mjs +34 -0
  5. package/Alias.mjs.map +1 -0
  6. package/Base.d.ts +50 -0
  7. package/Base.js +83 -0
  8. package/Base.js.map +1 -0
  9. package/Base.mjs +57 -0
  10. package/Base.mjs.map +1 -0
  11. package/Command.d.ts +30 -0
  12. package/Command.js +61 -0
  13. package/Command.js.map +1 -0
  14. package/Command.mjs +25 -0
  15. package/Command.mjs.map +1 -0
  16. package/Config.d.ts +2062 -0
  17. package/Config.js +175 -0
  18. package/Config.js.map +1 -0
  19. package/Config.mjs +135 -0
  20. package/Config.mjs.map +1 -0
  21. package/Contract.d.ts +88 -0
  22. package/Contract.js +68 -0
  23. package/Contract.js.map +1 -0
  24. package/Contract.mjs +32 -0
  25. package/Contract.mjs.map +1 -0
  26. package/Crypto.d.ts +5 -0
  27. package/Crypto.js +35 -0
  28. package/Crypto.js.map +1 -0
  29. package/Crypto.mjs +10 -0
  30. package/Crypto.mjs.map +1 -0
  31. package/EconomicalProtocolHash.d.ts +48 -0
  32. package/EconomicalProtocolHash.js +64 -0
  33. package/EconomicalProtocolHash.js.map +1 -0
  34. package/EconomicalProtocolHash.mjs +27 -0
  35. package/EconomicalProtocolHash.mjs.map +1 -0
  36. package/Environment.d.ts +142 -0
  37. package/Environment.js +78 -0
  38. package/Environment.js.map +1 -0
  39. package/Environment.mjs +40 -0
  40. package/Environment.mjs.map +1 -0
  41. package/EphemeralState.d.ts +4561 -0
  42. package/EphemeralState.js +268 -0
  43. package/EphemeralState.js.map +1 -0
  44. package/EphemeralState.mjs +228 -0
  45. package/EphemeralState.mjs.map +1 -0
  46. package/Faucet.d.ts +210 -0
  47. package/Faucet.js +84 -0
  48. package/Faucet.js.map +1 -0
  49. package/Faucet.mjs +47 -0
  50. package/Faucet.mjs.map +1 -0
  51. package/HumanReadableIdentifier.d.ts +30 -0
  52. package/HumanReadableIdentifier.js +61 -0
  53. package/HumanReadableIdentifier.js.map +1 -0
  54. package/HumanReadableIdentifier.mjs +25 -0
  55. package/HumanReadableIdentifier.mjs.map +1 -0
  56. package/InstalledPlugin.d.ts +99 -0
  57. package/InstalledPlugin.js +67 -0
  58. package/InstalledPlugin.js.map +1 -0
  59. package/InstalledPlugin.mjs +30 -0
  60. package/InstalledPlugin.mjs.map +1 -0
  61. package/LoadedConfig.d.ts +2325 -0
  62. package/LoadedConfig.js +80 -0
  63. package/LoadedConfig.js.map +1 -0
  64. package/LoadedConfig.mjs +41 -0
  65. package/LoadedConfig.mjs.map +1 -0
  66. package/MetadataConfig.d.ts +162 -0
  67. package/MetadataConfig.js +75 -0
  68. package/MetadataConfig.js.map +1 -0
  69. package/MetadataConfig.mjs +38 -0
  70. package/MetadataConfig.mjs.map +1 -0
  71. package/NetworkConfig.d.ts +431 -0
  72. package/NetworkConfig.js +77 -0
  73. package/NetworkConfig.js.map +1 -0
  74. package/NetworkConfig.mjs +40 -0
  75. package/NetworkConfig.mjs.map +1 -0
  76. package/Operation.d.ts +1476 -0
  77. package/Operation.js +98 -0
  78. package/Operation.js.map +1 -0
  79. package/Operation.mjs +60 -0
  80. package/Operation.mjs.map +1 -0
  81. package/Option.d.ts +316 -0
  82. package/Option.js +103 -0
  83. package/Option.js.map +1 -0
  84. package/Option.mjs +65 -0
  85. package/Option.mjs.map +1 -0
  86. package/ParsedOperation.d.ts +888 -0
  87. package/ParsedOperation.js +63 -0
  88. package/ParsedOperation.js.map +1 -0
  89. package/ParsedOperation.mjs +26 -0
  90. package/ParsedOperation.mjs.map +1 -0
  91. package/ParsedTemplate.d.ts +1032 -0
  92. package/ParsedTemplate.js +71 -0
  93. package/ParsedTemplate.js.map +1 -0
  94. package/ParsedTemplate.mjs +34 -0
  95. package/ParsedTemplate.mjs.map +1 -0
  96. package/PersistentState.d.ts +581 -0
  97. package/PersistentState.js +98 -0
  98. package/PersistentState.js.map +1 -0
  99. package/PersistentState.mjs +60 -0
  100. package/PersistentState.mjs.map +1 -0
  101. package/PluginActionName.d.ts +23 -0
  102. package/PluginActionName.js +48 -0
  103. package/PluginActionName.js.map +1 -0
  104. package/PluginActionName.mjs +23 -0
  105. package/PluginActionName.mjs.map +1 -0
  106. package/PluginDependenciesResponse.d.ts +158 -0
  107. package/PluginDependenciesResponse.js +63 -0
  108. package/PluginDependenciesResponse.js.map +1 -0
  109. package/PluginDependenciesResponse.mjs +28 -0
  110. package/PluginDependenciesResponse.mjs.map +1 -0
  111. package/PluginInfo.d.ts +3425 -0
  112. package/PluginInfo.js +113 -0
  113. package/PluginInfo.js.map +1 -0
  114. package/PluginInfo.mjs +76 -0
  115. package/PluginInfo.mjs.map +1 -0
  116. package/PluginJsonResponse.d.ts +104 -0
  117. package/PluginJsonResponse.js +59 -0
  118. package/PluginJsonResponse.js.map +1 -0
  119. package/PluginJsonResponse.mjs +25 -0
  120. package/PluginJsonResponse.mjs.map +1 -0
  121. package/PluginProxyResponse.d.ts +23 -0
  122. package/PluginProxyResponse.js +61 -0
  123. package/PluginProxyResponse.js.map +1 -0
  124. package/PluginProxyResponse.mjs +25 -0
  125. package/PluginProxyResponse.mjs.map +1 -0
  126. package/PluginResponseEncoding.d.ts +39 -0
  127. package/PluginResponseEncoding.js +63 -0
  128. package/PluginResponseEncoding.js.map +1 -0
  129. package/PluginResponseEncoding.mjs +27 -0
  130. package/PluginResponseEncoding.mjs.map +1 -0
  131. package/PluginSchema.d.ts +7332 -0
  132. package/PluginSchema.js +107 -0
  133. package/PluginSchema.js.map +1 -0
  134. package/PluginSchema.mjs +70 -0
  135. package/PluginSchema.mjs.map +1 -0
  136. package/PositionalArg.d.ts +190 -0
  137. package/PositionalArg.js +78 -0
  138. package/PositionalArg.js.map +1 -0
  139. package/PositionalArg.mjs +41 -0
  140. package/PositionalArg.mjs.map +1 -0
  141. package/Provisioner.d.ts +276 -0
  142. package/Provisioner.js +86 -0
  143. package/Provisioner.js.map +1 -0
  144. package/Provisioner.mjs +48 -0
  145. package/Provisioner.mjs.map +1 -0
  146. package/ProvisionerID.d.ts +48 -0
  147. package/ProvisionerID.js +61 -0
  148. package/ProvisionerID.js.map +1 -0
  149. package/ProvisionerID.mjs +24 -0
  150. package/ProvisionerID.mjs.map +1 -0
  151. package/Provisions.d.ts +244 -0
  152. package/Provisions.js +93 -0
  153. package/Provisions.js.map +1 -0
  154. package/Provisions.mjs +57 -0
  155. package/Provisions.mjs.map +1 -0
  156. package/PublicKeyHash.d.ts +49 -0
  157. package/PublicKeyHash.js +65 -0
  158. package/PublicKeyHash.js.map +1 -0
  159. package/PublicKeyHash.mjs +28 -0
  160. package/PublicKeyHash.mjs.map +1 -0
  161. package/RequestArgs.d.ts +5557 -0
  162. package/RequestArgs.js +136 -0
  163. package/RequestArgs.js.map +1 -0
  164. package/RequestArgs.mjs +89 -0
  165. package/RequestArgs.mjs.map +1 -0
  166. package/SHA256.d.ts +33 -0
  167. package/SHA256.js +79 -0
  168. package/SHA256.js.map +1 -0
  169. package/SHA256.mjs +42 -0
  170. package/SHA256.mjs.map +1 -0
  171. package/SandboxAccountConfig.d.ts +152 -0
  172. package/SandboxAccountConfig.js +72 -0
  173. package/SandboxAccountConfig.js.map +1 -0
  174. package/SandboxAccountConfig.mjs +35 -0
  175. package/SandboxAccountConfig.mjs.map +1 -0
  176. package/SandboxConfig.d.ts +550 -0
  177. package/SandboxConfig.js +103 -0
  178. package/SandboxConfig.js.map +1 -0
  179. package/SandboxConfig.mjs +66 -0
  180. package/SandboxConfig.mjs.map +1 -0
  181. package/SanitizedAbsPath.d.ts +48 -0
  182. package/SanitizedAbsPath.js +64 -0
  183. package/SanitizedAbsPath.js.map +1 -0
  184. package/SanitizedAbsPath.mjs +27 -0
  185. package/SanitizedAbsPath.mjs.map +1 -0
  186. package/SanitizedArgs.d.ts +2907 -0
  187. package/SanitizedArgs.js +269 -0
  188. package/SanitizedArgs.js.map +1 -0
  189. package/SanitizedArgs.mjs +197 -0
  190. package/SanitizedArgs.mjs.map +1 -0
  191. package/SanitizedPath.d.ts +30 -0
  192. package/SanitizedPath.js +64 -0
  193. package/SanitizedPath.js.map +1 -0
  194. package/SanitizedPath.mjs +28 -0
  195. package/SanitizedPath.mjs.map +1 -0
  196. package/ScaffoldConfig.d.ts +6 -0
  197. package/ScaffoldConfig.js +19 -0
  198. package/ScaffoldConfig.js.map +1 -0
  199. package/ScaffoldConfig.mjs +1 -0
  200. package/ScaffoldConfig.mjs.map +1 -0
  201. package/Settings.d.ts +82 -0
  202. package/Settings.js +66 -0
  203. package/Settings.js.map +1 -0
  204. package/Settings.mjs +29 -0
  205. package/Settings.mjs.map +1 -0
  206. package/SingleChar.d.ts +48 -0
  207. package/SingleChar.js +62 -0
  208. package/SingleChar.js.map +1 -0
  209. package/SingleChar.mjs +25 -0
  210. package/SingleChar.mjs.map +1 -0
  211. package/TaqError.d.ts +24 -0
  212. package/TaqError.js +65 -0
  213. package/TaqError.js.map +1 -0
  214. package/TaqError.mjs +35 -0
  215. package/TaqError.mjs.map +1 -0
  216. package/Task.d.ts +825 -0
  217. package/Task.js +95 -0
  218. package/Task.js.map +1 -0
  219. package/Task.mjs +58 -0
  220. package/Task.mjs.map +1 -0
  221. package/Template.d.ts +1746 -0
  222. package/Template.js +117 -0
  223. package/Template.js.map +1 -0
  224. package/Template.mjs +79 -0
  225. package/Template.mjs.map +1 -0
  226. package/Timestamp.d.ts +51 -0
  227. package/Timestamp.js +65 -0
  228. package/Timestamp.js.map +1 -0
  229. package/Timestamp.mjs +27 -0
  230. package/Timestamp.mjs.map +1 -0
  231. package/Tz.d.ts +47 -0
  232. package/Tz.js +62 -0
  233. package/Tz.js.map +1 -0
  234. package/Tz.mjs +25 -0
  235. package/Tz.mjs.map +1 -0
  236. package/Url.d.ts +49 -0
  237. package/Url.js +68 -0
  238. package/Url.js.map +1 -0
  239. package/Url.mjs +30 -0
  240. package/Url.mjs.map +1 -0
  241. package/Verb.d.ts +48 -0
  242. package/Verb.js +62 -0
  243. package/Verb.js.map +1 -0
  244. package/Verb.mjs +25 -0
  245. package/Verb.mjs.map +1 -0
  246. package/VersionNumber.d.ts +30 -0
  247. package/VersionNumber.js +61 -0
  248. package/VersionNumber.js.map +1 -0
  249. package/VersionNumber.mjs +25 -0
  250. package/VersionNumber.mjs.map +1 -0
  251. package/i18n.d.ts +7 -0
  252. package/i18n.js +96 -0
  253. package/i18n.js.map +1 -0
  254. package/i18n.mjs +67 -0
  255. package/i18n.mjs.map +1 -0
  256. package/package.json +31 -3
  257. package/taqueria-protocol-types.d.ts +72 -0
  258. package/taqueria-protocol-types.js +142 -0
  259. package/taqueria-protocol-types.js.map +1 -0
  260. package/taqueria-protocol-types.mjs +76 -0
  261. package/taqueria-protocol-types.mjs.map +1 -0
  262. package/tzkt-config.d.ts +116 -0
  263. package/tzkt-config.js +65 -0
  264. package/tzkt-config.js.map +1 -0
  265. package/tzkt-config.mjs +28 -0
  266. package/tzkt-config.mjs.map +1 -0
  267. package/Alias.ts +0 -38
  268. package/Base.ts +0 -105
  269. package/Command.ts +0 -26
  270. package/Config.ts +0 -163
  271. package/Contract.ts +0 -35
  272. package/Crypto.ts +0 -3
  273. package/EconomicalProtocolHash.ts +0 -26
  274. package/Environment.ts +0 -40
  275. package/EphemeralState.ts +0 -282
  276. package/Faucet.ts +0 -46
  277. package/HumanReadableIdentifier.ts +0 -26
  278. package/InstalledPlugin.ts +0 -28
  279. package/LoadedConfig.ts +0 -45
  280. package/MetadataConfig.ts +0 -37
  281. package/NetworkConfig.ts +0 -39
  282. package/Operation.ts +0 -70
  283. package/Option.ts +0 -64
  284. package/ParsedOperation.ts +0 -33
  285. package/ParsedTemplate.ts +0 -40
  286. package/PersistentState.ts +0 -69
  287. package/PluginActionName.ts +0 -28
  288. package/PluginDependenciesResponse.ts +0 -33
  289. package/PluginInfo.ts +0 -76
  290. package/PluginJsonResponse.ts +0 -26
  291. package/PluginProxyResponse.ts +0 -24
  292. package/PluginResponseEncoding.ts +0 -27
  293. package/PluginSchema.ts +0 -81
  294. package/PositionalArg.ts +0 -41
  295. package/Provisioner.ts +0 -61
  296. package/ProvisionerID.ts +0 -25
  297. package/Provisions.ts +0 -70
  298. package/PublicKeyHash.ts +0 -28
  299. package/RequestArgs.ts +0 -97
  300. package/SHA256.ts +0 -42
  301. package/SandboxAccountConfig.ts +0 -35
  302. package/SandboxConfig.ts +0 -63
  303. package/SanitizedAbsPath.ts +0 -23
  304. package/SanitizedArgs.ts +0 -213
  305. package/SanitizedPath.ts +0 -28
  306. package/ScaffoldConfig.ts +0 -6
  307. package/Settings.ts +0 -27
  308. package/SingleChar.ts +0 -23
  309. package/TaqError.ts +0 -78
  310. package/Task.ts +0 -57
  311. package/Template.ts +0 -77
  312. package/Timestamp.ts +0 -25
  313. package/Tz.ts +0 -22
  314. package/Url.ts +0 -28
  315. package/Verb.ts +0 -23
  316. package/VersionNumber.ts +0 -25
  317. package/i18n.ts +0 -74
  318. package/taqueria-protocol-types.ts +0 -36
@@ -0,0 +1,2325 @@
1
+ import * as fluture from 'fluture';
2
+ import { TaqError } from './TaqError.js';
3
+ import { Flatten } from '@taqueria/protocol/Base';
4
+ import { z } from 'zod';
5
+
6
+ declare const rawSchema: z.ZodObject<z.extendShape<Omit<z.extendShape<{
7
+ language: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>, "en" | "fr" | undefined, unknown>;
8
+ plugins: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
9
+ type: "npm" | "binary" | "deno";
10
+ name: string;
11
+ } & {
12
+ readonly __kind: any;
13
+ }, any>, {
14
+ type: "npm" | "binary" | "deno";
15
+ name: string;
16
+ } & {
17
+ readonly __kind: any;
18
+ }, any>, "many">, ({
19
+ type: "npm" | "binary" | "deno";
20
+ name: string;
21
+ } & {
22
+ readonly __kind: any;
23
+ })[], unknown>>;
24
+ contractsDir: z.ZodEffects<z.ZodString, string, unknown>;
25
+ artifactsDir: z.ZodEffects<z.ZodString, string, unknown>;
26
+ contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27
+ sourceFile: z.ZodString;
28
+ hash: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ sourceFile: string;
31
+ hash: string;
32
+ }, {
33
+ sourceFile: string;
34
+ hash: string;
35
+ }>>>;
36
+ }, {
37
+ plugins: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
38
+ name: z.ZodString;
39
+ type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ type: "npm" | "binary" | "deno";
42
+ name: string;
43
+ }, {
44
+ type: "npm" | "binary" | "deno";
45
+ name: string;
46
+ }>, "many">, {
47
+ type: "npm" | "binary" | "deno";
48
+ name: string;
49
+ }[], unknown>>;
50
+ network: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
51
+ label: z.ZodString;
52
+ rpcUrl: z.ZodString;
53
+ protocol: z.ZodEffects<z.ZodString, string, string>;
54
+ faucet: z.ZodObject<{
55
+ pkh: z.ZodString;
56
+ mnemonic: z.ZodArray<z.ZodString, "many">;
57
+ email: z.ZodString;
58
+ password: z.ZodString;
59
+ amount: z.ZodString;
60
+ activation_code: z.ZodString;
61
+ }, "strip", z.ZodTypeAny, {
62
+ pkh: string;
63
+ mnemonic: string[];
64
+ email: string;
65
+ password: string;
66
+ amount: string;
67
+ activation_code: string;
68
+ }, {
69
+ pkh: string;
70
+ mnemonic: string[];
71
+ email: string;
72
+ password: string;
73
+ amount: string;
74
+ activation_code: string;
75
+ }>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ label: string;
78
+ rpcUrl: string;
79
+ protocol: string;
80
+ faucet: {
81
+ pkh: string;
82
+ mnemonic: string[];
83
+ email: string;
84
+ password: string;
85
+ amount: string;
86
+ activation_code: string;
87
+ };
88
+ }, {
89
+ label: string;
90
+ rpcUrl: string;
91
+ protocol: string;
92
+ faucet: {
93
+ pkh: string;
94
+ mnemonic: string[];
95
+ email: string;
96
+ password: string;
97
+ amount: string;
98
+ activation_code: string;
99
+ };
100
+ }>, z.ZodString]>>>;
101
+ sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
102
+ label: z.ZodString;
103
+ rpcUrl: z.ZodString;
104
+ protocol: z.ZodString;
105
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
106
+ plugin: z.ZodOptional<z.ZodString>;
107
+ accounts: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
108
+ default: z.ZodString;
109
+ }, "strip", z.ZodTypeAny, {
110
+ default: string;
111
+ }, {
112
+ default: string;
113
+ }>, z.ZodRecord<z.ZodString, z.ZodObject<{
114
+ encryptedKey: z.ZodString;
115
+ publicKeyHash: z.ZodString;
116
+ secretKey: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ encryptedKey: string;
119
+ publicKeyHash: string;
120
+ secretKey: string;
121
+ }, {
122
+ encryptedKey: string;
123
+ publicKeyHash: string;
124
+ secretKey: string;
125
+ }>>]>>;
126
+ tzkt: z.ZodOptional<z.ZodObject<{
127
+ disableAutostartWithSandbox: z.ZodDefault<z.ZodBoolean>;
128
+ postgresqlPort: z.ZodDefault<z.ZodNumber>;
129
+ apiPort: z.ZodDefault<z.ZodNumber>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ disableAutostartWithSandbox: boolean;
132
+ postgresqlPort: number;
133
+ apiPort: number;
134
+ }, {
135
+ disableAutostartWithSandbox?: boolean | undefined;
136
+ postgresqlPort?: number | undefined;
137
+ apiPort?: number | undefined;
138
+ }>>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ attributes?: Record<string, string | number | boolean> | undefined;
141
+ plugin?: string | undefined;
142
+ accounts?: {
143
+ default: string;
144
+ } | Record<string, {
145
+ encryptedKey: string;
146
+ publicKeyHash: string;
147
+ secretKey: string;
148
+ }> | undefined;
149
+ tzkt?: {
150
+ disableAutostartWithSandbox: boolean;
151
+ postgresqlPort: number;
152
+ apiPort: number;
153
+ } | undefined;
154
+ label: string;
155
+ rpcUrl: string;
156
+ protocol: string;
157
+ }, {
158
+ attributes?: Record<string, string | number | boolean> | undefined;
159
+ plugin?: string | undefined;
160
+ accounts?: {
161
+ default: string;
162
+ } | Record<string, {
163
+ encryptedKey: string;
164
+ publicKeyHash: string;
165
+ secretKey: string;
166
+ }> | undefined;
167
+ tzkt?: {
168
+ disableAutostartWithSandbox?: boolean | undefined;
169
+ postgresqlPort?: number | undefined;
170
+ apiPort?: number | undefined;
171
+ } | undefined;
172
+ label: string;
173
+ rpcUrl: string;
174
+ protocol: string;
175
+ }>, z.ZodString]>>>;
176
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
177
+ networks: z.ZodArray<z.ZodString, "many">;
178
+ sandboxes: z.ZodArray<z.ZodString, "many">;
179
+ storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
180
+ aliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ storage?: Record<string, any> | undefined;
183
+ aliases?: Record<string, any> | undefined;
184
+ networks: string[];
185
+ sandboxes: string[];
186
+ }, {
187
+ storage?: Record<string, any> | undefined;
188
+ aliases?: Record<string, any> | undefined;
189
+ networks: string[];
190
+ sandboxes: string[];
191
+ }>, z.ZodString]>>>;
192
+ accounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
193
+ metadata: z.ZodOptional<z.ZodObject<{
194
+ name: z.ZodOptional<z.ZodString>;
195
+ projectDescription: z.ZodOptional<z.ZodString>;
196
+ authors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
197
+ license: z.ZodOptional<z.ZodString>;
198
+ homepage: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ name?: string | undefined;
201
+ projectDescription?: string | undefined;
202
+ authors?: string[] | undefined;
203
+ license?: string | undefined;
204
+ homepage?: string | undefined;
205
+ }, {
206
+ name?: string | undefined;
207
+ projectDescription?: string | undefined;
208
+ authors?: string[] | undefined;
209
+ license?: string | undefined;
210
+ homepage?: string | undefined;
211
+ }>>;
212
+ }>, "plugins">, {
213
+ plugins: z.ZodEffects<z.ZodArray<z.ZodObject<{
214
+ name: z.ZodString;
215
+ type: z.ZodUnion<[z.ZodLiteral<"npm">, z.ZodLiteral<"binary">, z.ZodLiteral<"deno">]>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: "npm" | "binary" | "deno";
218
+ name: string;
219
+ }, {
220
+ type: "npm" | "binary" | "deno";
221
+ name: string;
222
+ }>, "many">, {
223
+ type: "npm" | "binary" | "deno";
224
+ name: string;
225
+ }[], unknown>;
226
+ projectDir: z.ZodString;
227
+ configFile: z.ZodString;
228
+ hash: z.ZodString;
229
+ }>, "strip", z.ZodTypeAny, {
230
+ accounts?: Record<string, string | number> | undefined;
231
+ language?: "en" | "fr" | undefined;
232
+ contracts?: Record<string, {
233
+ sourceFile: string;
234
+ hash: string;
235
+ }> | undefined;
236
+ network?: Record<string, string | {
237
+ label: string;
238
+ rpcUrl: string;
239
+ protocol: string;
240
+ faucet: {
241
+ pkh: string;
242
+ mnemonic: string[];
243
+ email: string;
244
+ password: string;
245
+ amount: string;
246
+ activation_code: string;
247
+ };
248
+ }> | undefined;
249
+ sandbox?: Record<string, string | {
250
+ attributes?: Record<string, string | number | boolean> | undefined;
251
+ plugin?: string | undefined;
252
+ accounts?: {
253
+ default: string;
254
+ } | Record<string, {
255
+ encryptedKey: string;
256
+ publicKeyHash: string;
257
+ secretKey: string;
258
+ }> | undefined;
259
+ tzkt?: {
260
+ disableAutostartWithSandbox: boolean;
261
+ postgresqlPort: number;
262
+ apiPort: number;
263
+ } | undefined;
264
+ label: string;
265
+ rpcUrl: string;
266
+ protocol: string;
267
+ }> | undefined;
268
+ environment?: Record<string, string | {
269
+ storage?: Record<string, any> | undefined;
270
+ aliases?: Record<string, any> | undefined;
271
+ networks: string[];
272
+ sandboxes: string[];
273
+ }> | undefined;
274
+ metadata?: {
275
+ name?: string | undefined;
276
+ projectDescription?: string | undefined;
277
+ authors?: string[] | undefined;
278
+ license?: string | undefined;
279
+ homepage?: string | undefined;
280
+ } | undefined;
281
+ hash: string;
282
+ plugins: {
283
+ type: "npm" | "binary" | "deno";
284
+ name: string;
285
+ }[];
286
+ contractsDir: string;
287
+ artifactsDir: string;
288
+ projectDir: string;
289
+ configFile: string;
290
+ }, {
291
+ accounts?: Record<string, string | number> | undefined;
292
+ language?: unknown;
293
+ plugins?: unknown;
294
+ contractsDir?: unknown;
295
+ contracts?: Record<string, {
296
+ sourceFile: string;
297
+ hash: string;
298
+ }> | undefined;
299
+ artifactsDir?: unknown;
300
+ network?: Record<string, string | {
301
+ label: string;
302
+ rpcUrl: string;
303
+ protocol: string;
304
+ faucet: {
305
+ pkh: string;
306
+ mnemonic: string[];
307
+ email: string;
308
+ password: string;
309
+ amount: string;
310
+ activation_code: string;
311
+ };
312
+ }> | undefined;
313
+ sandbox?: Record<string, string | {
314
+ attributes?: Record<string, string | number | boolean> | undefined;
315
+ plugin?: string | undefined;
316
+ accounts?: {
317
+ default: string;
318
+ } | Record<string, {
319
+ encryptedKey: string;
320
+ publicKeyHash: string;
321
+ secretKey: string;
322
+ }> | undefined;
323
+ tzkt?: {
324
+ disableAutostartWithSandbox?: boolean | undefined;
325
+ postgresqlPort?: number | undefined;
326
+ apiPort?: number | undefined;
327
+ } | undefined;
328
+ label: string;
329
+ rpcUrl: string;
330
+ protocol: string;
331
+ }> | undefined;
332
+ environment?: Record<string, string | {
333
+ storage?: Record<string, any> | undefined;
334
+ aliases?: Record<string, any> | undefined;
335
+ networks: string[];
336
+ sandboxes: string[];
337
+ }> | undefined;
338
+ metadata?: {
339
+ name?: string | undefined;
340
+ projectDescription?: string | undefined;
341
+ authors?: string[] | undefined;
342
+ license?: string | undefined;
343
+ homepage?: string | undefined;
344
+ } | undefined;
345
+ hash: string;
346
+ projectDir: string;
347
+ configFile: string;
348
+ }>;
349
+ declare const internalSchema: z.ZodObject<z.extendShape<Omit<z.extendShape<{
350
+ language: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"en">, z.ZodLiteral<"fr">]>>, "en" | "fr" | undefined, unknown>;
351
+ plugins: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
352
+ type: "npm" | "binary" | "deno";
353
+ name: string;
354
+ } & {
355
+ readonly __kind: any;
356
+ }, any>, {
357
+ type: "npm" | "binary" | "deno";
358
+ name: string;
359
+ } & {
360
+ readonly __kind: any;
361
+ }, any>, "many">, ({
362
+ type: "npm" | "binary" | "deno";
363
+ name: string;
364
+ } & {
365
+ readonly __kind: any;
366
+ })[], unknown>>;
367
+ contractsDir: z.ZodEffects<z.ZodString, string, unknown>;
368
+ artifactsDir: z.ZodEffects<z.ZodString, string, unknown>;
369
+ contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
370
+ sourceFile: z.ZodString;
371
+ hash: z.ZodString;
372
+ }, "strip", z.ZodTypeAny, {
373
+ sourceFile: string;
374
+ hash: string;
375
+ }, {
376
+ sourceFile: string;
377
+ hash: string;
378
+ }>>>;
379
+ }, {
380
+ network: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
381
+ label: string & {
382
+ readonly __kind: any;
383
+ };
384
+ rpcUrl: string & {
385
+ readonly __kind: any;
386
+ };
387
+ protocol: string & {
388
+ readonly __kind: any;
389
+ };
390
+ faucet: Flatten<{
391
+ pkh: string & {
392
+ readonly __kind: any;
393
+ };
394
+ mnemonic: string[];
395
+ email: string;
396
+ password: string;
397
+ amount: string;
398
+ activation_code: string;
399
+ } & {
400
+ readonly __kind: any;
401
+ }>;
402
+ } & {
403
+ readonly __kind: any;
404
+ }, any>, Flatten<{
405
+ label: string & {
406
+ readonly __kind: any;
407
+ };
408
+ rpcUrl: string & {
409
+ readonly __kind: any;
410
+ };
411
+ protocol: string & {
412
+ readonly __kind: any;
413
+ };
414
+ faucet: Flatten<{
415
+ pkh: string & {
416
+ readonly __kind: any;
417
+ };
418
+ mnemonic: string[];
419
+ email: string;
420
+ password: string;
421
+ amount: string;
422
+ activation_code: string;
423
+ } & {
424
+ readonly __kind: any;
425
+ }>;
426
+ } & {
427
+ readonly __kind: any;
428
+ }>, any>, z.ZodString]>>>;
429
+ sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
430
+ attributes?: Record<string, string | number | boolean> | undefined;
431
+ plugin?: (string & {
432
+ readonly __kind: any;
433
+ }) | undefined;
434
+ accounts?: Record<string, string | ({
435
+ encryptedKey: string;
436
+ publicKeyHash: string & {
437
+ readonly __kind: any;
438
+ };
439
+ secretKey: string;
440
+ } & {
441
+ readonly __kind: any;
442
+ })> | undefined;
443
+ tzkt?: {
444
+ disableAutostartWithSandbox: boolean;
445
+ postgresqlPort: number;
446
+ apiPort: number;
447
+ } | undefined;
448
+ label: string & {
449
+ readonly __kind: any;
450
+ };
451
+ rpcUrl: string & {
452
+ readonly __kind: any;
453
+ };
454
+ protocol: string & {
455
+ readonly __kind: any;
456
+ };
457
+ } & {
458
+ readonly __kind: any;
459
+ }, any>, {
460
+ attributes?: Record<string, string | number | boolean> | undefined;
461
+ plugin?: (string & {
462
+ readonly __kind: any;
463
+ }) | undefined;
464
+ accounts?: Record<string, string | ({
465
+ encryptedKey: string;
466
+ publicKeyHash: string & {
467
+ readonly __kind: any;
468
+ };
469
+ secretKey: string;
470
+ } & {
471
+ readonly __kind: any;
472
+ })> | undefined;
473
+ tzkt?: {
474
+ disableAutostartWithSandbox: boolean;
475
+ postgresqlPort: number;
476
+ apiPort: number;
477
+ } | undefined;
478
+ label: string & {
479
+ readonly __kind: any;
480
+ };
481
+ rpcUrl: string & {
482
+ readonly __kind: any;
483
+ };
484
+ protocol: string & {
485
+ readonly __kind: any;
486
+ };
487
+ } & {
488
+ readonly __kind: any;
489
+ }, any>, z.ZodString]>>>;
490
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
491
+ storage?: Record<string, any> | undefined;
492
+ aliases?: Record<string, any> | undefined;
493
+ networks: string[];
494
+ sandboxes: string[];
495
+ } & {
496
+ readonly __kind: any;
497
+ }, any>, Flatten<{
498
+ storage?: Record<string, any> | undefined;
499
+ aliases?: Record<string, any> | undefined;
500
+ networks: string[];
501
+ sandboxes: string[];
502
+ } & {
503
+ readonly __kind: any;
504
+ }>, any>, z.ZodString]>>>;
505
+ accounts: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>, Record<string, string | number>, unknown>;
506
+ contracts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
507
+ sourceFile: string;
508
+ hash: string & {
509
+ readonly __kind: any;
510
+ };
511
+ } & {
512
+ readonly __kind: any;
513
+ }, any>, {
514
+ sourceFile: string;
515
+ hash: string & {
516
+ readonly __kind: any;
517
+ };
518
+ }, any>>>;
519
+ metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
520
+ name?: string | undefined;
521
+ projectDescription?: string | undefined;
522
+ authors?: string[] | undefined;
523
+ license?: string | undefined;
524
+ homepage?: string | undefined;
525
+ } & {
526
+ readonly __kind: any;
527
+ }, any>, {
528
+ name?: string | undefined;
529
+ projectDescription?: string | undefined;
530
+ authors?: string[] | undefined;
531
+ license?: string | undefined;
532
+ homepage?: string | undefined;
533
+ } & {
534
+ readonly __kind: any;
535
+ }, any>>;
536
+ }>, "plugins">, {
537
+ plugins: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
538
+ type: "npm" | "binary" | "deno";
539
+ name: string;
540
+ } & {
541
+ readonly __kind: any;
542
+ }, any>, {
543
+ type: "npm" | "binary" | "deno";
544
+ name: string;
545
+ } & {
546
+ readonly __kind: any;
547
+ }, any>, "many">, ({
548
+ type: "npm" | "binary" | "deno";
549
+ name: string;
550
+ } & {
551
+ readonly __kind: any;
552
+ })[], unknown>;
553
+ projectDir: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
554
+ readonly __kind: any;
555
+ }, any>, string & {
556
+ readonly __kind: any;
557
+ }, any>;
558
+ configFile: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
559
+ readonly __kind: any;
560
+ }, any>, string & {
561
+ readonly __kind: any;
562
+ }, any>;
563
+ hash: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, string & {
564
+ readonly __kind: any;
565
+ }, any>, string & {
566
+ readonly __kind: any;
567
+ }, any>;
568
+ }>, "strip", z.ZodTypeAny, {
569
+ language?: "en" | "fr" | undefined;
570
+ contracts?: Record<string, {
571
+ sourceFile: string;
572
+ hash: string & {
573
+ readonly __kind: any;
574
+ };
575
+ }> | undefined;
576
+ network?: Record<string, string | Flatten<{
577
+ label: string & {
578
+ readonly __kind: any;
579
+ };
580
+ rpcUrl: string & {
581
+ readonly __kind: any;
582
+ };
583
+ protocol: string & {
584
+ readonly __kind: any;
585
+ };
586
+ faucet: Flatten<{
587
+ pkh: string & {
588
+ readonly __kind: any;
589
+ };
590
+ mnemonic: string[];
591
+ email: string;
592
+ password: string;
593
+ amount: string;
594
+ activation_code: string;
595
+ } & {
596
+ readonly __kind: any;
597
+ }>;
598
+ } & {
599
+ readonly __kind: any;
600
+ }>> | undefined;
601
+ sandbox?: Record<string, string | ({
602
+ attributes?: Record<string, string | number | boolean> | undefined;
603
+ plugin?: (string & {
604
+ readonly __kind: any;
605
+ }) | undefined;
606
+ accounts?: Record<string, string | ({
607
+ encryptedKey: string;
608
+ publicKeyHash: string & {
609
+ readonly __kind: any;
610
+ };
611
+ secretKey: string;
612
+ } & {
613
+ readonly __kind: any;
614
+ })> | undefined;
615
+ tzkt?: {
616
+ disableAutostartWithSandbox: boolean;
617
+ postgresqlPort: number;
618
+ apiPort: number;
619
+ } | undefined;
620
+ label: string & {
621
+ readonly __kind: any;
622
+ };
623
+ rpcUrl: string & {
624
+ readonly __kind: any;
625
+ };
626
+ protocol: string & {
627
+ readonly __kind: any;
628
+ };
629
+ } & {
630
+ readonly __kind: any;
631
+ })> | undefined;
632
+ environment?: Record<string, string | Flatten<{
633
+ storage?: Record<string, any> | undefined;
634
+ aliases?: Record<string, any> | undefined;
635
+ networks: string[];
636
+ sandboxes: string[];
637
+ } & {
638
+ readonly __kind: any;
639
+ }>> | undefined;
640
+ metadata?: ({
641
+ name?: string | undefined;
642
+ projectDescription?: string | undefined;
643
+ authors?: string[] | undefined;
644
+ license?: string | undefined;
645
+ homepage?: string | undefined;
646
+ } & {
647
+ readonly __kind: any;
648
+ }) | undefined;
649
+ hash: string & {
650
+ readonly __kind: any;
651
+ };
652
+ accounts: Record<string, string | number>;
653
+ plugins: ({
654
+ type: "npm" | "binary" | "deno";
655
+ name: string;
656
+ } & {
657
+ readonly __kind: any;
658
+ })[];
659
+ contractsDir: string;
660
+ artifactsDir: string;
661
+ projectDir: string & {
662
+ readonly __kind: any;
663
+ };
664
+ configFile: string & {
665
+ readonly __kind: any;
666
+ };
667
+ }, {
668
+ hash?: any;
669
+ accounts?: unknown;
670
+ language?: unknown;
671
+ plugins?: unknown;
672
+ contractsDir?: unknown;
673
+ contracts?: Record<string, any> | undefined;
674
+ artifactsDir?: unknown;
675
+ network?: Record<string, any> | undefined;
676
+ sandbox?: Record<string, any> | undefined;
677
+ environment?: Record<string, any> | undefined;
678
+ metadata?: any;
679
+ projectDir?: any;
680
+ configFile?: any;
681
+ }>;
682
+ declare const generatedSchemas: {
683
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
684
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
685
+ schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, Flatten<{
686
+ language?: "en" | "fr" | undefined;
687
+ contracts?: Record<string, {
688
+ sourceFile: string;
689
+ hash: string & {
690
+ readonly __kind: any;
691
+ };
692
+ }> | undefined;
693
+ network?: Record<string, string | Flatten<{
694
+ label: string & {
695
+ readonly __kind: any;
696
+ };
697
+ rpcUrl: string & {
698
+ readonly __kind: any;
699
+ };
700
+ protocol: string & {
701
+ readonly __kind: any;
702
+ };
703
+ faucet: Flatten<{
704
+ pkh: string & {
705
+ readonly __kind: any;
706
+ };
707
+ mnemonic: string[];
708
+ email: string;
709
+ password: string;
710
+ amount: string;
711
+ activation_code: string;
712
+ } & {
713
+ readonly __kind: any;
714
+ }>;
715
+ } & {
716
+ readonly __kind: any;
717
+ }>> | undefined;
718
+ sandbox?: Record<string, string | ({
719
+ attributes?: Record<string, string | number | boolean> | undefined;
720
+ plugin?: (string & {
721
+ readonly __kind: any;
722
+ }) | undefined;
723
+ accounts?: Record<string, string | ({
724
+ encryptedKey: string;
725
+ publicKeyHash: string & {
726
+ readonly __kind: any;
727
+ };
728
+ secretKey: string;
729
+ } & {
730
+ readonly __kind: any;
731
+ })> | undefined;
732
+ tzkt?: {
733
+ disableAutostartWithSandbox: boolean;
734
+ postgresqlPort: number;
735
+ apiPort: number;
736
+ } | undefined;
737
+ label: string & {
738
+ readonly __kind: any;
739
+ };
740
+ rpcUrl: string & {
741
+ readonly __kind: any;
742
+ };
743
+ protocol: string & {
744
+ readonly __kind: any;
745
+ };
746
+ } & {
747
+ readonly __kind: any;
748
+ })> | undefined;
749
+ environment?: Record<string, string | Flatten<{
750
+ storage?: Record<string, any> | undefined;
751
+ aliases?: Record<string, any> | undefined;
752
+ networks: string[];
753
+ sandboxes: string[];
754
+ } & {
755
+ readonly __kind: any;
756
+ }>> | undefined;
757
+ metadata?: ({
758
+ name?: string | undefined;
759
+ projectDescription?: string | undefined;
760
+ authors?: string[] | undefined;
761
+ license?: string | undefined;
762
+ homepage?: string | undefined;
763
+ } & {
764
+ readonly __kind: any;
765
+ }) | undefined;
766
+ hash: string & {
767
+ readonly __kind: any;
768
+ };
769
+ accounts: Record<string, string | number>;
770
+ plugins: ({
771
+ type: "npm" | "binary" | "deno";
772
+ name: string;
773
+ } & {
774
+ readonly __kind: any;
775
+ })[];
776
+ contractsDir: string;
777
+ artifactsDir: string;
778
+ projectDir: string & {
779
+ readonly __kind: any;
780
+ };
781
+ configFile: string & {
782
+ readonly __kind: any;
783
+ };
784
+ }> & {
785
+ readonly __kind: any;
786
+ }, any>;
787
+ };
788
+ declare const factory: {
789
+ make: (input: Flatten<{
790
+ language?: "en" | "fr" | undefined;
791
+ contracts?: Record<string, {
792
+ sourceFile: string;
793
+ hash: string & {
794
+ readonly __kind: any;
795
+ };
796
+ }> | undefined;
797
+ network?: Record<string, string | Flatten<{
798
+ label: string & {
799
+ readonly __kind: any;
800
+ };
801
+ rpcUrl: string & {
802
+ readonly __kind: any;
803
+ };
804
+ protocol: string & {
805
+ readonly __kind: any;
806
+ };
807
+ faucet: Flatten<{
808
+ pkh: string & {
809
+ readonly __kind: any;
810
+ };
811
+ mnemonic: string[];
812
+ email: string;
813
+ password: string;
814
+ amount: string;
815
+ activation_code: string;
816
+ } & {
817
+ readonly __kind: any;
818
+ }>;
819
+ } & {
820
+ readonly __kind: any;
821
+ }>> | undefined;
822
+ sandbox?: Record<string, string | ({
823
+ attributes?: Record<string, string | number | boolean> | undefined;
824
+ plugin?: (string & {
825
+ readonly __kind: any;
826
+ }) | undefined;
827
+ accounts?: Record<string, string | ({
828
+ encryptedKey: string;
829
+ publicKeyHash: string & {
830
+ readonly __kind: any;
831
+ };
832
+ secretKey: string;
833
+ } & {
834
+ readonly __kind: any;
835
+ })> | undefined;
836
+ tzkt?: {
837
+ disableAutostartWithSandbox: boolean;
838
+ postgresqlPort: number;
839
+ apiPort: number;
840
+ } | undefined;
841
+ label: string & {
842
+ readonly __kind: any;
843
+ };
844
+ rpcUrl: string & {
845
+ readonly __kind: any;
846
+ };
847
+ protocol: string & {
848
+ readonly __kind: any;
849
+ };
850
+ } & {
851
+ readonly __kind: any;
852
+ })> | undefined;
853
+ environment?: Record<string, string | Flatten<{
854
+ storage?: Record<string, any> | undefined;
855
+ aliases?: Record<string, any> | undefined;
856
+ networks: string[];
857
+ sandboxes: string[];
858
+ } & {
859
+ readonly __kind: any;
860
+ }>> | undefined;
861
+ metadata?: ({
862
+ name?: string | undefined;
863
+ projectDescription?: string | undefined;
864
+ authors?: string[] | undefined;
865
+ license?: string | undefined;
866
+ homepage?: string | undefined;
867
+ } & {
868
+ readonly __kind: any;
869
+ }) | undefined;
870
+ hash: string & {
871
+ readonly __kind: any;
872
+ };
873
+ accounts: Record<string, string | number>;
874
+ plugins: ({
875
+ type: "npm" | "binary" | "deno";
876
+ name: string;
877
+ } & {
878
+ readonly __kind: any;
879
+ })[];
880
+ contractsDir: string;
881
+ artifactsDir: string;
882
+ projectDir: string & {
883
+ readonly __kind: any;
884
+ };
885
+ configFile: string & {
886
+ readonly __kind: any;
887
+ };
888
+ }>) => fluture.FutureInstance<TaqError, Flatten<{
889
+ language?: "en" | "fr" | undefined;
890
+ contracts?: Record<string, {
891
+ sourceFile: string;
892
+ hash: string & {
893
+ readonly __kind: any;
894
+ };
895
+ }> | undefined;
896
+ network?: Record<string, string | Flatten<{
897
+ label: string & {
898
+ readonly __kind: any;
899
+ };
900
+ rpcUrl: string & {
901
+ readonly __kind: any;
902
+ };
903
+ protocol: string & {
904
+ readonly __kind: any;
905
+ };
906
+ faucet: Flatten<{
907
+ pkh: string & {
908
+ readonly __kind: any;
909
+ };
910
+ mnemonic: string[];
911
+ email: string;
912
+ password: string;
913
+ amount: string;
914
+ activation_code: string;
915
+ } & {
916
+ readonly __kind: any;
917
+ }>;
918
+ } & {
919
+ readonly __kind: any;
920
+ }>> | undefined;
921
+ sandbox?: Record<string, string | ({
922
+ attributes?: Record<string, string | number | boolean> | undefined;
923
+ plugin?: (string & {
924
+ readonly __kind: any;
925
+ }) | undefined;
926
+ accounts?: Record<string, string | ({
927
+ encryptedKey: string;
928
+ publicKeyHash: string & {
929
+ readonly __kind: any;
930
+ };
931
+ secretKey: string;
932
+ } & {
933
+ readonly __kind: any;
934
+ })> | undefined;
935
+ tzkt?: {
936
+ disableAutostartWithSandbox: boolean;
937
+ postgresqlPort: number;
938
+ apiPort: number;
939
+ } | undefined;
940
+ label: string & {
941
+ readonly __kind: any;
942
+ };
943
+ rpcUrl: string & {
944
+ readonly __kind: any;
945
+ };
946
+ protocol: string & {
947
+ readonly __kind: any;
948
+ };
949
+ } & {
950
+ readonly __kind: any;
951
+ })> | undefined;
952
+ environment?: Record<string, string | Flatten<{
953
+ storage?: Record<string, any> | undefined;
954
+ aliases?: Record<string, any> | undefined;
955
+ networks: string[];
956
+ sandboxes: string[];
957
+ } & {
958
+ readonly __kind: any;
959
+ }>> | undefined;
960
+ metadata?: ({
961
+ name?: string | undefined;
962
+ projectDescription?: string | undefined;
963
+ authors?: string[] | undefined;
964
+ license?: string | undefined;
965
+ homepage?: string | undefined;
966
+ } & {
967
+ readonly __kind: any;
968
+ }) | undefined;
969
+ hash: string & {
970
+ readonly __kind: any;
971
+ };
972
+ accounts: Record<string, string | number>;
973
+ plugins: ({
974
+ type: "npm" | "binary" | "deno";
975
+ name: string;
976
+ } & {
977
+ readonly __kind: any;
978
+ })[];
979
+ contractsDir: string;
980
+ artifactsDir: string;
981
+ projectDir: string & {
982
+ readonly __kind: any;
983
+ };
984
+ configFile: string & {
985
+ readonly __kind: any;
986
+ };
987
+ }> & {
988
+ readonly __kind: any;
989
+ }>;
990
+ of: (input: unknown) => fluture.FutureInstance<TaqError, Flatten<{
991
+ language?: "en" | "fr" | undefined;
992
+ contracts?: Record<string, {
993
+ sourceFile: string;
994
+ hash: string & {
995
+ readonly __kind: any;
996
+ };
997
+ }> | undefined;
998
+ network?: Record<string, string | Flatten<{
999
+ label: string & {
1000
+ readonly __kind: any;
1001
+ };
1002
+ rpcUrl: string & {
1003
+ readonly __kind: any;
1004
+ };
1005
+ protocol: string & {
1006
+ readonly __kind: any;
1007
+ };
1008
+ faucet: Flatten<{
1009
+ pkh: string & {
1010
+ readonly __kind: any;
1011
+ };
1012
+ mnemonic: string[];
1013
+ email: string;
1014
+ password: string;
1015
+ amount: string;
1016
+ activation_code: string;
1017
+ } & {
1018
+ readonly __kind: any;
1019
+ }>;
1020
+ } & {
1021
+ readonly __kind: any;
1022
+ }>> | undefined;
1023
+ sandbox?: Record<string, string | ({
1024
+ attributes?: Record<string, string | number | boolean> | undefined;
1025
+ plugin?: (string & {
1026
+ readonly __kind: any;
1027
+ }) | undefined;
1028
+ accounts?: Record<string, string | ({
1029
+ encryptedKey: string;
1030
+ publicKeyHash: string & {
1031
+ readonly __kind: any;
1032
+ };
1033
+ secretKey: string;
1034
+ } & {
1035
+ readonly __kind: any;
1036
+ })> | undefined;
1037
+ tzkt?: {
1038
+ disableAutostartWithSandbox: boolean;
1039
+ postgresqlPort: number;
1040
+ apiPort: number;
1041
+ } | undefined;
1042
+ label: string & {
1043
+ readonly __kind: any;
1044
+ };
1045
+ rpcUrl: string & {
1046
+ readonly __kind: any;
1047
+ };
1048
+ protocol: string & {
1049
+ readonly __kind: any;
1050
+ };
1051
+ } & {
1052
+ readonly __kind: any;
1053
+ })> | undefined;
1054
+ environment?: Record<string, string | Flatten<{
1055
+ storage?: Record<string, any> | undefined;
1056
+ aliases?: Record<string, any> | undefined;
1057
+ networks: string[];
1058
+ sandboxes: string[];
1059
+ } & {
1060
+ readonly __kind: any;
1061
+ }>> | undefined;
1062
+ metadata?: ({
1063
+ name?: string | undefined;
1064
+ projectDescription?: string | undefined;
1065
+ authors?: string[] | undefined;
1066
+ license?: string | undefined;
1067
+ homepage?: string | undefined;
1068
+ } & {
1069
+ readonly __kind: any;
1070
+ }) | undefined;
1071
+ hash: string & {
1072
+ readonly __kind: any;
1073
+ };
1074
+ accounts: Record<string, string | number>;
1075
+ plugins: ({
1076
+ type: "npm" | "binary" | "deno";
1077
+ name: string;
1078
+ } & {
1079
+ readonly __kind: any;
1080
+ })[];
1081
+ contractsDir: string;
1082
+ artifactsDir: string;
1083
+ projectDir: string & {
1084
+ readonly __kind: any;
1085
+ };
1086
+ configFile: string & {
1087
+ readonly __kind: any;
1088
+ };
1089
+ }> & {
1090
+ readonly __kind: any;
1091
+ }>;
1092
+ create: (input: {
1093
+ accounts?: Record<string, string | number> | undefined;
1094
+ language?: "en" | "fr" | undefined;
1095
+ contracts?: Record<string, {
1096
+ sourceFile: string;
1097
+ hash: string;
1098
+ }> | undefined;
1099
+ network?: Record<string, string | {
1100
+ label: string;
1101
+ rpcUrl: string;
1102
+ protocol: string;
1103
+ faucet: {
1104
+ pkh: string;
1105
+ mnemonic: string[];
1106
+ email: string;
1107
+ password: string;
1108
+ amount: string;
1109
+ activation_code: string;
1110
+ };
1111
+ }> | undefined;
1112
+ sandbox?: Record<string, string | {
1113
+ attributes?: Record<string, string | number | boolean> | undefined;
1114
+ plugin?: string | undefined;
1115
+ accounts?: {
1116
+ default: string;
1117
+ } | Record<string, {
1118
+ encryptedKey: string;
1119
+ publicKeyHash: string;
1120
+ secretKey: string;
1121
+ }> | undefined;
1122
+ tzkt?: {
1123
+ disableAutostartWithSandbox: boolean;
1124
+ postgresqlPort: number;
1125
+ apiPort: number;
1126
+ } | undefined;
1127
+ label: string;
1128
+ rpcUrl: string;
1129
+ protocol: string;
1130
+ }> | undefined;
1131
+ environment?: Record<string, string | {
1132
+ storage?: Record<string, any> | undefined;
1133
+ aliases?: Record<string, any> | undefined;
1134
+ networks: string[];
1135
+ sandboxes: string[];
1136
+ }> | undefined;
1137
+ metadata?: {
1138
+ name?: string | undefined;
1139
+ projectDescription?: string | undefined;
1140
+ authors?: string[] | undefined;
1141
+ license?: string | undefined;
1142
+ homepage?: string | undefined;
1143
+ } | undefined;
1144
+ hash: string;
1145
+ plugins: {
1146
+ type: "npm" | "binary" | "deno";
1147
+ name: string;
1148
+ }[];
1149
+ contractsDir: string;
1150
+ artifactsDir: string;
1151
+ projectDir: string;
1152
+ configFile: string;
1153
+ } | Flatten<{
1154
+ language?: "en" | "fr" | undefined;
1155
+ contracts?: Record<string, {
1156
+ sourceFile: string;
1157
+ hash: string & {
1158
+ readonly __kind: any;
1159
+ };
1160
+ }> | undefined;
1161
+ network?: Record<string, string | Flatten<{
1162
+ label: string & {
1163
+ readonly __kind: any;
1164
+ };
1165
+ rpcUrl: string & {
1166
+ readonly __kind: any;
1167
+ };
1168
+ protocol: string & {
1169
+ readonly __kind: any;
1170
+ };
1171
+ faucet: Flatten<{
1172
+ pkh: string & {
1173
+ readonly __kind: any;
1174
+ };
1175
+ mnemonic: string[];
1176
+ email: string;
1177
+ password: string;
1178
+ amount: string;
1179
+ activation_code: string;
1180
+ } & {
1181
+ readonly __kind: any;
1182
+ }>;
1183
+ } & {
1184
+ readonly __kind: any;
1185
+ }>> | undefined;
1186
+ sandbox?: Record<string, string | ({
1187
+ attributes?: Record<string, string | number | boolean> | undefined;
1188
+ plugin?: (string & {
1189
+ readonly __kind: any;
1190
+ }) | undefined;
1191
+ accounts?: Record<string, string | ({
1192
+ encryptedKey: string;
1193
+ publicKeyHash: string & {
1194
+ readonly __kind: any;
1195
+ };
1196
+ secretKey: string;
1197
+ } & {
1198
+ readonly __kind: any;
1199
+ })> | undefined;
1200
+ tzkt?: {
1201
+ disableAutostartWithSandbox: boolean;
1202
+ postgresqlPort: number;
1203
+ apiPort: number;
1204
+ } | undefined;
1205
+ label: string & {
1206
+ readonly __kind: any;
1207
+ };
1208
+ rpcUrl: string & {
1209
+ readonly __kind: any;
1210
+ };
1211
+ protocol: string & {
1212
+ readonly __kind: any;
1213
+ };
1214
+ } & {
1215
+ readonly __kind: any;
1216
+ })> | undefined;
1217
+ environment?: Record<string, string | Flatten<{
1218
+ storage?: Record<string, any> | undefined;
1219
+ aliases?: Record<string, any> | undefined;
1220
+ networks: string[];
1221
+ sandboxes: string[];
1222
+ } & {
1223
+ readonly __kind: any;
1224
+ }>> | undefined;
1225
+ metadata?: ({
1226
+ name?: string | undefined;
1227
+ projectDescription?: string | undefined;
1228
+ authors?: string[] | undefined;
1229
+ license?: string | undefined;
1230
+ homepage?: string | undefined;
1231
+ } & {
1232
+ readonly __kind: any;
1233
+ }) | undefined;
1234
+ hash: string & {
1235
+ readonly __kind: any;
1236
+ };
1237
+ accounts: Record<string, string | number>;
1238
+ plugins: ({
1239
+ type: "npm" | "binary" | "deno";
1240
+ name: string;
1241
+ } & {
1242
+ readonly __kind: any;
1243
+ })[];
1244
+ contractsDir: string;
1245
+ artifactsDir: string;
1246
+ projectDir: string & {
1247
+ readonly __kind: any;
1248
+ };
1249
+ configFile: string & {
1250
+ readonly __kind: any;
1251
+ };
1252
+ }>) => Flatten<{
1253
+ language?: "en" | "fr" | undefined;
1254
+ contracts?: Record<string, {
1255
+ sourceFile: string;
1256
+ hash: string & {
1257
+ readonly __kind: any;
1258
+ };
1259
+ }> | undefined;
1260
+ network?: Record<string, string | Flatten<{
1261
+ label: string & {
1262
+ readonly __kind: any;
1263
+ };
1264
+ rpcUrl: string & {
1265
+ readonly __kind: any;
1266
+ };
1267
+ protocol: string & {
1268
+ readonly __kind: any;
1269
+ };
1270
+ faucet: Flatten<{
1271
+ pkh: string & {
1272
+ readonly __kind: any;
1273
+ };
1274
+ mnemonic: string[];
1275
+ email: string;
1276
+ password: string;
1277
+ amount: string;
1278
+ activation_code: string;
1279
+ } & {
1280
+ readonly __kind: any;
1281
+ }>;
1282
+ } & {
1283
+ readonly __kind: any;
1284
+ }>> | undefined;
1285
+ sandbox?: Record<string, string | ({
1286
+ attributes?: Record<string, string | number | boolean> | undefined;
1287
+ plugin?: (string & {
1288
+ readonly __kind: any;
1289
+ }) | undefined;
1290
+ accounts?: Record<string, string | ({
1291
+ encryptedKey: string;
1292
+ publicKeyHash: string & {
1293
+ readonly __kind: any;
1294
+ };
1295
+ secretKey: string;
1296
+ } & {
1297
+ readonly __kind: any;
1298
+ })> | undefined;
1299
+ tzkt?: {
1300
+ disableAutostartWithSandbox: boolean;
1301
+ postgresqlPort: number;
1302
+ apiPort: number;
1303
+ } | undefined;
1304
+ label: string & {
1305
+ readonly __kind: any;
1306
+ };
1307
+ rpcUrl: string & {
1308
+ readonly __kind: any;
1309
+ };
1310
+ protocol: string & {
1311
+ readonly __kind: any;
1312
+ };
1313
+ } & {
1314
+ readonly __kind: any;
1315
+ })> | undefined;
1316
+ environment?: Record<string, string | Flatten<{
1317
+ storage?: Record<string, any> | undefined;
1318
+ aliases?: Record<string, any> | undefined;
1319
+ networks: string[];
1320
+ sandboxes: string[];
1321
+ } & {
1322
+ readonly __kind: any;
1323
+ }>> | undefined;
1324
+ metadata?: ({
1325
+ name?: string | undefined;
1326
+ projectDescription?: string | undefined;
1327
+ authors?: string[] | undefined;
1328
+ license?: string | undefined;
1329
+ homepage?: string | undefined;
1330
+ } & {
1331
+ readonly __kind: any;
1332
+ }) | undefined;
1333
+ hash: string & {
1334
+ readonly __kind: any;
1335
+ };
1336
+ accounts: Record<string, string | number>;
1337
+ plugins: ({
1338
+ type: "npm" | "binary" | "deno";
1339
+ name: string;
1340
+ } & {
1341
+ readonly __kind: any;
1342
+ })[];
1343
+ contractsDir: string;
1344
+ artifactsDir: string;
1345
+ projectDir: string & {
1346
+ readonly __kind: any;
1347
+ };
1348
+ configFile: string & {
1349
+ readonly __kind: any;
1350
+ };
1351
+ }> & {
1352
+ readonly __kind: any;
1353
+ };
1354
+ from: (input: unknown) => Flatten<{
1355
+ language?: "en" | "fr" | undefined;
1356
+ contracts?: Record<string, {
1357
+ sourceFile: string;
1358
+ hash: string & {
1359
+ readonly __kind: any;
1360
+ };
1361
+ }> | undefined;
1362
+ network?: Record<string, string | Flatten<{
1363
+ label: string & {
1364
+ readonly __kind: any;
1365
+ };
1366
+ rpcUrl: string & {
1367
+ readonly __kind: any;
1368
+ };
1369
+ protocol: string & {
1370
+ readonly __kind: any;
1371
+ };
1372
+ faucet: Flatten<{
1373
+ pkh: string & {
1374
+ readonly __kind: any;
1375
+ };
1376
+ mnemonic: string[];
1377
+ email: string;
1378
+ password: string;
1379
+ amount: string;
1380
+ activation_code: string;
1381
+ } & {
1382
+ readonly __kind: any;
1383
+ }>;
1384
+ } & {
1385
+ readonly __kind: any;
1386
+ }>> | undefined;
1387
+ sandbox?: Record<string, string | ({
1388
+ attributes?: Record<string, string | number | boolean> | undefined;
1389
+ plugin?: (string & {
1390
+ readonly __kind: any;
1391
+ }) | undefined;
1392
+ accounts?: Record<string, string | ({
1393
+ encryptedKey: string;
1394
+ publicKeyHash: string & {
1395
+ readonly __kind: any;
1396
+ };
1397
+ secretKey: string;
1398
+ } & {
1399
+ readonly __kind: any;
1400
+ })> | undefined;
1401
+ tzkt?: {
1402
+ disableAutostartWithSandbox: boolean;
1403
+ postgresqlPort: number;
1404
+ apiPort: number;
1405
+ } | undefined;
1406
+ label: string & {
1407
+ readonly __kind: any;
1408
+ };
1409
+ rpcUrl: string & {
1410
+ readonly __kind: any;
1411
+ };
1412
+ protocol: string & {
1413
+ readonly __kind: any;
1414
+ };
1415
+ } & {
1416
+ readonly __kind: any;
1417
+ })> | undefined;
1418
+ environment?: Record<string, string | Flatten<{
1419
+ storage?: Record<string, any> | undefined;
1420
+ aliases?: Record<string, any> | undefined;
1421
+ networks: string[];
1422
+ sandboxes: string[];
1423
+ } & {
1424
+ readonly __kind: any;
1425
+ }>> | undefined;
1426
+ metadata?: ({
1427
+ name?: string | undefined;
1428
+ projectDescription?: string | undefined;
1429
+ authors?: string[] | undefined;
1430
+ license?: string | undefined;
1431
+ homepage?: string | undefined;
1432
+ } & {
1433
+ readonly __kind: any;
1434
+ }) | undefined;
1435
+ hash: string & {
1436
+ readonly __kind: any;
1437
+ };
1438
+ accounts: Record<string, string | number>;
1439
+ plugins: ({
1440
+ type: "npm" | "binary" | "deno";
1441
+ name: string;
1442
+ } & {
1443
+ readonly __kind: any;
1444
+ })[];
1445
+ contractsDir: string;
1446
+ artifactsDir: string;
1447
+ projectDir: string & {
1448
+ readonly __kind: any;
1449
+ };
1450
+ configFile: string & {
1451
+ readonly __kind: any;
1452
+ };
1453
+ }> & {
1454
+ readonly __kind: any;
1455
+ };
1456
+ };
1457
+ declare type LoadedConfig = z.infer<typeof generatedSchemas.schema>;
1458
+ declare type t = LoadedConfig;
1459
+ declare const create: (input: {
1460
+ accounts?: Record<string, string | number> | undefined;
1461
+ language?: "en" | "fr" | undefined;
1462
+ contracts?: Record<string, {
1463
+ sourceFile: string;
1464
+ hash: string;
1465
+ }> | undefined;
1466
+ network?: Record<string, string | {
1467
+ label: string;
1468
+ rpcUrl: string;
1469
+ protocol: string;
1470
+ faucet: {
1471
+ pkh: string;
1472
+ mnemonic: string[];
1473
+ email: string;
1474
+ password: string;
1475
+ amount: string;
1476
+ activation_code: string;
1477
+ };
1478
+ }> | undefined;
1479
+ sandbox?: Record<string, string | {
1480
+ attributes?: Record<string, string | number | boolean> | undefined;
1481
+ plugin?: string | undefined;
1482
+ accounts?: {
1483
+ default: string;
1484
+ } | Record<string, {
1485
+ encryptedKey: string;
1486
+ publicKeyHash: string;
1487
+ secretKey: string;
1488
+ }> | undefined;
1489
+ tzkt?: {
1490
+ disableAutostartWithSandbox: boolean;
1491
+ postgresqlPort: number;
1492
+ apiPort: number;
1493
+ } | undefined;
1494
+ label: string;
1495
+ rpcUrl: string;
1496
+ protocol: string;
1497
+ }> | undefined;
1498
+ environment?: Record<string, string | {
1499
+ storage?: Record<string, any> | undefined;
1500
+ aliases?: Record<string, any> | undefined;
1501
+ networks: string[];
1502
+ sandboxes: string[];
1503
+ }> | undefined;
1504
+ metadata?: {
1505
+ name?: string | undefined;
1506
+ projectDescription?: string | undefined;
1507
+ authors?: string[] | undefined;
1508
+ license?: string | undefined;
1509
+ homepage?: string | undefined;
1510
+ } | undefined;
1511
+ hash: string;
1512
+ plugins: {
1513
+ type: "npm" | "binary" | "deno";
1514
+ name: string;
1515
+ }[];
1516
+ contractsDir: string;
1517
+ artifactsDir: string;
1518
+ projectDir: string;
1519
+ configFile: string;
1520
+ } | Flatten<{
1521
+ language?: "en" | "fr" | undefined;
1522
+ contracts?: Record<string, {
1523
+ sourceFile: string;
1524
+ hash: string & {
1525
+ readonly __kind: any;
1526
+ };
1527
+ }> | undefined;
1528
+ network?: Record<string, string | Flatten<{
1529
+ label: string & {
1530
+ readonly __kind: any;
1531
+ };
1532
+ rpcUrl: string & {
1533
+ readonly __kind: any;
1534
+ };
1535
+ protocol: string & {
1536
+ readonly __kind: any;
1537
+ };
1538
+ faucet: Flatten<{
1539
+ pkh: string & {
1540
+ readonly __kind: any;
1541
+ };
1542
+ mnemonic: string[];
1543
+ email: string;
1544
+ password: string;
1545
+ amount: string;
1546
+ activation_code: string;
1547
+ } & {
1548
+ readonly __kind: any;
1549
+ }>;
1550
+ } & {
1551
+ readonly __kind: any;
1552
+ }>> | undefined;
1553
+ sandbox?: Record<string, string | ({
1554
+ attributes?: Record<string, string | number | boolean> | undefined;
1555
+ plugin?: (string & {
1556
+ readonly __kind: any;
1557
+ }) | undefined;
1558
+ accounts?: Record<string, string | ({
1559
+ encryptedKey: string;
1560
+ publicKeyHash: string & {
1561
+ readonly __kind: any;
1562
+ };
1563
+ secretKey: string;
1564
+ } & {
1565
+ readonly __kind: any;
1566
+ })> | undefined;
1567
+ tzkt?: {
1568
+ disableAutostartWithSandbox: boolean;
1569
+ postgresqlPort: number;
1570
+ apiPort: number;
1571
+ } | undefined;
1572
+ label: string & {
1573
+ readonly __kind: any;
1574
+ };
1575
+ rpcUrl: string & {
1576
+ readonly __kind: any;
1577
+ };
1578
+ protocol: string & {
1579
+ readonly __kind: any;
1580
+ };
1581
+ } & {
1582
+ readonly __kind: any;
1583
+ })> | undefined;
1584
+ environment?: Record<string, string | Flatten<{
1585
+ storage?: Record<string, any> | undefined;
1586
+ aliases?: Record<string, any> | undefined;
1587
+ networks: string[];
1588
+ sandboxes: string[];
1589
+ } & {
1590
+ readonly __kind: any;
1591
+ }>> | undefined;
1592
+ metadata?: ({
1593
+ name?: string | undefined;
1594
+ projectDescription?: string | undefined;
1595
+ authors?: string[] | undefined;
1596
+ license?: string | undefined;
1597
+ homepage?: string | undefined;
1598
+ } & {
1599
+ readonly __kind: any;
1600
+ }) | undefined;
1601
+ hash: string & {
1602
+ readonly __kind: any;
1603
+ };
1604
+ accounts: Record<string, string | number>;
1605
+ plugins: ({
1606
+ type: "npm" | "binary" | "deno";
1607
+ name: string;
1608
+ } & {
1609
+ readonly __kind: any;
1610
+ })[];
1611
+ contractsDir: string;
1612
+ artifactsDir: string;
1613
+ projectDir: string & {
1614
+ readonly __kind: any;
1615
+ };
1616
+ configFile: string & {
1617
+ readonly __kind: any;
1618
+ };
1619
+ }>) => Flatten<{
1620
+ language?: "en" | "fr" | undefined;
1621
+ contracts?: Record<string, {
1622
+ sourceFile: string;
1623
+ hash: string & {
1624
+ readonly __kind: any;
1625
+ };
1626
+ }> | undefined;
1627
+ network?: Record<string, string | Flatten<{
1628
+ label: string & {
1629
+ readonly __kind: any;
1630
+ };
1631
+ rpcUrl: string & {
1632
+ readonly __kind: any;
1633
+ };
1634
+ protocol: string & {
1635
+ readonly __kind: any;
1636
+ };
1637
+ faucet: Flatten<{
1638
+ pkh: string & {
1639
+ readonly __kind: any;
1640
+ };
1641
+ mnemonic: string[];
1642
+ email: string;
1643
+ password: string;
1644
+ amount: string;
1645
+ activation_code: string;
1646
+ } & {
1647
+ readonly __kind: any;
1648
+ }>;
1649
+ } & {
1650
+ readonly __kind: any;
1651
+ }>> | undefined;
1652
+ sandbox?: Record<string, string | ({
1653
+ attributes?: Record<string, string | number | boolean> | undefined;
1654
+ plugin?: (string & {
1655
+ readonly __kind: any;
1656
+ }) | undefined;
1657
+ accounts?: Record<string, string | ({
1658
+ encryptedKey: string;
1659
+ publicKeyHash: string & {
1660
+ readonly __kind: any;
1661
+ };
1662
+ secretKey: string;
1663
+ } & {
1664
+ readonly __kind: any;
1665
+ })> | undefined;
1666
+ tzkt?: {
1667
+ disableAutostartWithSandbox: boolean;
1668
+ postgresqlPort: number;
1669
+ apiPort: number;
1670
+ } | undefined;
1671
+ label: string & {
1672
+ readonly __kind: any;
1673
+ };
1674
+ rpcUrl: string & {
1675
+ readonly __kind: any;
1676
+ };
1677
+ protocol: string & {
1678
+ readonly __kind: any;
1679
+ };
1680
+ } & {
1681
+ readonly __kind: any;
1682
+ })> | undefined;
1683
+ environment?: Record<string, string | Flatten<{
1684
+ storage?: Record<string, any> | undefined;
1685
+ aliases?: Record<string, any> | undefined;
1686
+ networks: string[];
1687
+ sandboxes: string[];
1688
+ } & {
1689
+ readonly __kind: any;
1690
+ }>> | undefined;
1691
+ metadata?: ({
1692
+ name?: string | undefined;
1693
+ projectDescription?: string | undefined;
1694
+ authors?: string[] | undefined;
1695
+ license?: string | undefined;
1696
+ homepage?: string | undefined;
1697
+ } & {
1698
+ readonly __kind: any;
1699
+ }) | undefined;
1700
+ hash: string & {
1701
+ readonly __kind: any;
1702
+ };
1703
+ accounts: Record<string, string | number>;
1704
+ plugins: ({
1705
+ type: "npm" | "binary" | "deno";
1706
+ name: string;
1707
+ } & {
1708
+ readonly __kind: any;
1709
+ })[];
1710
+ contractsDir: string;
1711
+ artifactsDir: string;
1712
+ projectDir: string & {
1713
+ readonly __kind: any;
1714
+ };
1715
+ configFile: string & {
1716
+ readonly __kind: any;
1717
+ };
1718
+ }> & {
1719
+ readonly __kind: any;
1720
+ };
1721
+ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, Flatten<{
1722
+ language?: "en" | "fr" | undefined;
1723
+ contracts?: Record<string, {
1724
+ sourceFile: string;
1725
+ hash: string & {
1726
+ readonly __kind: any;
1727
+ };
1728
+ }> | undefined;
1729
+ network?: Record<string, string | Flatten<{
1730
+ label: string & {
1731
+ readonly __kind: any;
1732
+ };
1733
+ rpcUrl: string & {
1734
+ readonly __kind: any;
1735
+ };
1736
+ protocol: string & {
1737
+ readonly __kind: any;
1738
+ };
1739
+ faucet: Flatten<{
1740
+ pkh: string & {
1741
+ readonly __kind: any;
1742
+ };
1743
+ mnemonic: string[];
1744
+ email: string;
1745
+ password: string;
1746
+ amount: string;
1747
+ activation_code: string;
1748
+ } & {
1749
+ readonly __kind: any;
1750
+ }>;
1751
+ } & {
1752
+ readonly __kind: any;
1753
+ }>> | undefined;
1754
+ sandbox?: Record<string, string | ({
1755
+ attributes?: Record<string, string | number | boolean> | undefined;
1756
+ plugin?: (string & {
1757
+ readonly __kind: any;
1758
+ }) | undefined;
1759
+ accounts?: Record<string, string | ({
1760
+ encryptedKey: string;
1761
+ publicKeyHash: string & {
1762
+ readonly __kind: any;
1763
+ };
1764
+ secretKey: string;
1765
+ } & {
1766
+ readonly __kind: any;
1767
+ })> | undefined;
1768
+ tzkt?: {
1769
+ disableAutostartWithSandbox: boolean;
1770
+ postgresqlPort: number;
1771
+ apiPort: number;
1772
+ } | undefined;
1773
+ label: string & {
1774
+ readonly __kind: any;
1775
+ };
1776
+ rpcUrl: string & {
1777
+ readonly __kind: any;
1778
+ };
1779
+ protocol: string & {
1780
+ readonly __kind: any;
1781
+ };
1782
+ } & {
1783
+ readonly __kind: any;
1784
+ })> | undefined;
1785
+ environment?: Record<string, string | Flatten<{
1786
+ storage?: Record<string, any> | undefined;
1787
+ aliases?: Record<string, any> | undefined;
1788
+ networks: string[];
1789
+ sandboxes: string[];
1790
+ } & {
1791
+ readonly __kind: any;
1792
+ }>> | undefined;
1793
+ metadata?: ({
1794
+ name?: string | undefined;
1795
+ projectDescription?: string | undefined;
1796
+ authors?: string[] | undefined;
1797
+ license?: string | undefined;
1798
+ homepage?: string | undefined;
1799
+ } & {
1800
+ readonly __kind: any;
1801
+ }) | undefined;
1802
+ hash: string & {
1803
+ readonly __kind: any;
1804
+ };
1805
+ accounts: Record<string, string | number>;
1806
+ plugins: ({
1807
+ type: "npm" | "binary" | "deno";
1808
+ name: string;
1809
+ } & {
1810
+ readonly __kind: any;
1811
+ })[];
1812
+ contractsDir: string;
1813
+ artifactsDir: string;
1814
+ projectDir: string & {
1815
+ readonly __kind: any;
1816
+ };
1817
+ configFile: string & {
1818
+ readonly __kind: any;
1819
+ };
1820
+ }> & {
1821
+ readonly __kind: any;
1822
+ }>;
1823
+ declare const make: (input: Flatten<{
1824
+ language?: "en" | "fr" | undefined;
1825
+ contracts?: Record<string, {
1826
+ sourceFile: string;
1827
+ hash: string & {
1828
+ readonly __kind: any;
1829
+ };
1830
+ }> | undefined;
1831
+ network?: Record<string, string | Flatten<{
1832
+ label: string & {
1833
+ readonly __kind: any;
1834
+ };
1835
+ rpcUrl: string & {
1836
+ readonly __kind: any;
1837
+ };
1838
+ protocol: string & {
1839
+ readonly __kind: any;
1840
+ };
1841
+ faucet: Flatten<{
1842
+ pkh: string & {
1843
+ readonly __kind: any;
1844
+ };
1845
+ mnemonic: string[];
1846
+ email: string;
1847
+ password: string;
1848
+ amount: string;
1849
+ activation_code: string;
1850
+ } & {
1851
+ readonly __kind: any;
1852
+ }>;
1853
+ } & {
1854
+ readonly __kind: any;
1855
+ }>> | undefined;
1856
+ sandbox?: Record<string, string | ({
1857
+ attributes?: Record<string, string | number | boolean> | undefined;
1858
+ plugin?: (string & {
1859
+ readonly __kind: any;
1860
+ }) | undefined;
1861
+ accounts?: Record<string, string | ({
1862
+ encryptedKey: string;
1863
+ publicKeyHash: string & {
1864
+ readonly __kind: any;
1865
+ };
1866
+ secretKey: string;
1867
+ } & {
1868
+ readonly __kind: any;
1869
+ })> | undefined;
1870
+ tzkt?: {
1871
+ disableAutostartWithSandbox: boolean;
1872
+ postgresqlPort: number;
1873
+ apiPort: number;
1874
+ } | undefined;
1875
+ label: string & {
1876
+ readonly __kind: any;
1877
+ };
1878
+ rpcUrl: string & {
1879
+ readonly __kind: any;
1880
+ };
1881
+ protocol: string & {
1882
+ readonly __kind: any;
1883
+ };
1884
+ } & {
1885
+ readonly __kind: any;
1886
+ })> | undefined;
1887
+ environment?: Record<string, string | Flatten<{
1888
+ storage?: Record<string, any> | undefined;
1889
+ aliases?: Record<string, any> | undefined;
1890
+ networks: string[];
1891
+ sandboxes: string[];
1892
+ } & {
1893
+ readonly __kind: any;
1894
+ }>> | undefined;
1895
+ metadata?: ({
1896
+ name?: string | undefined;
1897
+ projectDescription?: string | undefined;
1898
+ authors?: string[] | undefined;
1899
+ license?: string | undefined;
1900
+ homepage?: string | undefined;
1901
+ } & {
1902
+ readonly __kind: any;
1903
+ }) | undefined;
1904
+ hash: string & {
1905
+ readonly __kind: any;
1906
+ };
1907
+ accounts: Record<string, string | number>;
1908
+ plugins: ({
1909
+ type: "npm" | "binary" | "deno";
1910
+ name: string;
1911
+ } & {
1912
+ readonly __kind: any;
1913
+ })[];
1914
+ contractsDir: string;
1915
+ artifactsDir: string;
1916
+ projectDir: string & {
1917
+ readonly __kind: any;
1918
+ };
1919
+ configFile: string & {
1920
+ readonly __kind: any;
1921
+ };
1922
+ }>) => fluture.FutureInstance<TaqError, Flatten<{
1923
+ language?: "en" | "fr" | undefined;
1924
+ contracts?: Record<string, {
1925
+ sourceFile: string;
1926
+ hash: string & {
1927
+ readonly __kind: any;
1928
+ };
1929
+ }> | undefined;
1930
+ network?: Record<string, string | Flatten<{
1931
+ label: string & {
1932
+ readonly __kind: any;
1933
+ };
1934
+ rpcUrl: string & {
1935
+ readonly __kind: any;
1936
+ };
1937
+ protocol: string & {
1938
+ readonly __kind: any;
1939
+ };
1940
+ faucet: Flatten<{
1941
+ pkh: string & {
1942
+ readonly __kind: any;
1943
+ };
1944
+ mnemonic: string[];
1945
+ email: string;
1946
+ password: string;
1947
+ amount: string;
1948
+ activation_code: string;
1949
+ } & {
1950
+ readonly __kind: any;
1951
+ }>;
1952
+ } & {
1953
+ readonly __kind: any;
1954
+ }>> | undefined;
1955
+ sandbox?: Record<string, string | ({
1956
+ attributes?: Record<string, string | number | boolean> | undefined;
1957
+ plugin?: (string & {
1958
+ readonly __kind: any;
1959
+ }) | undefined;
1960
+ accounts?: Record<string, string | ({
1961
+ encryptedKey: string;
1962
+ publicKeyHash: string & {
1963
+ readonly __kind: any;
1964
+ };
1965
+ secretKey: string;
1966
+ } & {
1967
+ readonly __kind: any;
1968
+ })> | undefined;
1969
+ tzkt?: {
1970
+ disableAutostartWithSandbox: boolean;
1971
+ postgresqlPort: number;
1972
+ apiPort: number;
1973
+ } | undefined;
1974
+ label: string & {
1975
+ readonly __kind: any;
1976
+ };
1977
+ rpcUrl: string & {
1978
+ readonly __kind: any;
1979
+ };
1980
+ protocol: string & {
1981
+ readonly __kind: any;
1982
+ };
1983
+ } & {
1984
+ readonly __kind: any;
1985
+ })> | undefined;
1986
+ environment?: Record<string, string | Flatten<{
1987
+ storage?: Record<string, any> | undefined;
1988
+ aliases?: Record<string, any> | undefined;
1989
+ networks: string[];
1990
+ sandboxes: string[];
1991
+ } & {
1992
+ readonly __kind: any;
1993
+ }>> | undefined;
1994
+ metadata?: ({
1995
+ name?: string | undefined;
1996
+ projectDescription?: string | undefined;
1997
+ authors?: string[] | undefined;
1998
+ license?: string | undefined;
1999
+ homepage?: string | undefined;
2000
+ } & {
2001
+ readonly __kind: any;
2002
+ }) | undefined;
2003
+ hash: string & {
2004
+ readonly __kind: any;
2005
+ };
2006
+ accounts: Record<string, string | number>;
2007
+ plugins: ({
2008
+ type: "npm" | "binary" | "deno";
2009
+ name: string;
2010
+ } & {
2011
+ readonly __kind: any;
2012
+ })[];
2013
+ contractsDir: string;
2014
+ artifactsDir: string;
2015
+ projectDir: string & {
2016
+ readonly __kind: any;
2017
+ };
2018
+ configFile: string & {
2019
+ readonly __kind: any;
2020
+ };
2021
+ }> & {
2022
+ readonly __kind: any;
2023
+ }>;
2024
+ declare const schemas: {
2025
+ schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, Flatten<{
2026
+ language?: "en" | "fr" | undefined;
2027
+ contracts?: Record<string, {
2028
+ sourceFile: string;
2029
+ hash: string & {
2030
+ readonly __kind: any;
2031
+ };
2032
+ }> | undefined;
2033
+ network?: Record<string, string | Flatten<{
2034
+ label: string & {
2035
+ readonly __kind: any;
2036
+ };
2037
+ rpcUrl: string & {
2038
+ readonly __kind: any;
2039
+ };
2040
+ protocol: string & {
2041
+ readonly __kind: any;
2042
+ };
2043
+ faucet: Flatten<{
2044
+ pkh: string & {
2045
+ readonly __kind: any;
2046
+ };
2047
+ mnemonic: string[];
2048
+ email: string;
2049
+ password: string;
2050
+ amount: string;
2051
+ activation_code: string;
2052
+ } & {
2053
+ readonly __kind: any;
2054
+ }>;
2055
+ } & {
2056
+ readonly __kind: any;
2057
+ }>> | undefined;
2058
+ sandbox?: Record<string, string | ({
2059
+ attributes?: Record<string, string | number | boolean> | undefined;
2060
+ plugin?: (string & {
2061
+ readonly __kind: any;
2062
+ }) | undefined;
2063
+ accounts?: Record<string, string | ({
2064
+ encryptedKey: string;
2065
+ publicKeyHash: string & {
2066
+ readonly __kind: any;
2067
+ };
2068
+ secretKey: string;
2069
+ } & {
2070
+ readonly __kind: any;
2071
+ })> | undefined;
2072
+ tzkt?: {
2073
+ disableAutostartWithSandbox: boolean;
2074
+ postgresqlPort: number;
2075
+ apiPort: number;
2076
+ } | undefined;
2077
+ label: string & {
2078
+ readonly __kind: any;
2079
+ };
2080
+ rpcUrl: string & {
2081
+ readonly __kind: any;
2082
+ };
2083
+ protocol: string & {
2084
+ readonly __kind: any;
2085
+ };
2086
+ } & {
2087
+ readonly __kind: any;
2088
+ })> | undefined;
2089
+ environment?: Record<string, string | Flatten<{
2090
+ storage?: Record<string, any> | undefined;
2091
+ aliases?: Record<string, any> | undefined;
2092
+ networks: string[];
2093
+ sandboxes: string[];
2094
+ } & {
2095
+ readonly __kind: any;
2096
+ }>> | undefined;
2097
+ metadata?: ({
2098
+ name?: string | undefined;
2099
+ projectDescription?: string | undefined;
2100
+ authors?: string[] | undefined;
2101
+ license?: string | undefined;
2102
+ homepage?: string | undefined;
2103
+ } & {
2104
+ readonly __kind: any;
2105
+ }) | undefined;
2106
+ hash: string & {
2107
+ readonly __kind: any;
2108
+ };
2109
+ accounts: Record<string, string | number>;
2110
+ plugins: ({
2111
+ type: "npm" | "binary" | "deno";
2112
+ name: string;
2113
+ } & {
2114
+ readonly __kind: any;
2115
+ })[];
2116
+ contractsDir: string;
2117
+ artifactsDir: string;
2118
+ projectDir: string & {
2119
+ readonly __kind: any;
2120
+ };
2121
+ configFile: string & {
2122
+ readonly __kind: any;
2123
+ };
2124
+ }> & {
2125
+ readonly __kind: any;
2126
+ }, any>, Flatten<{
2127
+ language?: "en" | "fr" | undefined;
2128
+ contracts?: Record<string, {
2129
+ sourceFile: string;
2130
+ hash: string & {
2131
+ readonly __kind: any;
2132
+ };
2133
+ }> | undefined;
2134
+ network?: Record<string, string | Flatten<{
2135
+ label: string & {
2136
+ readonly __kind: any;
2137
+ };
2138
+ rpcUrl: string & {
2139
+ readonly __kind: any;
2140
+ };
2141
+ protocol: string & {
2142
+ readonly __kind: any;
2143
+ };
2144
+ faucet: Flatten<{
2145
+ pkh: string & {
2146
+ readonly __kind: any;
2147
+ };
2148
+ mnemonic: string[];
2149
+ email: string;
2150
+ password: string;
2151
+ amount: string;
2152
+ activation_code: string;
2153
+ } & {
2154
+ readonly __kind: any;
2155
+ }>;
2156
+ } & {
2157
+ readonly __kind: any;
2158
+ }>> | undefined;
2159
+ sandbox?: Record<string, string | ({
2160
+ attributes?: Record<string, string | number | boolean> | undefined;
2161
+ plugin?: (string & {
2162
+ readonly __kind: any;
2163
+ }) | undefined;
2164
+ accounts?: Record<string, string | ({
2165
+ encryptedKey: string;
2166
+ publicKeyHash: string & {
2167
+ readonly __kind: any;
2168
+ };
2169
+ secretKey: string;
2170
+ } & {
2171
+ readonly __kind: any;
2172
+ })> | undefined;
2173
+ tzkt?: {
2174
+ disableAutostartWithSandbox: boolean;
2175
+ postgresqlPort: number;
2176
+ apiPort: number;
2177
+ } | undefined;
2178
+ label: string & {
2179
+ readonly __kind: any;
2180
+ };
2181
+ rpcUrl: string & {
2182
+ readonly __kind: any;
2183
+ };
2184
+ protocol: string & {
2185
+ readonly __kind: any;
2186
+ };
2187
+ } & {
2188
+ readonly __kind: any;
2189
+ })> | undefined;
2190
+ environment?: Record<string, string | Flatten<{
2191
+ storage?: Record<string, any> | undefined;
2192
+ aliases?: Record<string, any> | undefined;
2193
+ networks: string[];
2194
+ sandboxes: string[];
2195
+ } & {
2196
+ readonly __kind: any;
2197
+ }>> | undefined;
2198
+ metadata?: ({
2199
+ name?: string | undefined;
2200
+ projectDescription?: string | undefined;
2201
+ authors?: string[] | undefined;
2202
+ license?: string | undefined;
2203
+ homepage?: string | undefined;
2204
+ } & {
2205
+ readonly __kind: any;
2206
+ }) | undefined;
2207
+ hash: string & {
2208
+ readonly __kind: any;
2209
+ };
2210
+ accounts: Record<string, string | number>;
2211
+ plugins: ({
2212
+ type: "npm" | "binary" | "deno";
2213
+ name: string;
2214
+ } & {
2215
+ readonly __kind: any;
2216
+ })[];
2217
+ contractsDir: string;
2218
+ artifactsDir: string;
2219
+ projectDir: string & {
2220
+ readonly __kind: any;
2221
+ };
2222
+ configFile: string & {
2223
+ readonly __kind: any;
2224
+ };
2225
+ }> & {
2226
+ readonly __kind: any;
2227
+ }, any>;
2228
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
2229
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
2230
+ };
2231
+ declare const toConfig: (config: LoadedConfig) => fluture.FutureInstance<TaqError, {
2232
+ language?: "en" | "fr" | undefined;
2233
+ plugins?: ({
2234
+ type: "npm" | "binary" | "deno";
2235
+ name: string;
2236
+ } & {
2237
+ readonly __kind: any;
2238
+ })[] | undefined;
2239
+ contracts?: Record<string, {
2240
+ sourceFile: string;
2241
+ hash: string & {
2242
+ readonly __kind: any;
2243
+ };
2244
+ }> | undefined;
2245
+ network?: Record<string, string | Flatten<{
2246
+ label: string & {
2247
+ readonly __kind: any;
2248
+ };
2249
+ rpcUrl: string & {
2250
+ readonly __kind: any;
2251
+ };
2252
+ protocol: string & {
2253
+ readonly __kind: any;
2254
+ };
2255
+ faucet: Flatten<{
2256
+ pkh: string & {
2257
+ readonly __kind: any;
2258
+ };
2259
+ mnemonic: string[];
2260
+ email: string;
2261
+ password: string;
2262
+ amount: string;
2263
+ activation_code: string;
2264
+ } & {
2265
+ readonly __kind: any;
2266
+ }>;
2267
+ } & {
2268
+ readonly __kind: any;
2269
+ }>> | undefined;
2270
+ sandbox?: Record<string, string | ({
2271
+ attributes?: Record<string, string | number | boolean> | undefined;
2272
+ plugin?: (string & {
2273
+ readonly __kind: any;
2274
+ }) | undefined;
2275
+ accounts?: Record<string, string | ({
2276
+ encryptedKey: string;
2277
+ publicKeyHash: string & {
2278
+ readonly __kind: any;
2279
+ };
2280
+ secretKey: string;
2281
+ } & {
2282
+ readonly __kind: any;
2283
+ })> | undefined;
2284
+ tzkt?: {
2285
+ disableAutostartWithSandbox: boolean;
2286
+ postgresqlPort: number;
2287
+ apiPort: number;
2288
+ } | undefined;
2289
+ label: string & {
2290
+ readonly __kind: any;
2291
+ };
2292
+ rpcUrl: string & {
2293
+ readonly __kind: any;
2294
+ };
2295
+ protocol: string & {
2296
+ readonly __kind: any;
2297
+ };
2298
+ } & {
2299
+ readonly __kind: any;
2300
+ })> | undefined;
2301
+ environment?: Record<string, string | Flatten<{
2302
+ storage?: Record<string, any> | undefined;
2303
+ aliases?: Record<string, any> | undefined;
2304
+ networks: string[];
2305
+ sandboxes: string[];
2306
+ } & {
2307
+ readonly __kind: any;
2308
+ }>> | undefined;
2309
+ metadata?: ({
2310
+ name?: string | undefined;
2311
+ projectDescription?: string | undefined;
2312
+ authors?: string[] | undefined;
2313
+ license?: string | undefined;
2314
+ homepage?: string | undefined;
2315
+ } & {
2316
+ readonly __kind: any;
2317
+ }) | undefined;
2318
+ accounts: Record<string, string | number>;
2319
+ contractsDir: string;
2320
+ artifactsDir: string;
2321
+ } & {
2322
+ readonly __kind: any;
2323
+ }>;
2324
+
2325
+ export { LoadedConfig, create, factory, generatedSchemas, internalSchema, make, of, rawSchema, schemas, t, toConfig };