@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,1032 @@
1
+ import * as fluture from 'fluture';
2
+ import { TaqError } from './TaqError.js';
3
+ import * as _taqueria_protocol_Base from '@taqueria/protocol/Base';
4
+ import { z } from 'zod';
5
+
6
+ declare const rawSchema: z.ZodObject<z.extendShape<{
7
+ template: z.ZodString;
8
+ command: z.ZodString;
9
+ description: z.ZodString;
10
+ hidden: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
11
+ options: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
12
+ shortFlag: z.ZodOptional<z.ZodString>;
13
+ flag: z.ZodString;
14
+ description: z.ZodString;
15
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
16
+ choices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
18
+ boolean: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
19
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ boolean?: boolean | undefined;
22
+ type?: "string" | "number" | "boolean" | undefined;
23
+ shortFlag?: string | undefined;
24
+ defaultValue?: string | number | boolean | undefined;
25
+ choices?: string[] | undefined;
26
+ required?: boolean | undefined;
27
+ description: string;
28
+ flag: string;
29
+ }, {
30
+ boolean?: boolean | undefined;
31
+ type?: "string" | "number" | "boolean" | undefined;
32
+ shortFlag?: string | undefined;
33
+ defaultValue?: string | number | boolean | undefined;
34
+ choices?: string[] | undefined;
35
+ required?: boolean | undefined;
36
+ description: string;
37
+ flag: string;
38
+ }>, "many">, {
39
+ boolean?: boolean | undefined;
40
+ type?: "string" | "number" | "boolean" | undefined;
41
+ shortFlag?: string | undefined;
42
+ defaultValue?: string | number | boolean | undefined;
43
+ choices?: string[] | undefined;
44
+ required?: boolean | undefined;
45
+ description: string;
46
+ flag: string;
47
+ }[], unknown>>;
48
+ positionals: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
49
+ placeholder: z.ZodString;
50
+ description: z.ZodString;
51
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
52
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">]>>;
53
+ required: z.ZodOptional<z.ZodBoolean>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ type?: "string" | "number" | "boolean" | undefined;
56
+ defaultValue?: string | number | boolean | undefined;
57
+ required?: boolean | undefined;
58
+ description: string;
59
+ placeholder: string;
60
+ }, {
61
+ type?: "string" | "number" | "boolean" | undefined;
62
+ defaultValue?: string | number | boolean | undefined;
63
+ required?: boolean | undefined;
64
+ description: string;
65
+ placeholder: string;
66
+ }>, "many">, {
67
+ type?: "string" | "number" | "boolean" | undefined;
68
+ defaultValue?: string | number | boolean | undefined;
69
+ required?: boolean | undefined;
70
+ description: string;
71
+ placeholder: string;
72
+ }[], unknown>>;
73
+ handler: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
74
+ plugin?: string | undefined;
75
+ version?: boolean | undefined;
76
+ build?: boolean | undefined;
77
+ help?: boolean | undefined;
78
+ yes?: boolean | undefined;
79
+ quickstart?: string | undefined;
80
+ pluginName?: string | undefined;
81
+ config: _taqueria_protocol_Base.Flatten<{
82
+ language?: "en" | "fr" | undefined;
83
+ contracts?: Record<string, {
84
+ sourceFile: string;
85
+ hash: string & {
86
+ readonly __kind: any;
87
+ };
88
+ }> | undefined;
89
+ network?: Record<string, string | _taqueria_protocol_Base.Flatten<{
90
+ label: string & {
91
+ readonly __kind: any;
92
+ };
93
+ rpcUrl: string & {
94
+ readonly __kind: any;
95
+ };
96
+ protocol: string & {
97
+ readonly __kind: any;
98
+ };
99
+ faucet: _taqueria_protocol_Base.Flatten<{
100
+ pkh: string & {
101
+ readonly __kind: any;
102
+ };
103
+ mnemonic: string[];
104
+ email: string;
105
+ password: string;
106
+ amount: string;
107
+ activation_code: string;
108
+ } & {
109
+ readonly __kind: any;
110
+ }>;
111
+ } & {
112
+ readonly __kind: any;
113
+ }>> | undefined;
114
+ sandbox?: Record<string, string | ({
115
+ attributes?: Record<string, string | number | boolean> | undefined;
116
+ plugin?: (string & {
117
+ readonly __kind: any;
118
+ }) | undefined;
119
+ accounts?: Record<string, string | ({
120
+ encryptedKey: string;
121
+ publicKeyHash: string & {
122
+ readonly __kind: any;
123
+ };
124
+ secretKey: string;
125
+ } & {
126
+ readonly __kind: any;
127
+ })> | undefined;
128
+ tzkt?: {
129
+ disableAutostartWithSandbox: boolean;
130
+ postgresqlPort: number;
131
+ apiPort: number;
132
+ } | undefined;
133
+ label: string & {
134
+ readonly __kind: any;
135
+ };
136
+ rpcUrl: string & {
137
+ readonly __kind: any;
138
+ };
139
+ protocol: string & {
140
+ readonly __kind: any;
141
+ };
142
+ } & {
143
+ readonly __kind: any;
144
+ })> | undefined;
145
+ environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
146
+ storage?: Record<string, any> | undefined;
147
+ aliases?: Record<string, any> | undefined;
148
+ networks: string[];
149
+ sandboxes: string[];
150
+ } & {
151
+ readonly __kind: any;
152
+ }>> | undefined;
153
+ metadata?: ({
154
+ name?: string | undefined;
155
+ projectDescription?: string | undefined;
156
+ authors?: string[] | undefined;
157
+ license?: string | undefined;
158
+ homepage?: string | undefined;
159
+ } & {
160
+ readonly __kind: any;
161
+ }) | undefined;
162
+ hash: string & {
163
+ readonly __kind: any;
164
+ };
165
+ accounts: Record<string, string | number>;
166
+ plugins: ({
167
+ type: "npm" | "binary" | "deno";
168
+ name: string;
169
+ } & {
170
+ readonly __kind: any;
171
+ })[];
172
+ contractsDir: string;
173
+ artifactsDir: string;
174
+ projectDir: string & {
175
+ readonly __kind: any;
176
+ };
177
+ configFile: string & {
178
+ readonly __kind: any;
179
+ };
180
+ }> & {
181
+ readonly __kind: any;
182
+ };
183
+ debug: boolean;
184
+ fromVsCode: boolean;
185
+ projectDir: string & {
186
+ readonly __kind: any;
187
+ };
188
+ _: (string | number)[];
189
+ maxConcurrency: number;
190
+ disableState: boolean;
191
+ logPluginRequests: boolean;
192
+ env: string;
193
+ setBuild: string;
194
+ setVersion: string;
195
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
196
+ } & {
197
+ readonly __kind: any;
198
+ }, any>, {
199
+ plugin?: string | undefined;
200
+ version?: boolean | undefined;
201
+ build?: boolean | undefined;
202
+ help?: boolean | undefined;
203
+ yes?: boolean | undefined;
204
+ quickstart?: string | undefined;
205
+ pluginName?: string | undefined;
206
+ config: _taqueria_protocol_Base.Flatten<{
207
+ language?: "en" | "fr" | undefined;
208
+ contracts?: Record<string, {
209
+ sourceFile: string;
210
+ hash: string & {
211
+ readonly __kind: any;
212
+ };
213
+ }> | undefined;
214
+ network?: Record<string, string | _taqueria_protocol_Base.Flatten<{
215
+ label: string & {
216
+ readonly __kind: any;
217
+ };
218
+ rpcUrl: string & {
219
+ readonly __kind: any;
220
+ };
221
+ protocol: string & {
222
+ readonly __kind: any;
223
+ };
224
+ faucet: _taqueria_protocol_Base.Flatten<{
225
+ pkh: string & {
226
+ readonly __kind: any;
227
+ };
228
+ mnemonic: string[];
229
+ email: string;
230
+ password: string;
231
+ amount: string;
232
+ activation_code: string;
233
+ } & {
234
+ readonly __kind: any;
235
+ }>;
236
+ } & {
237
+ readonly __kind: any;
238
+ }>> | undefined;
239
+ sandbox?: Record<string, string | ({
240
+ attributes?: Record<string, string | number | boolean> | undefined;
241
+ plugin?: (string & {
242
+ readonly __kind: any;
243
+ }) | undefined;
244
+ accounts?: Record<string, string | ({
245
+ encryptedKey: string;
246
+ publicKeyHash: string & {
247
+ readonly __kind: any;
248
+ };
249
+ secretKey: string;
250
+ } & {
251
+ readonly __kind: any;
252
+ })> | undefined;
253
+ tzkt?: {
254
+ disableAutostartWithSandbox: boolean;
255
+ postgresqlPort: number;
256
+ apiPort: number;
257
+ } | undefined;
258
+ label: string & {
259
+ readonly __kind: any;
260
+ };
261
+ rpcUrl: string & {
262
+ readonly __kind: any;
263
+ };
264
+ protocol: string & {
265
+ readonly __kind: any;
266
+ };
267
+ } & {
268
+ readonly __kind: any;
269
+ })> | undefined;
270
+ environment?: Record<string, string | _taqueria_protocol_Base.Flatten<{
271
+ storage?: Record<string, any> | undefined;
272
+ aliases?: Record<string, any> | undefined;
273
+ networks: string[];
274
+ sandboxes: string[];
275
+ } & {
276
+ readonly __kind: any;
277
+ }>> | undefined;
278
+ metadata?: ({
279
+ name?: string | undefined;
280
+ projectDescription?: string | undefined;
281
+ authors?: string[] | undefined;
282
+ license?: string | undefined;
283
+ homepage?: string | undefined;
284
+ } & {
285
+ readonly __kind: any;
286
+ }) | undefined;
287
+ hash: string & {
288
+ readonly __kind: any;
289
+ };
290
+ accounts: Record<string, string | number>;
291
+ plugins: ({
292
+ type: "npm" | "binary" | "deno";
293
+ name: string;
294
+ } & {
295
+ readonly __kind: any;
296
+ })[];
297
+ contractsDir: string;
298
+ artifactsDir: string;
299
+ projectDir: string & {
300
+ readonly __kind: any;
301
+ };
302
+ configFile: string & {
303
+ readonly __kind: any;
304
+ };
305
+ }> & {
306
+ readonly __kind: any;
307
+ };
308
+ debug: boolean;
309
+ fromVsCode: boolean;
310
+ projectDir: string & {
311
+ readonly __kind: any;
312
+ };
313
+ _: (string | number)[];
314
+ maxConcurrency: number;
315
+ disableState: boolean;
316
+ logPluginRequests: boolean;
317
+ env: string;
318
+ setBuild: string;
319
+ setVersion: string;
320
+ taqRun: "pluginInfo" | "proxy" | "checkRuntimeDependencies" | "installRuntimeDependencies" | "proxyTemplate";
321
+ } & {
322
+ readonly __kind: any;
323
+ }, any>], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
324
+ data?: unknown;
325
+ render?: "string" | "none" | "table" | undefined;
326
+ } & {
327
+ readonly __kind: any;
328
+ }, any>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodPromise<z.ZodUnion<[z.ZodPromise<z.ZodVoid>, z.ZodVoid, z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
329
+ data?: unknown;
330
+ render?: "string" | "none" | "table" | undefined;
331
+ } & {
332
+ readonly __kind: any;
333
+ }, any>, z.ZodType<any, z.ZodTypeDef, any>]>>]>>]>;
334
+ encoding: z.ZodOptional<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, ("none" | "json" | "application/json" | undefined) & {
335
+ readonly __kind: any;
336
+ }, any>>;
337
+ }, {
338
+ handler: z.ZodString;
339
+ encoding: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, ("none" | "json" | "application/json" | undefined) & {
340
+ readonly __kind: any;
341
+ }, any>;
342
+ }>, "strip", z.ZodTypeAny, {
343
+ options?: {
344
+ boolean?: boolean | undefined;
345
+ type?: "string" | "number" | "boolean" | undefined;
346
+ shortFlag?: string | undefined;
347
+ defaultValue?: string | number | boolean | undefined;
348
+ choices?: string[] | undefined;
349
+ required?: boolean | undefined;
350
+ description: string;
351
+ flag: string;
352
+ }[] | undefined;
353
+ positionals?: {
354
+ type?: "string" | "number" | "boolean" | undefined;
355
+ defaultValue?: string | number | boolean | undefined;
356
+ required?: boolean | undefined;
357
+ description: string;
358
+ placeholder: string;
359
+ }[] | undefined;
360
+ hidden?: boolean | undefined;
361
+ description: string;
362
+ template: string;
363
+ command: string;
364
+ handler: string;
365
+ encoding: ("none" | "json" | "application/json" | undefined) & {
366
+ readonly __kind: any;
367
+ };
368
+ }, {
369
+ options?: unknown;
370
+ positionals?: unknown;
371
+ hidden?: unknown;
372
+ encoding?: any;
373
+ description: string;
374
+ template: string;
375
+ command: string;
376
+ handler: string;
377
+ }>;
378
+ declare const generatedSchemas: {
379
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
380
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
381
+ schema: z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
382
+ options?: _taqueria_protocol_Base.Flatten<{
383
+ boolean?: boolean | undefined;
384
+ type?: "string" | "number" | "boolean" | undefined;
385
+ shortFlag?: (string & {
386
+ readonly __kind: any;
387
+ }) | undefined;
388
+ defaultValue?: string | number | boolean | undefined;
389
+ choices?: string[] | undefined;
390
+ required?: boolean | undefined;
391
+ description: string;
392
+ flag: string & {
393
+ readonly __kind: any;
394
+ };
395
+ } & {
396
+ readonly __kind: any;
397
+ }>[] | undefined;
398
+ positionals?: ({
399
+ type?: "string" | "number" | "boolean" | undefined;
400
+ defaultValue?: string | number | boolean | undefined;
401
+ required?: boolean | undefined;
402
+ description: string;
403
+ placeholder: string & {
404
+ readonly __kind: any;
405
+ };
406
+ } & {
407
+ readonly __kind: any;
408
+ })[] | undefined;
409
+ hidden?: boolean | undefined;
410
+ description: string;
411
+ template: string & {
412
+ readonly __kind: any;
413
+ };
414
+ command: string & {
415
+ readonly __kind: any;
416
+ };
417
+ handler: string;
418
+ encoding: ("none" | "json" | "application/json" | undefined) & {
419
+ readonly __kind: any;
420
+ };
421
+ } & {
422
+ readonly __kind: any;
423
+ }, any>;
424
+ };
425
+ declare const factory: {
426
+ make: (input: {
427
+ options?: _taqueria_protocol_Base.Flatten<{
428
+ boolean?: boolean | undefined;
429
+ type?: "string" | "number" | "boolean" | undefined;
430
+ shortFlag?: (string & {
431
+ readonly __kind: any;
432
+ }) | undefined;
433
+ defaultValue?: string | number | boolean | undefined;
434
+ choices?: string[] | undefined;
435
+ required?: boolean | undefined;
436
+ description: string;
437
+ flag: string & {
438
+ readonly __kind: any;
439
+ };
440
+ } & {
441
+ readonly __kind: any;
442
+ }>[] | undefined;
443
+ positionals?: ({
444
+ type?: "string" | "number" | "boolean" | undefined;
445
+ defaultValue?: string | number | boolean | undefined;
446
+ required?: boolean | undefined;
447
+ description: string;
448
+ placeholder: string & {
449
+ readonly __kind: any;
450
+ };
451
+ } & {
452
+ readonly __kind: any;
453
+ })[] | undefined;
454
+ hidden?: boolean | undefined;
455
+ description: string;
456
+ template: string & {
457
+ readonly __kind: any;
458
+ };
459
+ command: string & {
460
+ readonly __kind: any;
461
+ };
462
+ handler: string;
463
+ encoding: ("none" | "json" | "application/json" | undefined) & {
464
+ readonly __kind: any;
465
+ };
466
+ }) => fluture.FutureInstance<TaqError, {
467
+ options?: _taqueria_protocol_Base.Flatten<{
468
+ boolean?: boolean | undefined;
469
+ type?: "string" | "number" | "boolean" | undefined;
470
+ shortFlag?: (string & {
471
+ readonly __kind: any;
472
+ }) | undefined;
473
+ defaultValue?: string | number | boolean | undefined;
474
+ choices?: string[] | undefined;
475
+ required?: boolean | undefined;
476
+ description: string;
477
+ flag: string & {
478
+ readonly __kind: any;
479
+ };
480
+ } & {
481
+ readonly __kind: any;
482
+ }>[] | undefined;
483
+ positionals?: ({
484
+ type?: "string" | "number" | "boolean" | undefined;
485
+ defaultValue?: string | number | boolean | undefined;
486
+ required?: boolean | undefined;
487
+ description: string;
488
+ placeholder: string & {
489
+ readonly __kind: any;
490
+ };
491
+ } & {
492
+ readonly __kind: any;
493
+ })[] | undefined;
494
+ hidden?: boolean | undefined;
495
+ description: string;
496
+ template: string & {
497
+ readonly __kind: any;
498
+ };
499
+ command: string & {
500
+ readonly __kind: any;
501
+ };
502
+ handler: string;
503
+ encoding: ("none" | "json" | "application/json" | undefined) & {
504
+ readonly __kind: any;
505
+ };
506
+ } & {
507
+ readonly __kind: any;
508
+ }>;
509
+ of: (input: unknown) => fluture.FutureInstance<TaqError, {
510
+ options?: _taqueria_protocol_Base.Flatten<{
511
+ boolean?: boolean | undefined;
512
+ type?: "string" | "number" | "boolean" | undefined;
513
+ shortFlag?: (string & {
514
+ readonly __kind: any;
515
+ }) | undefined;
516
+ defaultValue?: string | number | boolean | undefined;
517
+ choices?: string[] | undefined;
518
+ required?: boolean | undefined;
519
+ description: string;
520
+ flag: string & {
521
+ readonly __kind: any;
522
+ };
523
+ } & {
524
+ readonly __kind: any;
525
+ }>[] | undefined;
526
+ positionals?: ({
527
+ type?: "string" | "number" | "boolean" | undefined;
528
+ defaultValue?: string | number | boolean | undefined;
529
+ required?: boolean | undefined;
530
+ description: string;
531
+ placeholder: string & {
532
+ readonly __kind: any;
533
+ };
534
+ } & {
535
+ readonly __kind: any;
536
+ })[] | undefined;
537
+ hidden?: boolean | undefined;
538
+ description: string;
539
+ template: string & {
540
+ readonly __kind: any;
541
+ };
542
+ command: string & {
543
+ readonly __kind: any;
544
+ };
545
+ handler: string;
546
+ encoding: ("none" | "json" | "application/json" | undefined) & {
547
+ readonly __kind: any;
548
+ };
549
+ } & {
550
+ readonly __kind: any;
551
+ }>;
552
+ create: (input: {
553
+ options?: _taqueria_protocol_Base.Flatten<{
554
+ boolean?: boolean | undefined;
555
+ type?: "string" | "number" | "boolean" | undefined;
556
+ shortFlag?: (string & {
557
+ readonly __kind: any;
558
+ }) | undefined;
559
+ defaultValue?: string | number | boolean | undefined;
560
+ choices?: string[] | undefined;
561
+ required?: boolean | undefined;
562
+ description: string;
563
+ flag: string & {
564
+ readonly __kind: any;
565
+ };
566
+ } & {
567
+ readonly __kind: any;
568
+ }>[] | undefined;
569
+ positionals?: ({
570
+ type?: "string" | "number" | "boolean" | undefined;
571
+ defaultValue?: string | number | boolean | undefined;
572
+ required?: boolean | undefined;
573
+ description: string;
574
+ placeholder: string & {
575
+ readonly __kind: any;
576
+ };
577
+ } & {
578
+ readonly __kind: any;
579
+ })[] | undefined;
580
+ hidden?: boolean | undefined;
581
+ description: string;
582
+ template: string & {
583
+ readonly __kind: any;
584
+ };
585
+ command: string & {
586
+ readonly __kind: any;
587
+ };
588
+ handler: string;
589
+ encoding: ("none" | "json" | "application/json" | undefined) & {
590
+ readonly __kind: any;
591
+ };
592
+ } | {
593
+ options?: {
594
+ boolean?: boolean | undefined;
595
+ type?: "string" | "number" | "boolean" | undefined;
596
+ shortFlag?: string | undefined;
597
+ defaultValue?: string | number | boolean | undefined;
598
+ choices?: string[] | undefined;
599
+ required?: boolean | undefined;
600
+ description: string;
601
+ flag: string;
602
+ }[] | undefined;
603
+ positionals?: {
604
+ type?: "string" | "number" | "boolean" | undefined;
605
+ defaultValue?: string | number | boolean | undefined;
606
+ required?: boolean | undefined;
607
+ description: string;
608
+ placeholder: string;
609
+ }[] | undefined;
610
+ hidden?: boolean | undefined;
611
+ description: string;
612
+ template: string;
613
+ command: string;
614
+ handler: string;
615
+ encoding: ("none" | "json" | "application/json" | undefined) & {
616
+ readonly __kind: any;
617
+ };
618
+ }) => {
619
+ options?: _taqueria_protocol_Base.Flatten<{
620
+ boolean?: boolean | undefined;
621
+ type?: "string" | "number" | "boolean" | undefined;
622
+ shortFlag?: (string & {
623
+ readonly __kind: any;
624
+ }) | undefined;
625
+ defaultValue?: string | number | boolean | undefined;
626
+ choices?: string[] | undefined;
627
+ required?: boolean | undefined;
628
+ description: string;
629
+ flag: string & {
630
+ readonly __kind: any;
631
+ };
632
+ } & {
633
+ readonly __kind: any;
634
+ }>[] | undefined;
635
+ positionals?: ({
636
+ type?: "string" | "number" | "boolean" | undefined;
637
+ defaultValue?: string | number | boolean | undefined;
638
+ required?: boolean | undefined;
639
+ description: string;
640
+ placeholder: string & {
641
+ readonly __kind: any;
642
+ };
643
+ } & {
644
+ readonly __kind: any;
645
+ })[] | undefined;
646
+ hidden?: boolean | undefined;
647
+ description: string;
648
+ template: string & {
649
+ readonly __kind: any;
650
+ };
651
+ command: string & {
652
+ readonly __kind: any;
653
+ };
654
+ handler: string;
655
+ encoding: ("none" | "json" | "application/json" | undefined) & {
656
+ readonly __kind: any;
657
+ };
658
+ } & {
659
+ readonly __kind: any;
660
+ };
661
+ from: (input: unknown) => {
662
+ options?: _taqueria_protocol_Base.Flatten<{
663
+ boolean?: boolean | undefined;
664
+ type?: "string" | "number" | "boolean" | undefined;
665
+ shortFlag?: (string & {
666
+ readonly __kind: any;
667
+ }) | undefined;
668
+ defaultValue?: string | number | boolean | undefined;
669
+ choices?: string[] | undefined;
670
+ required?: boolean | undefined;
671
+ description: string;
672
+ flag: string & {
673
+ readonly __kind: any;
674
+ };
675
+ } & {
676
+ readonly __kind: any;
677
+ }>[] | undefined;
678
+ positionals?: ({
679
+ type?: "string" | "number" | "boolean" | undefined;
680
+ defaultValue?: string | number | boolean | undefined;
681
+ required?: boolean | undefined;
682
+ description: string;
683
+ placeholder: string & {
684
+ readonly __kind: any;
685
+ };
686
+ } & {
687
+ readonly __kind: any;
688
+ })[] | undefined;
689
+ hidden?: boolean | undefined;
690
+ description: string;
691
+ template: string & {
692
+ readonly __kind: any;
693
+ };
694
+ command: string & {
695
+ readonly __kind: any;
696
+ };
697
+ handler: string;
698
+ encoding: ("none" | "json" | "application/json" | undefined) & {
699
+ readonly __kind: any;
700
+ };
701
+ } & {
702
+ readonly __kind: any;
703
+ };
704
+ };
705
+ declare type ParsedTemplate = z.infer<typeof generatedSchemas.schema>;
706
+ declare type t = ParsedTemplate;
707
+ declare const create: (input: {
708
+ options?: _taqueria_protocol_Base.Flatten<{
709
+ boolean?: boolean | undefined;
710
+ type?: "string" | "number" | "boolean" | undefined;
711
+ shortFlag?: (string & {
712
+ readonly __kind: any;
713
+ }) | undefined;
714
+ defaultValue?: string | number | boolean | undefined;
715
+ choices?: string[] | undefined;
716
+ required?: boolean | undefined;
717
+ description: string;
718
+ flag: string & {
719
+ readonly __kind: any;
720
+ };
721
+ } & {
722
+ readonly __kind: any;
723
+ }>[] | undefined;
724
+ positionals?: ({
725
+ type?: "string" | "number" | "boolean" | undefined;
726
+ defaultValue?: string | number | boolean | undefined;
727
+ required?: boolean | undefined;
728
+ description: string;
729
+ placeholder: string & {
730
+ readonly __kind: any;
731
+ };
732
+ } & {
733
+ readonly __kind: any;
734
+ })[] | undefined;
735
+ hidden?: boolean | undefined;
736
+ description: string;
737
+ template: string & {
738
+ readonly __kind: any;
739
+ };
740
+ command: string & {
741
+ readonly __kind: any;
742
+ };
743
+ handler: string;
744
+ encoding: ("none" | "json" | "application/json" | undefined) & {
745
+ readonly __kind: any;
746
+ };
747
+ } | {
748
+ options?: {
749
+ boolean?: boolean | undefined;
750
+ type?: "string" | "number" | "boolean" | undefined;
751
+ shortFlag?: string | undefined;
752
+ defaultValue?: string | number | boolean | undefined;
753
+ choices?: string[] | undefined;
754
+ required?: boolean | undefined;
755
+ description: string;
756
+ flag: string;
757
+ }[] | undefined;
758
+ positionals?: {
759
+ type?: "string" | "number" | "boolean" | undefined;
760
+ defaultValue?: string | number | boolean | undefined;
761
+ required?: boolean | undefined;
762
+ description: string;
763
+ placeholder: string;
764
+ }[] | undefined;
765
+ hidden?: boolean | undefined;
766
+ description: string;
767
+ template: string;
768
+ command: string;
769
+ handler: string;
770
+ encoding: ("none" | "json" | "application/json" | undefined) & {
771
+ readonly __kind: any;
772
+ };
773
+ }) => {
774
+ options?: _taqueria_protocol_Base.Flatten<{
775
+ boolean?: boolean | undefined;
776
+ type?: "string" | "number" | "boolean" | undefined;
777
+ shortFlag?: (string & {
778
+ readonly __kind: any;
779
+ }) | undefined;
780
+ defaultValue?: string | number | boolean | undefined;
781
+ choices?: string[] | undefined;
782
+ required?: boolean | undefined;
783
+ description: string;
784
+ flag: string & {
785
+ readonly __kind: any;
786
+ };
787
+ } & {
788
+ readonly __kind: any;
789
+ }>[] | undefined;
790
+ positionals?: ({
791
+ type?: "string" | "number" | "boolean" | undefined;
792
+ defaultValue?: string | number | boolean | undefined;
793
+ required?: boolean | undefined;
794
+ description: string;
795
+ placeholder: string & {
796
+ readonly __kind: any;
797
+ };
798
+ } & {
799
+ readonly __kind: any;
800
+ })[] | undefined;
801
+ hidden?: boolean | undefined;
802
+ description: string;
803
+ template: string & {
804
+ readonly __kind: any;
805
+ };
806
+ command: string & {
807
+ readonly __kind: any;
808
+ };
809
+ handler: string;
810
+ encoding: ("none" | "json" | "application/json" | undefined) & {
811
+ readonly __kind: any;
812
+ };
813
+ } & {
814
+ readonly __kind: any;
815
+ };
816
+ declare const make: (input: {
817
+ options?: _taqueria_protocol_Base.Flatten<{
818
+ boolean?: boolean | undefined;
819
+ type?: "string" | "number" | "boolean" | undefined;
820
+ shortFlag?: (string & {
821
+ readonly __kind: any;
822
+ }) | undefined;
823
+ defaultValue?: string | number | boolean | undefined;
824
+ choices?: string[] | undefined;
825
+ required?: boolean | undefined;
826
+ description: string;
827
+ flag: string & {
828
+ readonly __kind: any;
829
+ };
830
+ } & {
831
+ readonly __kind: any;
832
+ }>[] | undefined;
833
+ positionals?: ({
834
+ type?: "string" | "number" | "boolean" | undefined;
835
+ defaultValue?: string | number | boolean | undefined;
836
+ required?: boolean | undefined;
837
+ description: string;
838
+ placeholder: string & {
839
+ readonly __kind: any;
840
+ };
841
+ } & {
842
+ readonly __kind: any;
843
+ })[] | undefined;
844
+ hidden?: boolean | undefined;
845
+ description: string;
846
+ template: string & {
847
+ readonly __kind: any;
848
+ };
849
+ command: string & {
850
+ readonly __kind: any;
851
+ };
852
+ handler: string;
853
+ encoding: ("none" | "json" | "application/json" | undefined) & {
854
+ readonly __kind: any;
855
+ };
856
+ }) => fluture.FutureInstance<TaqError, {
857
+ options?: _taqueria_protocol_Base.Flatten<{
858
+ boolean?: boolean | undefined;
859
+ type?: "string" | "number" | "boolean" | undefined;
860
+ shortFlag?: (string & {
861
+ readonly __kind: any;
862
+ }) | undefined;
863
+ defaultValue?: string | number | boolean | undefined;
864
+ choices?: string[] | undefined;
865
+ required?: boolean | undefined;
866
+ description: string;
867
+ flag: string & {
868
+ readonly __kind: any;
869
+ };
870
+ } & {
871
+ readonly __kind: any;
872
+ }>[] | undefined;
873
+ positionals?: ({
874
+ type?: "string" | "number" | "boolean" | undefined;
875
+ defaultValue?: string | number | boolean | undefined;
876
+ required?: boolean | undefined;
877
+ description: string;
878
+ placeholder: string & {
879
+ readonly __kind: any;
880
+ };
881
+ } & {
882
+ readonly __kind: any;
883
+ })[] | undefined;
884
+ hidden?: boolean | undefined;
885
+ description: string;
886
+ template: string & {
887
+ readonly __kind: any;
888
+ };
889
+ command: string & {
890
+ readonly __kind: any;
891
+ };
892
+ handler: string;
893
+ encoding: ("none" | "json" | "application/json" | undefined) & {
894
+ readonly __kind: any;
895
+ };
896
+ } & {
897
+ readonly __kind: any;
898
+ }>;
899
+ declare const of: (input: unknown) => fluture.FutureInstance<TaqError, {
900
+ options?: _taqueria_protocol_Base.Flatten<{
901
+ boolean?: boolean | undefined;
902
+ type?: "string" | "number" | "boolean" | undefined;
903
+ shortFlag?: (string & {
904
+ readonly __kind: any;
905
+ }) | undefined;
906
+ defaultValue?: string | number | boolean | undefined;
907
+ choices?: string[] | undefined;
908
+ required?: boolean | undefined;
909
+ description: string;
910
+ flag: string & {
911
+ readonly __kind: any;
912
+ };
913
+ } & {
914
+ readonly __kind: any;
915
+ }>[] | undefined;
916
+ positionals?: ({
917
+ type?: "string" | "number" | "boolean" | undefined;
918
+ defaultValue?: string | number | boolean | undefined;
919
+ required?: boolean | undefined;
920
+ description: string;
921
+ placeholder: string & {
922
+ readonly __kind: any;
923
+ };
924
+ } & {
925
+ readonly __kind: any;
926
+ })[] | undefined;
927
+ hidden?: boolean | undefined;
928
+ description: string;
929
+ template: string & {
930
+ readonly __kind: any;
931
+ };
932
+ command: string & {
933
+ readonly __kind: any;
934
+ };
935
+ handler: string;
936
+ encoding: ("none" | "json" | "application/json" | undefined) & {
937
+ readonly __kind: any;
938
+ };
939
+ } & {
940
+ readonly __kind: any;
941
+ }>;
942
+ declare const schemas: {
943
+ schema: z.ZodEffects<z.ZodEffects<z.ZodType<any, z.ZodTypeDef, any>, {
944
+ options?: _taqueria_protocol_Base.Flatten<{
945
+ boolean?: boolean | undefined;
946
+ type?: "string" | "number" | "boolean" | undefined;
947
+ shortFlag?: (string & {
948
+ readonly __kind: any;
949
+ }) | undefined;
950
+ defaultValue?: string | number | boolean | undefined;
951
+ choices?: string[] | undefined;
952
+ required?: boolean | undefined;
953
+ description: string;
954
+ flag: string & {
955
+ readonly __kind: any;
956
+ };
957
+ } & {
958
+ readonly __kind: any;
959
+ }>[] | undefined;
960
+ positionals?: ({
961
+ type?: "string" | "number" | "boolean" | undefined;
962
+ defaultValue?: string | number | boolean | undefined;
963
+ required?: boolean | undefined;
964
+ description: string;
965
+ placeholder: string & {
966
+ readonly __kind: any;
967
+ };
968
+ } & {
969
+ readonly __kind: any;
970
+ })[] | undefined;
971
+ hidden?: boolean | undefined;
972
+ description: string;
973
+ template: string & {
974
+ readonly __kind: any;
975
+ };
976
+ command: string & {
977
+ readonly __kind: any;
978
+ };
979
+ handler: string;
980
+ encoding: ("none" | "json" | "application/json" | undefined) & {
981
+ readonly __kind: any;
982
+ };
983
+ } & {
984
+ readonly __kind: any;
985
+ }, any>, {
986
+ options?: _taqueria_protocol_Base.Flatten<{
987
+ boolean?: boolean | undefined;
988
+ type?: "string" | "number" | "boolean" | undefined;
989
+ shortFlag?: (string & {
990
+ readonly __kind: any;
991
+ }) | undefined;
992
+ defaultValue?: string | number | boolean | undefined;
993
+ choices?: string[] | undefined;
994
+ required?: boolean | undefined;
995
+ description: string;
996
+ flag: string & {
997
+ readonly __kind: any;
998
+ };
999
+ } & {
1000
+ readonly __kind: any;
1001
+ }>[] | undefined;
1002
+ positionals?: ({
1003
+ type?: "string" | "number" | "boolean" | undefined;
1004
+ defaultValue?: string | number | boolean | undefined;
1005
+ required?: boolean | undefined;
1006
+ description: string;
1007
+ placeholder: string & {
1008
+ readonly __kind: any;
1009
+ };
1010
+ } & {
1011
+ readonly __kind: any;
1012
+ })[] | undefined;
1013
+ hidden?: boolean | undefined;
1014
+ description: string;
1015
+ template: string & {
1016
+ readonly __kind: any;
1017
+ };
1018
+ command: string & {
1019
+ readonly __kind: any;
1020
+ };
1021
+ handler: string;
1022
+ encoding: ("none" | "json" | "application/json" | undefined) & {
1023
+ readonly __kind: any;
1024
+ };
1025
+ } & {
1026
+ readonly __kind: any;
1027
+ }, any>;
1028
+ rawSchema: z.ZodType<any, z.ZodTypeDef, any>;
1029
+ internalSchema: z.ZodType<any, z.ZodTypeDef, any>;
1030
+ };
1031
+
1032
+ export { ParsedTemplate, create, factory, generatedSchemas, make, of, rawSchema, schemas, t };