@rspack/core 0.3.1 → 0.3.2

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 (228) hide show
  1. package/dist/Compilation.d.ts.map +1 -1
  2. package/dist/Compilation.js +2 -0
  3. package/dist/Compilation.js.map +1 -1
  4. package/dist/Compiler.d.ts +3 -0
  5. package/dist/Compiler.d.ts.map +1 -1
  6. package/dist/Compiler.js +75 -31
  7. package/dist/Compiler.js.map +1 -1
  8. package/dist/Stats.d.ts +1 -1
  9. package/dist/Stats.d.ts.map +1 -1
  10. package/dist/Stats.js +2 -1
  11. package/dist/Stats.js.map +1 -1
  12. package/dist/builtin-plugin/BannerPlugin.d.ts +20 -0
  13. package/dist/builtin-plugin/BannerPlugin.d.ts.map +1 -0
  14. package/dist/builtin-plugin/BannerPlugin.js +43 -0
  15. package/dist/builtin-plugin/BannerPlugin.js.map +1 -0
  16. package/dist/builtin-plugin/CopyPlugin.d.ts +13 -0
  17. package/dist/builtin-plugin/CopyPlugin.d.ts.map +1 -0
  18. package/dist/builtin-plugin/CopyPlugin.js +21 -0
  19. package/dist/builtin-plugin/CopyPlugin.js.map +1 -0
  20. package/dist/builtin-plugin/DefinePlugin.d.ts +8 -0
  21. package/dist/builtin-plugin/DefinePlugin.d.ts.map +1 -0
  22. package/dist/builtin-plugin/DefinePlugin.js +13 -0
  23. package/dist/builtin-plugin/DefinePlugin.js.map +1 -0
  24. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +7 -0
  25. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts.map +1 -0
  26. package/dist/builtin-plugin/ElectronTargetPlugin.js +5 -0
  27. package/dist/builtin-plugin/ElectronTargetPlugin.js.map +1 -0
  28. package/dist/builtin-plugin/EntryPlugin.d.ts +18 -0
  29. package/dist/builtin-plugin/EntryPlugin.d.ts.map +1 -0
  30. package/dist/builtin-plugin/EntryPlugin.js +24 -0
  31. package/dist/builtin-plugin/EntryPlugin.js.map +1 -0
  32. package/dist/builtin-plugin/ExternalsPlugin.d.ts +24 -0
  33. package/dist/builtin-plugin/ExternalsPlugin.d.ts.map +1 -0
  34. package/dist/builtin-plugin/ExternalsPlugin.js +63 -0
  35. package/dist/builtin-plugin/ExternalsPlugin.js.map +1 -0
  36. package/dist/builtin-plugin/HtmlPlugin.d.ts +72 -0
  37. package/dist/builtin-plugin/HtmlPlugin.d.ts.map +1 -0
  38. package/dist/builtin-plugin/HtmlPlugin.js +39 -0
  39. package/dist/builtin-plugin/HtmlPlugin.js.map +1 -0
  40. package/dist/builtin-plugin/HttpExternalsPlugin.d.ts +8 -0
  41. package/dist/builtin-plugin/HttpExternalsPlugin.d.ts.map +1 -0
  42. package/dist/builtin-plugin/HttpExternalsPlugin.js +9 -0
  43. package/dist/builtin-plugin/HttpExternalsPlugin.js.map +1 -0
  44. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +7 -0
  45. package/dist/builtin-plugin/NodeTargetPlugin.d.ts.map +1 -0
  46. package/dist/builtin-plugin/NodeTargetPlugin.js +5 -0
  47. package/dist/builtin-plugin/NodeTargetPlugin.js.map +1 -0
  48. package/dist/builtin-plugin/ProgressPlugin.d.ts +9 -0
  49. package/dist/builtin-plugin/ProgressPlugin.d.ts.map +1 -0
  50. package/dist/builtin-plugin/ProgressPlugin.js +5 -0
  51. package/dist/builtin-plugin/ProgressPlugin.js.map +1 -0
  52. package/dist/builtin-plugin/ProvidePlugin.d.ts +8 -0
  53. package/dist/builtin-plugin/ProvidePlugin.d.ts.map +1 -0
  54. package/dist/builtin-plugin/ProvidePlugin.js +13 -0
  55. package/dist/builtin-plugin/ProvidePlugin.js.map +1 -0
  56. package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts +7 -0
  57. package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts.map +1 -0
  58. package/dist/builtin-plugin/SwcCssMinimizerPlugin.js +5 -0
  59. package/dist/builtin-plugin/SwcCssMinimizerPlugin.js.map +1 -0
  60. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +22 -0
  61. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts.map +1 -0
  62. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js +46 -0
  63. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js.map +1 -0
  64. package/dist/builtin-plugin/base.d.ts +28 -0
  65. package/dist/builtin-plugin/base.d.ts.map +1 -0
  66. package/dist/builtin-plugin/base.js +43 -0
  67. package/dist/builtin-plugin/base.js.map +1 -0
  68. package/dist/builtin-plugin/index.d.ts +65 -0
  69. package/dist/builtin-plugin/index.d.ts.map +1 -0
  70. package/dist/builtin-plugin/index.js +240 -0
  71. package/dist/builtin-plugin/index.js.map +1 -0
  72. package/dist/config/adapter.d.ts +2 -1
  73. package/dist/config/adapter.d.ts.map +1 -1
  74. package/dist/config/adapter.js +70 -101
  75. package/dist/config/adapter.js.map +1 -1
  76. package/dist/config/adapterRuleUse.d.ts +1 -1
  77. package/dist/config/adapterRuleUse.d.ts.map +1 -1
  78. package/dist/config/defaults.d.ts +1 -1
  79. package/dist/config/defaults.d.ts.map +1 -1
  80. package/dist/config/defaults.js +13 -34
  81. package/dist/config/defaults.js.map +1 -1
  82. package/dist/config/index.d.ts +1 -2
  83. package/dist/config/index.d.ts.map +1 -1
  84. package/dist/config/index.js +1 -32
  85. package/dist/config/index.js.map +1 -1
  86. package/dist/config/normalization.d.ts +103 -1
  87. package/dist/config/normalization.d.ts.map +1 -1
  88. package/dist/config/normalization.js +3 -3
  89. package/dist/config/normalization.js.map +1 -1
  90. package/dist/config/target.d.ts +5 -1
  91. package/dist/config/target.d.ts.map +1 -1
  92. package/dist/config/target.js +4 -0
  93. package/dist/config/target.js.map +1 -1
  94. package/dist/config/zod.d.ts +3929 -0
  95. package/dist/config/zod.d.ts.map +1 -0
  96. package/dist/config/zod.js +648 -0
  97. package/dist/config/zod.js.map +1 -0
  98. package/dist/index.d.ts +20 -0
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +14 -1
  101. package/dist/index.js.map +1 -1
  102. package/dist/lib/EntryOptionPlugin.d.ts +16 -0
  103. package/dist/lib/EntryOptionPlugin.d.ts.map +1 -0
  104. package/dist/lib/EntryOptionPlugin.js +75 -0
  105. package/dist/lib/EntryOptionPlugin.js.map +1 -0
  106. package/dist/lib/EnvironmentPlugin.d.ts.map +1 -1
  107. package/dist/lib/EnvironmentPlugin.js +2 -7
  108. package/dist/lib/EnvironmentPlugin.js.map +1 -1
  109. package/dist/loader-runner/index.js.map +1 -1
  110. package/dist/rspack.d.ts.map +1 -1
  111. package/dist/rspack.js +2 -6
  112. package/dist/rspack.js.map +1 -1
  113. package/dist/rspackOptionsApply.d.ts.map +1 -1
  114. package/dist/rspackOptionsApply.js +52 -10
  115. package/dist/rspackOptionsApply.js.map +1 -1
  116. package/dist/stats/DefaultStatsFactoryPlugin.d.ts.map +1 -1
  117. package/dist/stats/DefaultStatsFactoryPlugin.js +1 -1
  118. package/dist/stats/DefaultStatsFactoryPlugin.js.map +1 -1
  119. package/dist/util/comparators.d.ts +1 -1
  120. package/dist/util/index.d.ts +10 -0
  121. package/dist/util/index.d.ts.map +1 -1
  122. package/dist/util/index.js +13 -1
  123. package/dist/util/index.js.map +1 -1
  124. package/dist/util/validate.d.ts +2 -0
  125. package/dist/util/validate.d.ts.map +1 -0
  126. package/dist/util/validate.js +32 -0
  127. package/dist/util/validate.js.map +1 -0
  128. package/package.json +9 -9
  129. package/dist/config/builtins.d.ts +0 -99
  130. package/dist/config/builtins.d.ts.map +0 -1
  131. package/dist/config/builtins.js +0 -356
  132. package/dist/config/builtins.js.map +0 -1
  133. package/dist/config/schema.check.d.ts +0 -10
  134. package/dist/config/schema.check.d.ts.map +0 -1
  135. package/dist/config/schema.check.js +0 -10576
  136. package/dist/config/schema.check.js.map +0 -1
  137. package/dist/config/schema.d.ts +0 -2717
  138. package/dist/config/schema.d.ts.map +0 -1
  139. package/dist/config/schema.js +0 -2200
  140. package/dist/config/schema.js.map +0 -1
  141. package/dist/config/types.d.ts +0 -484
  142. package/dist/config/types.d.ts.map +0 -1
  143. package/dist/config/types.js +0 -11
  144. package/dist/config/types.js.map +0 -1
  145. package/dist/config/zod/_rewrite.d.ts +0 -12
  146. package/dist/config/zod/_rewrite.d.ts.map +0 -1
  147. package/dist/config/zod/_rewrite.js +0 -2
  148. package/dist/config/zod/_rewrite.js.map +0 -1
  149. package/dist/config/zod/builtins.d.ts +0 -167
  150. package/dist/config/zod/builtins.d.ts.map +0 -1
  151. package/dist/config/zod/builtins.js +0 -47
  152. package/dist/config/zod/builtins.js.map +0 -1
  153. package/dist/config/zod/devtool.d.ts +0 -2
  154. package/dist/config/zod/devtool.d.ts.map +0 -1
  155. package/dist/config/zod/devtool.js +0 -34
  156. package/dist/config/zod/devtool.js.map +0 -1
  157. package/dist/config/zod/entry.d.ts +0 -29
  158. package/dist/config/zod/entry.d.ts.map +0 -1
  159. package/dist/config/zod/entry.js +0 -35
  160. package/dist/config/zod/entry.js.map +0 -1
  161. package/dist/config/zod/experiments.d.ts +0 -38
  162. package/dist/config/zod/experiments.d.ts.map +0 -1
  163. package/dist/config/zod/experiments.js +0 -21
  164. package/dist/config/zod/experiments.js.map +0 -1
  165. package/dist/config/zod/externals-presets.d.ts +0 -23
  166. package/dist/config/zod/externals-presets.d.ts.map +0 -1
  167. package/dist/config/zod/externals-presets.js +0 -17
  168. package/dist/config/zod/externals-presets.js.map +0 -1
  169. package/dist/config/zod/externals-type.d.ts +0 -2
  170. package/dist/config/zod/externals-type.d.ts.map +0 -1
  171. package/dist/config/zod/externals-type.js +0 -30
  172. package/dist/config/zod/externals-type.js.map +0 -1
  173. package/dist/config/zod/externals.d.ts +0 -2
  174. package/dist/config/zod/externals.d.ts.map +0 -1
  175. package/dist/config/zod/externals.js +0 -13
  176. package/dist/config/zod/externals.js.map +0 -1
  177. package/dist/config/zod/index.d.ts +0 -1708
  178. package/dist/config/zod/index.d.ts.map +0 -1
  179. package/dist/config/zod/index.js +0 -58
  180. package/dist/config/zod/index.js.map +0 -1
  181. package/dist/config/zod/infrastructure-logging.d.ts +0 -23
  182. package/dist/config/zod/infrastructure-logging.d.ts.map +0 -1
  183. package/dist/config/zod/infrastructure-logging.js +0 -19
  184. package/dist/config/zod/infrastructure-logging.js.map +0 -1
  185. package/dist/config/zod/module.d.ts +0 -0
  186. package/dist/config/zod/module.d.ts.map +0 -1
  187. package/dist/config/zod/module.js +0 -1
  188. package/dist/config/zod/module.js.map +0 -1
  189. package/dist/config/zod/node.d.ts +0 -14
  190. package/dist/config/zod/node.d.ts.map +0 -1
  191. package/dist/config/zod/node.js +0 -23
  192. package/dist/config/zod/node.js.map +0 -1
  193. package/dist/config/zod/optimization/index.d.ts +0 -257
  194. package/dist/config/zod/optimization/index.d.ts.map +0 -1
  195. package/dist/config/zod/optimization/index.js +0 -32
  196. package/dist/config/zod/optimization/index.js.map +0 -1
  197. package/dist/config/zod/optimization/split-chunks.d.ts +0 -184
  198. package/dist/config/zod/optimization/split-chunks.d.ts.map +0 -1
  199. package/dist/config/zod/optimization/split-chunks.js +0 -48
  200. package/dist/config/zod/optimization/split-chunks.js.map +0 -1
  201. package/dist/config/zod/output.d.ts +0 -275
  202. package/dist/config/zod/output.d.ts.map +0 -1
  203. package/dist/config/zod/output.js +0 -132
  204. package/dist/config/zod/output.js.map +0 -1
  205. package/dist/config/zod/plugins.d.ts +0 -12
  206. package/dist/config/zod/plugins.d.ts.map +0 -1
  207. package/dist/config/zod/plugins.js +0 -18
  208. package/dist/config/zod/plugins.js.map +0 -1
  209. package/dist/config/zod/resolve.d.ts +0 -49
  210. package/dist/config/zod/resolve.d.ts.map +0 -1
  211. package/dist/config/zod/resolve.js +0 -29
  212. package/dist/config/zod/resolve.js.map +0 -1
  213. package/dist/config/zod/snapshot.d.ts +0 -41
  214. package/dist/config/zod/snapshot.d.ts.map +0 -1
  215. package/dist/config/zod/snapshot.js +0 -21
  216. package/dist/config/zod/snapshot.js.map +0 -1
  217. package/dist/config/zod/stats.d.ts +0 -71
  218. package/dist/config/zod/stats.d.ts.map +0 -1
  219. package/dist/config/zod/stats.js +0 -36
  220. package/dist/config/zod/stats.js.map +0 -1
  221. package/dist/config/zod/target.d.ts +0 -2
  222. package/dist/config/zod/target.d.ts.map +0 -1
  223. package/dist/config/zod/target.js +0 -39
  224. package/dist/config/zod/target.js.map +0 -1
  225. package/dist/config/zod/watch-options.d.ts +0 -20
  226. package/dist/config/zod/watch-options.d.ts.map +0 -1
  227. package/dist/config/zod/watch-options.js +0 -21
  228. package/dist/config/zod/watch-options.js.map +0 -1
@@ -0,0 +1,3929 @@
1
+ /// <reference types="node" />
2
+ import { RawFuncUseCtx } from "@rspack/binding";
3
+ import { z } from "zod";
4
+ import { Compilation, Compiler } from "..";
5
+ import type * as oldBuiltins from "../builtin-plugin";
6
+ import type * as webpackDevServer from "webpack-dev-server";
7
+ declare const name: z.ZodString;
8
+ export type Name = z.infer<typeof name>;
9
+ declare const dependencies: z.ZodArray<z.ZodString, "many">;
10
+ export type Dependencies = z.infer<typeof dependencies>;
11
+ declare const context: z.ZodString;
12
+ export type Context = z.infer<typeof context>;
13
+ declare const mode: z.ZodEnum<["development", "production", "none"]>;
14
+ export type Mode = z.infer<typeof mode>;
15
+ declare const rawPublicPath: z.ZodString;
16
+ export type RawPublicPath = z.infer<typeof rawPublicPath>;
17
+ declare const publicPath: z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>;
18
+ export type PublicPath = z.infer<typeof publicPath>;
19
+ declare const baseUri: z.ZodString;
20
+ export type BaseUri = z.infer<typeof baseUri>;
21
+ declare const chunkLoadingType: z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>;
22
+ export type ChunkLoadingType = z.infer<typeof chunkLoadingType>;
23
+ declare const chunkLoading: z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>;
24
+ export type ChunkLoading = z.infer<typeof chunkLoading>;
25
+ declare const asyncChunks: z.ZodBoolean;
26
+ export type AsyncChunks = z.infer<typeof asyncChunks>;
27
+ declare const wasmLoadingType: z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>;
28
+ export type WasmLoadingType = z.infer<typeof wasmLoadingType>;
29
+ declare const wasmLoading: z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>;
30
+ export type WasmLoading = z.infer<typeof wasmLoading>;
31
+ declare const filenameTemplate: z.ZodString;
32
+ export type FilenameTemplate = z.infer<typeof filenameTemplate>;
33
+ declare const filename: z.ZodString;
34
+ export type Filename = z.infer<typeof filename>;
35
+ declare const entryFilename: z.ZodString;
36
+ export type EntryFilename = z.infer<typeof entryFilename>;
37
+ declare const entryRuntime: z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>;
38
+ export type EntryRuntime = z.infer<typeof entryRuntime>;
39
+ declare const entryItem: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
40
+ export type EntryItem = z.infer<typeof entryItem>;
41
+ declare const entryDescription: z.ZodObject<{
42
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
43
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
44
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
45
+ baseUri: z.ZodOptional<z.ZodString>;
46
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
47
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
48
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
49
+ filename: z.ZodOptional<z.ZodString>;
50
+ }, "strict", z.ZodTypeAny, {
51
+ import: (string | string[]) & (string | string[] | undefined);
52
+ runtime?: string | false | undefined;
53
+ publicPath?: string | undefined;
54
+ baseUri?: string | undefined;
55
+ chunkLoading?: string | false | undefined;
56
+ asyncChunks?: boolean | undefined;
57
+ wasmLoading?: string | false | undefined;
58
+ filename?: string | undefined;
59
+ }, {
60
+ import: (string | string[]) & (string | string[] | undefined);
61
+ runtime?: string | false | undefined;
62
+ publicPath?: string | undefined;
63
+ baseUri?: string | undefined;
64
+ chunkLoading?: string | false | undefined;
65
+ asyncChunks?: boolean | undefined;
66
+ wasmLoading?: string | false | undefined;
67
+ filename?: string | undefined;
68
+ }>;
69
+ export type EntryDescription = z.infer<typeof entryDescription>;
70
+ declare const entryUnnamed: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
71
+ export type EntryUnnamed = z.infer<typeof entryUnnamed>;
72
+ declare const entryObject: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
73
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
74
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
75
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
76
+ baseUri: z.ZodOptional<z.ZodString>;
77
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
78
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
79
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
80
+ filename: z.ZodOptional<z.ZodString>;
81
+ }, "strict", z.ZodTypeAny, {
82
+ import: (string | string[]) & (string | string[] | undefined);
83
+ runtime?: string | false | undefined;
84
+ publicPath?: string | undefined;
85
+ baseUri?: string | undefined;
86
+ chunkLoading?: string | false | undefined;
87
+ asyncChunks?: boolean | undefined;
88
+ wasmLoading?: string | false | undefined;
89
+ filename?: string | undefined;
90
+ }, {
91
+ import: (string | string[]) & (string | string[] | undefined);
92
+ runtime?: string | false | undefined;
93
+ publicPath?: string | undefined;
94
+ baseUri?: string | undefined;
95
+ chunkLoading?: string | false | undefined;
96
+ asyncChunks?: boolean | undefined;
97
+ wasmLoading?: string | false | undefined;
98
+ filename?: string | undefined;
99
+ }>]>>;
100
+ export type EntryObject = z.infer<typeof entryObject>;
101
+ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
102
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
103
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
104
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
105
+ baseUri: z.ZodOptional<z.ZodString>;
106
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
107
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
108
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
109
+ filename: z.ZodOptional<z.ZodString>;
110
+ }, "strict", z.ZodTypeAny, {
111
+ import: (string | string[]) & (string | string[] | undefined);
112
+ runtime?: string | false | undefined;
113
+ publicPath?: string | undefined;
114
+ baseUri?: string | undefined;
115
+ chunkLoading?: string | false | undefined;
116
+ asyncChunks?: boolean | undefined;
117
+ wasmLoading?: string | false | undefined;
118
+ filename?: string | undefined;
119
+ }, {
120
+ import: (string | string[]) & (string | string[] | undefined);
121
+ runtime?: string | false | undefined;
122
+ publicPath?: string | undefined;
123
+ baseUri?: string | undefined;
124
+ chunkLoading?: string | false | undefined;
125
+ asyncChunks?: boolean | undefined;
126
+ wasmLoading?: string | false | undefined;
127
+ filename?: string | undefined;
128
+ }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
129
+ export type EntryStatic = z.infer<typeof entryStatic>;
130
+ declare const entry: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
131
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
132
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
133
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
134
+ baseUri: z.ZodOptional<z.ZodString>;
135
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
136
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
137
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
138
+ filename: z.ZodOptional<z.ZodString>;
139
+ }, "strict", z.ZodTypeAny, {
140
+ import: (string | string[]) & (string | string[] | undefined);
141
+ runtime?: string | false | undefined;
142
+ publicPath?: string | undefined;
143
+ baseUri?: string | undefined;
144
+ chunkLoading?: string | false | undefined;
145
+ asyncChunks?: boolean | undefined;
146
+ wasmLoading?: string | false | undefined;
147
+ filename?: string | undefined;
148
+ }, {
149
+ import: (string | string[]) & (string | string[] | undefined);
150
+ runtime?: string | false | undefined;
151
+ publicPath?: string | undefined;
152
+ baseUri?: string | undefined;
153
+ chunkLoading?: string | false | undefined;
154
+ asyncChunks?: boolean | undefined;
155
+ wasmLoading?: string | false | undefined;
156
+ filename?: string | undefined;
157
+ }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
158
+ export type Entry = z.infer<typeof entry>;
159
+ declare const path: z.ZodString;
160
+ export type Path = z.infer<typeof path>;
161
+ declare const assetModuleFilename: z.ZodString;
162
+ export type AssetModuleFilename = z.infer<typeof assetModuleFilename>;
163
+ declare const webassemblyModuleFilename: z.ZodString;
164
+ export type WebassemblyModuleFilename = z.infer<typeof webassemblyModuleFilename>;
165
+ declare const chunkFilename: z.ZodString;
166
+ export type ChunkFilename = z.infer<typeof chunkFilename>;
167
+ declare const crossOriginLoading: z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>;
168
+ export type CrossOriginLoading = z.infer<typeof crossOriginLoading>;
169
+ declare const cssFilename: z.ZodString;
170
+ export type CssFilename = z.infer<typeof cssFilename>;
171
+ declare const cssChunkFilename: z.ZodString;
172
+ export type CssChunkFilename = z.infer<typeof cssChunkFilename>;
173
+ declare const hotUpdateChunkFilename: z.ZodString;
174
+ export type HotUpdateChunkFilename = z.infer<typeof hotUpdateChunkFilename>;
175
+ declare const hotUpdateMainFilename: z.ZodString;
176
+ export type HotUpdateMainFilename = z.infer<typeof hotUpdateMainFilename>;
177
+ declare const uniqueName: z.ZodString;
178
+ export type UniqueName = z.infer<typeof uniqueName>;
179
+ declare const chunkLoadingGlobal: z.ZodString;
180
+ export type ChunkLoadingGlobal = z.infer<typeof chunkLoadingGlobal>;
181
+ declare const libraryCustomUmdObject: z.ZodObject<{
182
+ amd: z.ZodOptional<z.ZodString>;
183
+ commonjs: z.ZodOptional<z.ZodString>;
184
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
185
+ }, "strict", z.ZodTypeAny, {
186
+ amd?: string | undefined;
187
+ commonjs?: string | undefined;
188
+ root?: string | string[] | undefined;
189
+ }, {
190
+ amd?: string | undefined;
191
+ commonjs?: string | undefined;
192
+ root?: string | string[] | undefined;
193
+ }>;
194
+ export type LibraryCustomUmdObject = z.infer<typeof libraryCustomUmdObject>;
195
+ declare const libraryName: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
196
+ amd: z.ZodOptional<z.ZodString>;
197
+ commonjs: z.ZodOptional<z.ZodString>;
198
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
199
+ }, "strict", z.ZodTypeAny, {
200
+ amd?: string | undefined;
201
+ commonjs?: string | undefined;
202
+ root?: string | string[] | undefined;
203
+ }, {
204
+ amd?: string | undefined;
205
+ commonjs?: string | undefined;
206
+ root?: string | string[] | undefined;
207
+ }>]>;
208
+ export type LibraryName = z.infer<typeof libraryName>;
209
+ declare const libraryCustomUmdCommentObject: z.ZodObject<{
210
+ amd: z.ZodOptional<z.ZodString>;
211
+ commonjs: z.ZodOptional<z.ZodString>;
212
+ commonjs2: z.ZodOptional<z.ZodString>;
213
+ root: z.ZodOptional<z.ZodString>;
214
+ }, "strict", z.ZodTypeAny, {
215
+ amd?: string | undefined;
216
+ commonjs?: string | undefined;
217
+ commonjs2?: string | undefined;
218
+ root?: string | undefined;
219
+ }, {
220
+ amd?: string | undefined;
221
+ commonjs?: string | undefined;
222
+ commonjs2?: string | undefined;
223
+ root?: string | undefined;
224
+ }>;
225
+ export type LibraryCustomUmdCommentObject = z.infer<typeof libraryCustomUmdCommentObject>;
226
+ declare const auxiliaryComment: z.ZodUnion<[z.ZodString, z.ZodObject<{
227
+ amd: z.ZodOptional<z.ZodString>;
228
+ commonjs: z.ZodOptional<z.ZodString>;
229
+ commonjs2: z.ZodOptional<z.ZodString>;
230
+ root: z.ZodOptional<z.ZodString>;
231
+ }, "strict", z.ZodTypeAny, {
232
+ amd?: string | undefined;
233
+ commonjs?: string | undefined;
234
+ commonjs2?: string | undefined;
235
+ root?: string | undefined;
236
+ }, {
237
+ amd?: string | undefined;
238
+ commonjs?: string | undefined;
239
+ commonjs2?: string | undefined;
240
+ root?: string | undefined;
241
+ }>]>;
242
+ export type AuxiliaryComment = z.infer<typeof auxiliaryComment>;
243
+ declare const libraryExport: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
244
+ export type LibraryExport = z.infer<typeof libraryExport>;
245
+ declare const libraryType: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
246
+ export type LibraryType = z.infer<typeof libraryType>;
247
+ declare const umdNamedDefine: z.ZodBoolean;
248
+ export type UmdNamedDefine = z.infer<typeof umdNamedDefine>;
249
+ declare const libraryOptions: z.ZodObject<{
250
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
251
+ amd: z.ZodOptional<z.ZodString>;
252
+ commonjs: z.ZodOptional<z.ZodString>;
253
+ commonjs2: z.ZodOptional<z.ZodString>;
254
+ root: z.ZodOptional<z.ZodString>;
255
+ }, "strict", z.ZodTypeAny, {
256
+ amd?: string | undefined;
257
+ commonjs?: string | undefined;
258
+ commonjs2?: string | undefined;
259
+ root?: string | undefined;
260
+ }, {
261
+ amd?: string | undefined;
262
+ commonjs?: string | undefined;
263
+ commonjs2?: string | undefined;
264
+ root?: string | undefined;
265
+ }>]>>;
266
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
267
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
268
+ amd: z.ZodOptional<z.ZodString>;
269
+ commonjs: z.ZodOptional<z.ZodString>;
270
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
271
+ }, "strict", z.ZodTypeAny, {
272
+ amd?: string | undefined;
273
+ commonjs?: string | undefined;
274
+ root?: string | string[] | undefined;
275
+ }, {
276
+ amd?: string | undefined;
277
+ commonjs?: string | undefined;
278
+ root?: string | string[] | undefined;
279
+ }>]>>;
280
+ type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
281
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
282
+ }, "strict", z.ZodTypeAny, {
283
+ type: string;
284
+ auxiliaryComment?: string | {
285
+ amd?: string | undefined;
286
+ commonjs?: string | undefined;
287
+ commonjs2?: string | undefined;
288
+ root?: string | undefined;
289
+ } | undefined;
290
+ export?: string | string[] | undefined;
291
+ name?: string | string[] | {
292
+ amd?: string | undefined;
293
+ commonjs?: string | undefined;
294
+ root?: string | string[] | undefined;
295
+ } | undefined;
296
+ umdNamedDefine?: boolean | undefined;
297
+ }, {
298
+ type: string;
299
+ auxiliaryComment?: string | {
300
+ amd?: string | undefined;
301
+ commonjs?: string | undefined;
302
+ commonjs2?: string | undefined;
303
+ root?: string | undefined;
304
+ } | undefined;
305
+ export?: string | string[] | undefined;
306
+ name?: string | string[] | {
307
+ amd?: string | undefined;
308
+ commonjs?: string | undefined;
309
+ root?: string | string[] | undefined;
310
+ } | undefined;
311
+ umdNamedDefine?: boolean | undefined;
312
+ }>;
313
+ export type LibraryOptions = z.infer<typeof libraryOptions>;
314
+ declare const enabledLibraryTypes: z.ZodArray<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>, "many">;
315
+ export type EnabledLibraryTypes = z.infer<typeof enabledLibraryTypes>;
316
+ declare const clean: z.ZodBoolean;
317
+ export type Clean = z.infer<typeof clean>;
318
+ declare const outputModule: z.ZodBoolean;
319
+ export type OutputModule = z.infer<typeof outputModule>;
320
+ declare const strictModuleErrorHandling: z.ZodBoolean;
321
+ export type StrictModuleErrorHandling = z.infer<typeof strictModuleErrorHandling>;
322
+ declare const globalObject: z.ZodString;
323
+ export type GlobalObject = z.infer<typeof globalObject>;
324
+ declare const enabledWasmLoadingTypes: z.ZodArray<z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>, "many">;
325
+ export type EnabledWasmLoadingTypes = z.infer<typeof enabledWasmLoadingTypes>;
326
+ declare const importFunctionName: z.ZodString;
327
+ export type ImportFunctionName = z.infer<typeof importFunctionName>;
328
+ declare const iife: z.ZodBoolean;
329
+ export type Iife = z.infer<typeof iife>;
330
+ declare const enabledChunkLoadingTypes: z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">;
331
+ export type EnabledChunkLoadingTypes = z.infer<typeof enabledChunkLoadingTypes>;
332
+ declare const chunkFormat: z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>;
333
+ export type ChunkFormat = z.infer<typeof chunkFormat>;
334
+ declare const workerPublicPath: z.ZodString;
335
+ export type WorkerPublicPath = z.infer<typeof workerPublicPath>;
336
+ declare const trustedTypes: z.ZodObject<{
337
+ policyName: z.ZodOptional<z.ZodString>;
338
+ }, "strict", z.ZodTypeAny, {
339
+ policyName?: string | undefined;
340
+ }, {
341
+ policyName?: string | undefined;
342
+ }>;
343
+ export type TrustedTypes = z.infer<typeof trustedTypes>;
344
+ declare const hashDigest: z.ZodString;
345
+ export type HashDigest = z.infer<typeof hashDigest>;
346
+ declare const hashDigestLength: z.ZodNumber;
347
+ export type HashDigestLength = z.infer<typeof hashDigestLength>;
348
+ declare const hashFunction: z.ZodString;
349
+ export type HashFunction = z.infer<typeof hashFunction>;
350
+ declare const hashSalt: z.ZodString;
351
+ export type HashSalt = z.infer<typeof hashSalt>;
352
+ declare const sourceMapFilename: z.ZodString;
353
+ export type SourceMapFilename = z.infer<typeof sourceMapFilename>;
354
+ declare const output: z.ZodObject<{
355
+ path: z.ZodOptional<z.ZodString>;
356
+ clean: z.ZodOptional<z.ZodBoolean>;
357
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
358
+ filename: z.ZodOptional<z.ZodString>;
359
+ chunkFilename: z.ZodOptional<z.ZodString>;
360
+ crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
361
+ cssFilename: z.ZodOptional<z.ZodString>;
362
+ cssChunkFilename: z.ZodOptional<z.ZodString>;
363
+ hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
364
+ hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
365
+ assetModuleFilename: z.ZodOptional<z.ZodString>;
366
+ uniqueName: z.ZodOptional<z.ZodString>;
367
+ chunkLoadingGlobal: z.ZodOptional<z.ZodString>;
368
+ enabledLibraryTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>, "many">>;
369
+ library: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
370
+ amd: z.ZodOptional<z.ZodString>;
371
+ commonjs: z.ZodOptional<z.ZodString>;
372
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
373
+ }, "strict", z.ZodTypeAny, {
374
+ amd?: string | undefined;
375
+ commonjs?: string | undefined;
376
+ root?: string | string[] | undefined;
377
+ }, {
378
+ amd?: string | undefined;
379
+ commonjs?: string | undefined;
380
+ root?: string | string[] | undefined;
381
+ }>]>, z.ZodObject<{
382
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
383
+ amd: z.ZodOptional<z.ZodString>;
384
+ commonjs: z.ZodOptional<z.ZodString>;
385
+ commonjs2: z.ZodOptional<z.ZodString>;
386
+ root: z.ZodOptional<z.ZodString>;
387
+ }, "strict", z.ZodTypeAny, {
388
+ amd?: string | undefined;
389
+ commonjs?: string | undefined;
390
+ commonjs2?: string | undefined;
391
+ root?: string | undefined;
392
+ }, {
393
+ amd?: string | undefined;
394
+ commonjs?: string | undefined;
395
+ commonjs2?: string | undefined;
396
+ root?: string | undefined;
397
+ }>]>>;
398
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
399
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
400
+ amd: z.ZodOptional<z.ZodString>;
401
+ commonjs: z.ZodOptional<z.ZodString>;
402
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
403
+ }, "strict", z.ZodTypeAny, {
404
+ amd?: string | undefined;
405
+ commonjs?: string | undefined;
406
+ root?: string | string[] | undefined;
407
+ }, {
408
+ amd?: string | undefined;
409
+ commonjs?: string | undefined;
410
+ root?: string | string[] | undefined;
411
+ }>]>>;
412
+ type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
413
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
414
+ }, "strict", z.ZodTypeAny, {
415
+ type: string;
416
+ auxiliaryComment?: string | {
417
+ amd?: string | undefined;
418
+ commonjs?: string | undefined;
419
+ commonjs2?: string | undefined;
420
+ root?: string | undefined;
421
+ } | undefined;
422
+ export?: string | string[] | undefined;
423
+ name?: string | string[] | {
424
+ amd?: string | undefined;
425
+ commonjs?: string | undefined;
426
+ root?: string | string[] | undefined;
427
+ } | undefined;
428
+ umdNamedDefine?: boolean | undefined;
429
+ }, {
430
+ type: string;
431
+ auxiliaryComment?: string | {
432
+ amd?: string | undefined;
433
+ commonjs?: string | undefined;
434
+ commonjs2?: string | undefined;
435
+ root?: string | undefined;
436
+ } | undefined;
437
+ export?: string | string[] | undefined;
438
+ name?: string | string[] | {
439
+ amd?: string | undefined;
440
+ commonjs?: string | undefined;
441
+ root?: string | string[] | undefined;
442
+ } | undefined;
443
+ umdNamedDefine?: boolean | undefined;
444
+ }>]>>;
445
+ libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
446
+ libraryTarget: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>>;
447
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
448
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
449
+ amd: z.ZodOptional<z.ZodString>;
450
+ commonjs: z.ZodOptional<z.ZodString>;
451
+ commonjs2: z.ZodOptional<z.ZodString>;
452
+ root: z.ZodOptional<z.ZodString>;
453
+ }, "strict", z.ZodTypeAny, {
454
+ amd?: string | undefined;
455
+ commonjs?: string | undefined;
456
+ commonjs2?: string | undefined;
457
+ root?: string | undefined;
458
+ }, {
459
+ amd?: string | undefined;
460
+ commonjs?: string | undefined;
461
+ commonjs2?: string | undefined;
462
+ root?: string | undefined;
463
+ }>]>>;
464
+ module: z.ZodOptional<z.ZodBoolean>;
465
+ strictModuleErrorHandling: z.ZodOptional<z.ZodBoolean>;
466
+ globalObject: z.ZodOptional<z.ZodString>;
467
+ importFunctionName: z.ZodOptional<z.ZodString>;
468
+ iife: z.ZodOptional<z.ZodBoolean>;
469
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
470
+ enabledWasmLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>, "many">>;
471
+ webassemblyModuleFilename: z.ZodOptional<z.ZodString>;
472
+ chunkFormat: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
473
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
474
+ enabledChunkLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">>;
475
+ trustedTypes: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<true>, z.ZodString]>, z.ZodObject<{
476
+ policyName: z.ZodOptional<z.ZodString>;
477
+ }, "strict", z.ZodTypeAny, {
478
+ policyName?: string | undefined;
479
+ }, {
480
+ policyName?: string | undefined;
481
+ }>]>>;
482
+ sourceMapFilename: z.ZodOptional<z.ZodString>;
483
+ hashDigest: z.ZodOptional<z.ZodString>;
484
+ hashDigestLength: z.ZodOptional<z.ZodNumber>;
485
+ hashFunction: z.ZodOptional<z.ZodString>;
486
+ hashSalt: z.ZodOptional<z.ZodString>;
487
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
488
+ workerChunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
489
+ workerWasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
490
+ workerPublicPath: z.ZodOptional<z.ZodString>;
491
+ }, "strict", z.ZodTypeAny, {
492
+ path?: string | undefined;
493
+ clean?: boolean | undefined;
494
+ publicPath?: string | undefined;
495
+ filename?: string | undefined;
496
+ chunkFilename?: string | undefined;
497
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
498
+ cssFilename?: string | undefined;
499
+ cssChunkFilename?: string | undefined;
500
+ hotUpdateMainFilename?: string | undefined;
501
+ hotUpdateChunkFilename?: string | undefined;
502
+ assetModuleFilename?: string | undefined;
503
+ uniqueName?: string | undefined;
504
+ chunkLoadingGlobal?: string | undefined;
505
+ enabledLibraryTypes?: string[] | undefined;
506
+ library?: string | string[] | {
507
+ amd?: string | undefined;
508
+ commonjs?: string | undefined;
509
+ root?: string | string[] | undefined;
510
+ } | {
511
+ type: string;
512
+ auxiliaryComment?: string | {
513
+ amd?: string | undefined;
514
+ commonjs?: string | undefined;
515
+ commonjs2?: string | undefined;
516
+ root?: string | undefined;
517
+ } | undefined;
518
+ export?: string | string[] | undefined;
519
+ name?: string | string[] | {
520
+ amd?: string | undefined;
521
+ commonjs?: string | undefined;
522
+ root?: string | string[] | undefined;
523
+ } | undefined;
524
+ umdNamedDefine?: boolean | undefined;
525
+ } | undefined;
526
+ libraryExport?: string | string[] | undefined;
527
+ libraryTarget?: string | undefined;
528
+ umdNamedDefine?: boolean | undefined;
529
+ auxiliaryComment?: string | {
530
+ amd?: string | undefined;
531
+ commonjs?: string | undefined;
532
+ commonjs2?: string | undefined;
533
+ root?: string | undefined;
534
+ } | undefined;
535
+ module?: boolean | undefined;
536
+ strictModuleErrorHandling?: boolean | undefined;
537
+ globalObject?: string | undefined;
538
+ importFunctionName?: string | undefined;
539
+ iife?: boolean | undefined;
540
+ wasmLoading?: string | false | undefined;
541
+ enabledWasmLoadingTypes?: string[] | undefined;
542
+ webassemblyModuleFilename?: string | undefined;
543
+ chunkFormat?: string | false | undefined;
544
+ chunkLoading?: string | false | undefined;
545
+ enabledChunkLoadingTypes?: string[] | undefined;
546
+ trustedTypes?: string | true | {
547
+ policyName?: string | undefined;
548
+ } | undefined;
549
+ sourceMapFilename?: string | undefined;
550
+ hashDigest?: string | undefined;
551
+ hashDigestLength?: number | undefined;
552
+ hashFunction?: string | undefined;
553
+ hashSalt?: string | undefined;
554
+ asyncChunks?: boolean | undefined;
555
+ workerChunkLoading?: string | false | undefined;
556
+ workerWasmLoading?: string | false | undefined;
557
+ workerPublicPath?: string | undefined;
558
+ }, {
559
+ path?: string | undefined;
560
+ clean?: boolean | undefined;
561
+ publicPath?: string | undefined;
562
+ filename?: string | undefined;
563
+ chunkFilename?: string | undefined;
564
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
565
+ cssFilename?: string | undefined;
566
+ cssChunkFilename?: string | undefined;
567
+ hotUpdateMainFilename?: string | undefined;
568
+ hotUpdateChunkFilename?: string | undefined;
569
+ assetModuleFilename?: string | undefined;
570
+ uniqueName?: string | undefined;
571
+ chunkLoadingGlobal?: string | undefined;
572
+ enabledLibraryTypes?: string[] | undefined;
573
+ library?: string | string[] | {
574
+ amd?: string | undefined;
575
+ commonjs?: string | undefined;
576
+ root?: string | string[] | undefined;
577
+ } | {
578
+ type: string;
579
+ auxiliaryComment?: string | {
580
+ amd?: string | undefined;
581
+ commonjs?: string | undefined;
582
+ commonjs2?: string | undefined;
583
+ root?: string | undefined;
584
+ } | undefined;
585
+ export?: string | string[] | undefined;
586
+ name?: string | string[] | {
587
+ amd?: string | undefined;
588
+ commonjs?: string | undefined;
589
+ root?: string | string[] | undefined;
590
+ } | undefined;
591
+ umdNamedDefine?: boolean | undefined;
592
+ } | undefined;
593
+ libraryExport?: string | string[] | undefined;
594
+ libraryTarget?: string | undefined;
595
+ umdNamedDefine?: boolean | undefined;
596
+ auxiliaryComment?: string | {
597
+ amd?: string | undefined;
598
+ commonjs?: string | undefined;
599
+ commonjs2?: string | undefined;
600
+ root?: string | undefined;
601
+ } | undefined;
602
+ module?: boolean | undefined;
603
+ strictModuleErrorHandling?: boolean | undefined;
604
+ globalObject?: string | undefined;
605
+ importFunctionName?: string | undefined;
606
+ iife?: boolean | undefined;
607
+ wasmLoading?: string | false | undefined;
608
+ enabledWasmLoadingTypes?: string[] | undefined;
609
+ webassemblyModuleFilename?: string | undefined;
610
+ chunkFormat?: string | false | undefined;
611
+ chunkLoading?: string | false | undefined;
612
+ enabledChunkLoadingTypes?: string[] | undefined;
613
+ trustedTypes?: string | true | {
614
+ policyName?: string | undefined;
615
+ } | undefined;
616
+ sourceMapFilename?: string | undefined;
617
+ hashDigest?: string | undefined;
618
+ hashDigestLength?: number | undefined;
619
+ hashFunction?: string | undefined;
620
+ hashSalt?: string | undefined;
621
+ asyncChunks?: boolean | undefined;
622
+ workerChunkLoading?: string | false | undefined;
623
+ workerWasmLoading?: string | false | undefined;
624
+ workerPublicPath?: string | undefined;
625
+ }>;
626
+ export type Output = z.infer<typeof output>;
627
+ declare const resolveAlias: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, "many">]>>;
628
+ export type ResolveAlias = z.infer<typeof resolveAlias>;
629
+ declare const baseResolveOptions: z.ZodObject<{
630
+ alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, "many">]>>>;
631
+ /**
632
+ * This is `aliasField: ["browser"]` in webpack, because no one
633
+ * uses aliasField other than "browser". ---@bvanjoi
634
+ */
635
+ browserField: z.ZodOptional<z.ZodBoolean>;
636
+ conditionNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
637
+ extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
638
+ fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, "many">]>>>;
639
+ mainFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
640
+ mainFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
641
+ modules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
642
+ preferRelative: z.ZodOptional<z.ZodBoolean>;
643
+ tsConfigPath: z.ZodOptional<z.ZodString>;
644
+ fullySpecified: z.ZodOptional<z.ZodBoolean>;
645
+ exportsFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
646
+ extensionAlias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
647
+ }, "strict", z.ZodTypeAny, {
648
+ alias?: Record<string, string | false | (string | false)[]> | undefined;
649
+ browserField?: boolean | undefined;
650
+ conditionNames?: string[] | undefined;
651
+ extensions?: string[] | undefined;
652
+ fallback?: Record<string, string | false | (string | false)[]> | undefined;
653
+ mainFields?: string[] | undefined;
654
+ mainFiles?: string[] | undefined;
655
+ modules?: string[] | undefined;
656
+ preferRelative?: boolean | undefined;
657
+ tsConfigPath?: string | undefined;
658
+ fullySpecified?: boolean | undefined;
659
+ exportsFields?: string[] | undefined;
660
+ extensionAlias?: Record<string, string | string[]> | undefined;
661
+ }, {
662
+ alias?: Record<string, string | false | (string | false)[]> | undefined;
663
+ browserField?: boolean | undefined;
664
+ conditionNames?: string[] | undefined;
665
+ extensions?: string[] | undefined;
666
+ fallback?: Record<string, string | false | (string | false)[]> | undefined;
667
+ mainFields?: string[] | undefined;
668
+ mainFiles?: string[] | undefined;
669
+ modules?: string[] | undefined;
670
+ preferRelative?: boolean | undefined;
671
+ tsConfigPath?: string | undefined;
672
+ fullySpecified?: boolean | undefined;
673
+ exportsFields?: string[] | undefined;
674
+ extensionAlias?: Record<string, string | string[]> | undefined;
675
+ }>;
676
+ export type ResolveOptions = z.infer<typeof baseResolveOptions> & {
677
+ byDependency?: Record<string, ResolveOptions>;
678
+ };
679
+ declare const resolve: z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>;
680
+ export type Resolve = z.infer<typeof resolve>;
681
+ export type RuleSetCondition = RegExp | string | RuleSetConditions | RuleSetLogicalConditions | ((value: string) => boolean);
682
+ export type RuleSetConditions = RuleSetCondition[];
683
+ export type RuleSetLogicalConditions = {
684
+ and?: RuleSetConditions;
685
+ or?: RuleSetConditions;
686
+ not?: RuleSetConditions;
687
+ };
688
+ declare const ruleSetLoader: z.ZodString;
689
+ export type RuleSetLoader = z.infer<typeof ruleSetLoader>;
690
+ declare const ruleSetLoaderOptions: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>;
691
+ export type RuleSetLoaderOptions = z.infer<typeof ruleSetLoaderOptions>;
692
+ declare const ruleSetLoaderWithOptions: z.ZodObject<{
693
+ ident: z.ZodOptional<z.ZodString>;
694
+ loader: z.ZodString;
695
+ options: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
696
+ }, "strict", z.ZodTypeAny, {
697
+ loader: string;
698
+ ident?: string | undefined;
699
+ options?: string | Record<string, any> | undefined;
700
+ }, {
701
+ loader: string;
702
+ ident?: string | undefined;
703
+ options?: string | Record<string, any> | undefined;
704
+ }>;
705
+ export type RuleSetLoaderWithOptions = z.infer<typeof ruleSetLoaderWithOptions>;
706
+ declare const ruleSetUseItem: z.ZodUnion<[z.ZodString, z.ZodObject<{
707
+ ident: z.ZodOptional<z.ZodString>;
708
+ loader: z.ZodString;
709
+ options: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
710
+ }, "strict", z.ZodTypeAny, {
711
+ loader: string;
712
+ ident?: string | undefined;
713
+ options?: string | Record<string, any> | undefined;
714
+ }, {
715
+ loader: string;
716
+ ident?: string | undefined;
717
+ options?: string | Record<string, any> | undefined;
718
+ }>]>;
719
+ export type RuleSetUseItem = z.infer<typeof ruleSetUseItem>;
720
+ declare const ruleSetUse: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
721
+ ident: z.ZodOptional<z.ZodString>;
722
+ loader: z.ZodString;
723
+ options: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
724
+ }, "strict", z.ZodTypeAny, {
725
+ loader: string;
726
+ ident?: string | undefined;
727
+ options?: string | Record<string, any> | undefined;
728
+ }, {
729
+ loader: string;
730
+ ident?: string | undefined;
731
+ options?: string | Record<string, any> | undefined;
732
+ }>]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
733
+ ident: z.ZodOptional<z.ZodString>;
734
+ loader: z.ZodString;
735
+ options: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
736
+ }, "strict", z.ZodTypeAny, {
737
+ loader: string;
738
+ ident?: string | undefined;
739
+ options?: string | Record<string, any> | undefined;
740
+ }, {
741
+ loader: string;
742
+ ident?: string | undefined;
743
+ options?: string | Record<string, any> | undefined;
744
+ }>]>, "many">]>, z.ZodFunction<z.ZodTuple<[z.ZodType<RawFuncUseCtx, z.ZodTypeDef, RawFuncUseCtx>], z.ZodUnknown>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
745
+ ident: z.ZodOptional<z.ZodString>;
746
+ loader: z.ZodString;
747
+ options: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
748
+ }, "strict", z.ZodTypeAny, {
749
+ loader: string;
750
+ ident?: string | undefined;
751
+ options?: string | Record<string, any> | undefined;
752
+ }, {
753
+ loader: string;
754
+ ident?: string | undefined;
755
+ options?: string | Record<string, any> | undefined;
756
+ }>]>, "many">>]>;
757
+ export type RuleSetUse = z.infer<typeof ruleSetUse>;
758
+ export type RuleSetRule = {
759
+ test?: RuleSetCondition;
760
+ exclude?: RuleSetCondition;
761
+ include?: RuleSetCondition;
762
+ issuer?: RuleSetCondition;
763
+ dependency?: RuleSetCondition;
764
+ resource?: RuleSetCondition;
765
+ resourceFragment?: RuleSetCondition;
766
+ resourceQuery?: RuleSetCondition;
767
+ scheme?: RuleSetCondition;
768
+ mimetype?: RuleSetCondition;
769
+ descriptionData?: {
770
+ [k: string]: RuleSetCondition;
771
+ };
772
+ oneOf?: RuleSetRule[];
773
+ rules?: RuleSetRule[];
774
+ type?: string;
775
+ loader?: RuleSetLoader;
776
+ options?: RuleSetLoaderOptions;
777
+ use?: RuleSetUse;
778
+ parser?: {
779
+ [k: string]: any;
780
+ };
781
+ generator?: {
782
+ [k: string]: any;
783
+ };
784
+ resolve?: ResolveOptions;
785
+ sideEffects?: boolean;
786
+ enforce?: "pre" | "post";
787
+ };
788
+ declare const ruleSetRules: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, "many">;
789
+ export type RuleSetRules = z.infer<typeof ruleSetRules>;
790
+ declare const assetParserDataUrlOptions: z.ZodObject<{
791
+ maxSize: z.ZodOptional<z.ZodNumber>;
792
+ }, "strict", z.ZodTypeAny, {
793
+ maxSize?: number | undefined;
794
+ }, {
795
+ maxSize?: number | undefined;
796
+ }>;
797
+ export type AssetParserDataUrlOptions = z.infer<typeof assetParserDataUrlOptions>;
798
+ declare const assetParserDataUrl: z.ZodObject<{
799
+ maxSize: z.ZodOptional<z.ZodNumber>;
800
+ }, "strict", z.ZodTypeAny, {
801
+ maxSize?: number | undefined;
802
+ }, {
803
+ maxSize?: number | undefined;
804
+ }>;
805
+ export type AssetParserDataUrl = z.infer<typeof assetParserDataUrl>;
806
+ declare const assetParserOptions: z.ZodObject<{
807
+ dataUrlCondition: z.ZodOptional<z.ZodObject<{
808
+ maxSize: z.ZodOptional<z.ZodNumber>;
809
+ }, "strict", z.ZodTypeAny, {
810
+ maxSize?: number | undefined;
811
+ }, {
812
+ maxSize?: number | undefined;
813
+ }>>;
814
+ }, "strict", z.ZodTypeAny, {
815
+ dataUrlCondition?: {
816
+ maxSize?: number | undefined;
817
+ } | undefined;
818
+ }, {
819
+ dataUrlCondition?: {
820
+ maxSize?: number | undefined;
821
+ } | undefined;
822
+ }>;
823
+ export type AssetParserOptions = z.infer<typeof assetParserOptions>;
824
+ declare const parserOptionsByModuleTypeKnown: z.ZodObject<{
825
+ asset: z.ZodOptional<z.ZodObject<{
826
+ dataUrlCondition: z.ZodOptional<z.ZodObject<{
827
+ maxSize: z.ZodOptional<z.ZodNumber>;
828
+ }, "strict", z.ZodTypeAny, {
829
+ maxSize?: number | undefined;
830
+ }, {
831
+ maxSize?: number | undefined;
832
+ }>>;
833
+ }, "strict", z.ZodTypeAny, {
834
+ dataUrlCondition?: {
835
+ maxSize?: number | undefined;
836
+ } | undefined;
837
+ }, {
838
+ dataUrlCondition?: {
839
+ maxSize?: number | undefined;
840
+ } | undefined;
841
+ }>>;
842
+ }, "strict", z.ZodTypeAny, {
843
+ asset?: {
844
+ dataUrlCondition?: {
845
+ maxSize?: number | undefined;
846
+ } | undefined;
847
+ } | undefined;
848
+ }, {
849
+ asset?: {
850
+ dataUrlCondition?: {
851
+ maxSize?: number | undefined;
852
+ } | undefined;
853
+ } | undefined;
854
+ }>;
855
+ export type ParserOptionsByModuleTypeKnown = z.infer<typeof parserOptionsByModuleTypeKnown>;
856
+ declare const parserOptionsByModuleTypeUnknown: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
857
+ export type ParserOptionsByModuleTypeUnknown = z.infer<typeof parserOptionsByModuleTypeUnknown>;
858
+ declare const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
859
+ asset: z.ZodOptional<z.ZodObject<{
860
+ dataUrlCondition: z.ZodOptional<z.ZodObject<{
861
+ maxSize: z.ZodOptional<z.ZodNumber>;
862
+ }, "strict", z.ZodTypeAny, {
863
+ maxSize?: number | undefined;
864
+ }, {
865
+ maxSize?: number | undefined;
866
+ }>>;
867
+ }, "strict", z.ZodTypeAny, {
868
+ dataUrlCondition?: {
869
+ maxSize?: number | undefined;
870
+ } | undefined;
871
+ }, {
872
+ dataUrlCondition?: {
873
+ maxSize?: number | undefined;
874
+ } | undefined;
875
+ }>>;
876
+ }, "strict", z.ZodTypeAny, {
877
+ asset?: {
878
+ dataUrlCondition?: {
879
+ maxSize?: number | undefined;
880
+ } | undefined;
881
+ } | undefined;
882
+ }, {
883
+ asset?: {
884
+ dataUrlCondition?: {
885
+ maxSize?: number | undefined;
886
+ } | undefined;
887
+ } | undefined;
888
+ }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
889
+ export type ParserOptionsByModuleType = z.infer<typeof parserOptionsByModuleType>;
890
+ declare const assetGeneratorDataUrlOptions: z.ZodObject<{
891
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
892
+ mimetype: z.ZodOptional<z.ZodString>;
893
+ }, "strict", z.ZodTypeAny, {
894
+ encoding?: false | "base64" | undefined;
895
+ mimetype?: string | undefined;
896
+ }, {
897
+ encoding?: false | "base64" | undefined;
898
+ mimetype?: string | undefined;
899
+ }>;
900
+ export type AssetGeneratorDataUrlOptions = z.infer<typeof assetGeneratorDataUrlOptions>;
901
+ declare const assetGeneratorDataUrl: z.ZodObject<{
902
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
903
+ mimetype: z.ZodOptional<z.ZodString>;
904
+ }, "strict", z.ZodTypeAny, {
905
+ encoding?: false | "base64" | undefined;
906
+ mimetype?: string | undefined;
907
+ }, {
908
+ encoding?: false | "base64" | undefined;
909
+ mimetype?: string | undefined;
910
+ }>;
911
+ export type AssetGeneratorDataUrl = z.infer<typeof assetGeneratorDataUrl>;
912
+ declare const assetInlineGeneratorOptions: z.ZodObject<{
913
+ dataUrl: z.ZodOptional<z.ZodObject<{
914
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
915
+ mimetype: z.ZodOptional<z.ZodString>;
916
+ }, "strict", z.ZodTypeAny, {
917
+ encoding?: false | "base64" | undefined;
918
+ mimetype?: string | undefined;
919
+ }, {
920
+ encoding?: false | "base64" | undefined;
921
+ mimetype?: string | undefined;
922
+ }>>;
923
+ }, "strict", z.ZodTypeAny, {
924
+ dataUrl?: {
925
+ encoding?: false | "base64" | undefined;
926
+ mimetype?: string | undefined;
927
+ } | undefined;
928
+ }, {
929
+ dataUrl?: {
930
+ encoding?: false | "base64" | undefined;
931
+ mimetype?: string | undefined;
932
+ } | undefined;
933
+ }>;
934
+ export type AssetInlineGeneratorOptions = z.infer<typeof assetInlineGeneratorOptions>;
935
+ declare const assetResourceGeneratorOptions: z.ZodObject<{
936
+ filename: z.ZodOptional<z.ZodString>;
937
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
938
+ }, "strict", z.ZodTypeAny, {
939
+ filename?: string | undefined;
940
+ publicPath?: string | undefined;
941
+ }, {
942
+ filename?: string | undefined;
943
+ publicPath?: string | undefined;
944
+ }>;
945
+ export type AssetResourceGeneratorOptions = z.infer<typeof assetResourceGeneratorOptions>;
946
+ declare const assetGeneratorOptions: z.ZodObject<{
947
+ dataUrl: z.ZodOptional<z.ZodObject<{
948
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
949
+ mimetype: z.ZodOptional<z.ZodString>;
950
+ }, "strict", z.ZodTypeAny, {
951
+ encoding?: false | "base64" | undefined;
952
+ mimetype?: string | undefined;
953
+ }, {
954
+ encoding?: false | "base64" | undefined;
955
+ mimetype?: string | undefined;
956
+ }>>;
957
+ filename: z.ZodOptional<z.ZodString>;
958
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
959
+ }, "strict", z.ZodTypeAny, {
960
+ dataUrl?: {
961
+ encoding?: false | "base64" | undefined;
962
+ mimetype?: string | undefined;
963
+ } | undefined;
964
+ filename?: string | undefined;
965
+ publicPath?: string | undefined;
966
+ }, {
967
+ dataUrl?: {
968
+ encoding?: false | "base64" | undefined;
969
+ mimetype?: string | undefined;
970
+ } | undefined;
971
+ filename?: string | undefined;
972
+ publicPath?: string | undefined;
973
+ }>;
974
+ export type AssetGeneratorOptions = z.infer<typeof assetGeneratorOptions>;
975
+ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
976
+ asset: z.ZodOptional<z.ZodObject<{
977
+ dataUrl: z.ZodOptional<z.ZodObject<{
978
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
979
+ mimetype: z.ZodOptional<z.ZodString>;
980
+ }, "strict", z.ZodTypeAny, {
981
+ encoding?: false | "base64" | undefined;
982
+ mimetype?: string | undefined;
983
+ }, {
984
+ encoding?: false | "base64" | undefined;
985
+ mimetype?: string | undefined;
986
+ }>>;
987
+ filename: z.ZodOptional<z.ZodString>;
988
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
989
+ }, "strict", z.ZodTypeAny, {
990
+ dataUrl?: {
991
+ encoding?: false | "base64" | undefined;
992
+ mimetype?: string | undefined;
993
+ } | undefined;
994
+ filename?: string | undefined;
995
+ publicPath?: string | undefined;
996
+ }, {
997
+ dataUrl?: {
998
+ encoding?: false | "base64" | undefined;
999
+ mimetype?: string | undefined;
1000
+ } | undefined;
1001
+ filename?: string | undefined;
1002
+ publicPath?: string | undefined;
1003
+ }>>;
1004
+ "asset/inline": z.ZodOptional<z.ZodObject<{
1005
+ dataUrl: z.ZodOptional<z.ZodObject<{
1006
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
1007
+ mimetype: z.ZodOptional<z.ZodString>;
1008
+ }, "strict", z.ZodTypeAny, {
1009
+ encoding?: false | "base64" | undefined;
1010
+ mimetype?: string | undefined;
1011
+ }, {
1012
+ encoding?: false | "base64" | undefined;
1013
+ mimetype?: string | undefined;
1014
+ }>>;
1015
+ }, "strict", z.ZodTypeAny, {
1016
+ dataUrl?: {
1017
+ encoding?: false | "base64" | undefined;
1018
+ mimetype?: string | undefined;
1019
+ } | undefined;
1020
+ }, {
1021
+ dataUrl?: {
1022
+ encoding?: false | "base64" | undefined;
1023
+ mimetype?: string | undefined;
1024
+ } | undefined;
1025
+ }>>;
1026
+ "asset/resource": z.ZodOptional<z.ZodObject<{
1027
+ filename: z.ZodOptional<z.ZodString>;
1028
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
1029
+ }, "strict", z.ZodTypeAny, {
1030
+ filename?: string | undefined;
1031
+ publicPath?: string | undefined;
1032
+ }, {
1033
+ filename?: string | undefined;
1034
+ publicPath?: string | undefined;
1035
+ }>>;
1036
+ }, "strict", z.ZodTypeAny, {
1037
+ asset?: {
1038
+ dataUrl?: {
1039
+ encoding?: false | "base64" | undefined;
1040
+ mimetype?: string | undefined;
1041
+ } | undefined;
1042
+ filename?: string | undefined;
1043
+ publicPath?: string | undefined;
1044
+ } | undefined;
1045
+ "asset/inline"?: {
1046
+ dataUrl?: {
1047
+ encoding?: false | "base64" | undefined;
1048
+ mimetype?: string | undefined;
1049
+ } | undefined;
1050
+ } | undefined;
1051
+ "asset/resource"?: {
1052
+ filename?: string | undefined;
1053
+ publicPath?: string | undefined;
1054
+ } | undefined;
1055
+ }, {
1056
+ asset?: {
1057
+ dataUrl?: {
1058
+ encoding?: false | "base64" | undefined;
1059
+ mimetype?: string | undefined;
1060
+ } | undefined;
1061
+ filename?: string | undefined;
1062
+ publicPath?: string | undefined;
1063
+ } | undefined;
1064
+ "asset/inline"?: {
1065
+ dataUrl?: {
1066
+ encoding?: false | "base64" | undefined;
1067
+ mimetype?: string | undefined;
1068
+ } | undefined;
1069
+ } | undefined;
1070
+ "asset/resource"?: {
1071
+ filename?: string | undefined;
1072
+ publicPath?: string | undefined;
1073
+ } | undefined;
1074
+ }>;
1075
+ export type GeneratorOptionsByModuleTypeKnown = z.infer<typeof generatorOptionsByModuleTypeKnown>;
1076
+ declare const generatorOptionsByModuleTypeUnknown: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
1077
+ export type GeneratorOptionsByModuleTypeUnknown = z.infer<typeof generatorOptionsByModuleTypeUnknown>;
1078
+ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
1079
+ asset: z.ZodOptional<z.ZodObject<{
1080
+ dataUrl: z.ZodOptional<z.ZodObject<{
1081
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
1082
+ mimetype: z.ZodOptional<z.ZodString>;
1083
+ }, "strict", z.ZodTypeAny, {
1084
+ encoding?: false | "base64" | undefined;
1085
+ mimetype?: string | undefined;
1086
+ }, {
1087
+ encoding?: false | "base64" | undefined;
1088
+ mimetype?: string | undefined;
1089
+ }>>;
1090
+ filename: z.ZodOptional<z.ZodString>;
1091
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
1092
+ }, "strict", z.ZodTypeAny, {
1093
+ dataUrl?: {
1094
+ encoding?: false | "base64" | undefined;
1095
+ mimetype?: string | undefined;
1096
+ } | undefined;
1097
+ filename?: string | undefined;
1098
+ publicPath?: string | undefined;
1099
+ }, {
1100
+ dataUrl?: {
1101
+ encoding?: false | "base64" | undefined;
1102
+ mimetype?: string | undefined;
1103
+ } | undefined;
1104
+ filename?: string | undefined;
1105
+ publicPath?: string | undefined;
1106
+ }>>;
1107
+ "asset/inline": z.ZodOptional<z.ZodObject<{
1108
+ dataUrl: z.ZodOptional<z.ZodObject<{
1109
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
1110
+ mimetype: z.ZodOptional<z.ZodString>;
1111
+ }, "strict", z.ZodTypeAny, {
1112
+ encoding?: false | "base64" | undefined;
1113
+ mimetype?: string | undefined;
1114
+ }, {
1115
+ encoding?: false | "base64" | undefined;
1116
+ mimetype?: string | undefined;
1117
+ }>>;
1118
+ }, "strict", z.ZodTypeAny, {
1119
+ dataUrl?: {
1120
+ encoding?: false | "base64" | undefined;
1121
+ mimetype?: string | undefined;
1122
+ } | undefined;
1123
+ }, {
1124
+ dataUrl?: {
1125
+ encoding?: false | "base64" | undefined;
1126
+ mimetype?: string | undefined;
1127
+ } | undefined;
1128
+ }>>;
1129
+ "asset/resource": z.ZodOptional<z.ZodObject<{
1130
+ filename: z.ZodOptional<z.ZodString>;
1131
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
1132
+ }, "strict", z.ZodTypeAny, {
1133
+ filename?: string | undefined;
1134
+ publicPath?: string | undefined;
1135
+ }, {
1136
+ filename?: string | undefined;
1137
+ publicPath?: string | undefined;
1138
+ }>>;
1139
+ }, "strict", z.ZodTypeAny, {
1140
+ asset?: {
1141
+ dataUrl?: {
1142
+ encoding?: false | "base64" | undefined;
1143
+ mimetype?: string | undefined;
1144
+ } | undefined;
1145
+ filename?: string | undefined;
1146
+ publicPath?: string | undefined;
1147
+ } | undefined;
1148
+ "asset/inline"?: {
1149
+ dataUrl?: {
1150
+ encoding?: false | "base64" | undefined;
1151
+ mimetype?: string | undefined;
1152
+ } | undefined;
1153
+ } | undefined;
1154
+ "asset/resource"?: {
1155
+ filename?: string | undefined;
1156
+ publicPath?: string | undefined;
1157
+ } | undefined;
1158
+ }, {
1159
+ asset?: {
1160
+ dataUrl?: {
1161
+ encoding?: false | "base64" | undefined;
1162
+ mimetype?: string | undefined;
1163
+ } | undefined;
1164
+ filename?: string | undefined;
1165
+ publicPath?: string | undefined;
1166
+ } | undefined;
1167
+ "asset/inline"?: {
1168
+ dataUrl?: {
1169
+ encoding?: false | "base64" | undefined;
1170
+ mimetype?: string | undefined;
1171
+ } | undefined;
1172
+ } | undefined;
1173
+ "asset/resource"?: {
1174
+ filename?: string | undefined;
1175
+ publicPath?: string | undefined;
1176
+ } | undefined;
1177
+ }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
1178
+ export type GeneratorOptionsByModuleType = z.infer<typeof generatorOptionsByModuleType>;
1179
+ declare const moduleOptions: z.ZodObject<{
1180
+ defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, "many">>;
1181
+ rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, "many">>;
1182
+ parser: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1183
+ asset: z.ZodOptional<z.ZodObject<{
1184
+ dataUrlCondition: z.ZodOptional<z.ZodObject<{
1185
+ maxSize: z.ZodOptional<z.ZodNumber>;
1186
+ }, "strict", z.ZodTypeAny, {
1187
+ maxSize?: number | undefined;
1188
+ }, {
1189
+ maxSize?: number | undefined;
1190
+ }>>;
1191
+ }, "strict", z.ZodTypeAny, {
1192
+ dataUrlCondition?: {
1193
+ maxSize?: number | undefined;
1194
+ } | undefined;
1195
+ }, {
1196
+ dataUrlCondition?: {
1197
+ maxSize?: number | undefined;
1198
+ } | undefined;
1199
+ }>>;
1200
+ }, "strict", z.ZodTypeAny, {
1201
+ asset?: {
1202
+ dataUrlCondition?: {
1203
+ maxSize?: number | undefined;
1204
+ } | undefined;
1205
+ } | undefined;
1206
+ }, {
1207
+ asset?: {
1208
+ dataUrlCondition?: {
1209
+ maxSize?: number | undefined;
1210
+ } | undefined;
1211
+ } | undefined;
1212
+ }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
1213
+ generator: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1214
+ asset: z.ZodOptional<z.ZodObject<{
1215
+ dataUrl: z.ZodOptional<z.ZodObject<{
1216
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
1217
+ mimetype: z.ZodOptional<z.ZodString>;
1218
+ }, "strict", z.ZodTypeAny, {
1219
+ encoding?: false | "base64" | undefined;
1220
+ mimetype?: string | undefined;
1221
+ }, {
1222
+ encoding?: false | "base64" | undefined;
1223
+ mimetype?: string | undefined;
1224
+ }>>;
1225
+ filename: z.ZodOptional<z.ZodString>;
1226
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
1227
+ }, "strict", z.ZodTypeAny, {
1228
+ dataUrl?: {
1229
+ encoding?: false | "base64" | undefined;
1230
+ mimetype?: string | undefined;
1231
+ } | undefined;
1232
+ filename?: string | undefined;
1233
+ publicPath?: string | undefined;
1234
+ }, {
1235
+ dataUrl?: {
1236
+ encoding?: false | "base64" | undefined;
1237
+ mimetype?: string | undefined;
1238
+ } | undefined;
1239
+ filename?: string | undefined;
1240
+ publicPath?: string | undefined;
1241
+ }>>;
1242
+ "asset/inline": z.ZodOptional<z.ZodObject<{
1243
+ dataUrl: z.ZodOptional<z.ZodObject<{
1244
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
1245
+ mimetype: z.ZodOptional<z.ZodString>;
1246
+ }, "strict", z.ZodTypeAny, {
1247
+ encoding?: false | "base64" | undefined;
1248
+ mimetype?: string | undefined;
1249
+ }, {
1250
+ encoding?: false | "base64" | undefined;
1251
+ mimetype?: string | undefined;
1252
+ }>>;
1253
+ }, "strict", z.ZodTypeAny, {
1254
+ dataUrl?: {
1255
+ encoding?: false | "base64" | undefined;
1256
+ mimetype?: string | undefined;
1257
+ } | undefined;
1258
+ }, {
1259
+ dataUrl?: {
1260
+ encoding?: false | "base64" | undefined;
1261
+ mimetype?: string | undefined;
1262
+ } | undefined;
1263
+ }>>;
1264
+ "asset/resource": z.ZodOptional<z.ZodObject<{
1265
+ filename: z.ZodOptional<z.ZodString>;
1266
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
1267
+ }, "strict", z.ZodTypeAny, {
1268
+ filename?: string | undefined;
1269
+ publicPath?: string | undefined;
1270
+ }, {
1271
+ filename?: string | undefined;
1272
+ publicPath?: string | undefined;
1273
+ }>>;
1274
+ }, "strict", z.ZodTypeAny, {
1275
+ asset?: {
1276
+ dataUrl?: {
1277
+ encoding?: false | "base64" | undefined;
1278
+ mimetype?: string | undefined;
1279
+ } | undefined;
1280
+ filename?: string | undefined;
1281
+ publicPath?: string | undefined;
1282
+ } | undefined;
1283
+ "asset/inline"?: {
1284
+ dataUrl?: {
1285
+ encoding?: false | "base64" | undefined;
1286
+ mimetype?: string | undefined;
1287
+ } | undefined;
1288
+ } | undefined;
1289
+ "asset/resource"?: {
1290
+ filename?: string | undefined;
1291
+ publicPath?: string | undefined;
1292
+ } | undefined;
1293
+ }, {
1294
+ asset?: {
1295
+ dataUrl?: {
1296
+ encoding?: false | "base64" | undefined;
1297
+ mimetype?: string | undefined;
1298
+ } | undefined;
1299
+ filename?: string | undefined;
1300
+ publicPath?: string | undefined;
1301
+ } | undefined;
1302
+ "asset/inline"?: {
1303
+ dataUrl?: {
1304
+ encoding?: false | "base64" | undefined;
1305
+ mimetype?: string | undefined;
1306
+ } | undefined;
1307
+ } | undefined;
1308
+ "asset/resource"?: {
1309
+ filename?: string | undefined;
1310
+ publicPath?: string | undefined;
1311
+ } | undefined;
1312
+ }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
1313
+ }, "strict", z.ZodTypeAny, {
1314
+ defaultRules?: ("..." | RuleSetRule)[] | undefined;
1315
+ rules?: ("..." | RuleSetRule)[] | undefined;
1316
+ parser?: {
1317
+ asset?: {
1318
+ dataUrlCondition?: {
1319
+ maxSize?: number | undefined;
1320
+ } | undefined;
1321
+ } | undefined;
1322
+ } | Record<string, Record<string, any>> | undefined;
1323
+ generator?: Record<string, Record<string, any>> | {
1324
+ asset?: {
1325
+ dataUrl?: {
1326
+ encoding?: false | "base64" | undefined;
1327
+ mimetype?: string | undefined;
1328
+ } | undefined;
1329
+ filename?: string | undefined;
1330
+ publicPath?: string | undefined;
1331
+ } | undefined;
1332
+ "asset/inline"?: {
1333
+ dataUrl?: {
1334
+ encoding?: false | "base64" | undefined;
1335
+ mimetype?: string | undefined;
1336
+ } | undefined;
1337
+ } | undefined;
1338
+ "asset/resource"?: {
1339
+ filename?: string | undefined;
1340
+ publicPath?: string | undefined;
1341
+ } | undefined;
1342
+ } | undefined;
1343
+ }, {
1344
+ defaultRules?: ("..." | RuleSetRule)[] | undefined;
1345
+ rules?: ("..." | RuleSetRule)[] | undefined;
1346
+ parser?: {
1347
+ asset?: {
1348
+ dataUrlCondition?: {
1349
+ maxSize?: number | undefined;
1350
+ } | undefined;
1351
+ } | undefined;
1352
+ } | Record<string, Record<string, any>> | undefined;
1353
+ generator?: Record<string, Record<string, any>> | {
1354
+ asset?: {
1355
+ dataUrl?: {
1356
+ encoding?: false | "base64" | undefined;
1357
+ mimetype?: string | undefined;
1358
+ } | undefined;
1359
+ filename?: string | undefined;
1360
+ publicPath?: string | undefined;
1361
+ } | undefined;
1362
+ "asset/inline"?: {
1363
+ dataUrl?: {
1364
+ encoding?: false | "base64" | undefined;
1365
+ mimetype?: string | undefined;
1366
+ } | undefined;
1367
+ } | undefined;
1368
+ "asset/resource"?: {
1369
+ filename?: string | undefined;
1370
+ publicPath?: string | undefined;
1371
+ } | undefined;
1372
+ } | undefined;
1373
+ }>;
1374
+ export type ModuleOptions = z.infer<typeof moduleOptions>;
1375
+ declare const target: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>, "many">]>;
1376
+ export type Target = z.infer<typeof target>;
1377
+ declare const externalsType: z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>;
1378
+ export type ExternalsType = z.infer<typeof externalsType>;
1379
+ declare const externalItemValue: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>;
1380
+ export type ExternalItemValue = z.infer<typeof externalItemValue>;
1381
+ declare const externalItemObjectUnknown: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>;
1382
+ export type ExternalItemObjectUnknown = z.infer<typeof externalItemObjectUnknown>;
1383
+ declare const externalItemFunctionData: z.ZodObject<{
1384
+ context: z.ZodOptional<z.ZodString>;
1385
+ dependencyType: z.ZodOptional<z.ZodString>;
1386
+ request: z.ZodOptional<z.ZodString>;
1387
+ }, "strict", z.ZodTypeAny, {
1388
+ context?: string | undefined;
1389
+ dependencyType?: string | undefined;
1390
+ request?: string | undefined;
1391
+ }, {
1392
+ context?: string | undefined;
1393
+ dependencyType?: string | undefined;
1394
+ request?: string | undefined;
1395
+ }>;
1396
+ export type ExternalItemFunctionData = z.infer<typeof externalItemFunctionData>;
1397
+ declare const externalItem: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1398
+ context: z.ZodOptional<z.ZodString>;
1399
+ dependencyType: z.ZodOptional<z.ZodString>;
1400
+ request: z.ZodOptional<z.ZodString>;
1401
+ }, "strict", z.ZodTypeAny, {
1402
+ context?: string | undefined;
1403
+ dependencyType?: string | undefined;
1404
+ request?: string | undefined;
1405
+ }, {
1406
+ context?: string | undefined;
1407
+ dependencyType?: string | undefined;
1408
+ request?: string | undefined;
1409
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1410
+ context: z.ZodOptional<z.ZodString>;
1411
+ dependencyType: z.ZodOptional<z.ZodString>;
1412
+ request: z.ZodOptional<z.ZodString>;
1413
+ }, "strict", z.ZodTypeAny, {
1414
+ context?: string | undefined;
1415
+ dependencyType?: string | undefined;
1416
+ request?: string | undefined;
1417
+ }, {
1418
+ context?: string | undefined;
1419
+ dependencyType?: string | undefined;
1420
+ request?: string | undefined;
1421
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>>]>;
1422
+ export type ExternalItem = z.infer<typeof externalItem>;
1423
+ declare const externals: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1424
+ context: z.ZodOptional<z.ZodString>;
1425
+ dependencyType: z.ZodOptional<z.ZodString>;
1426
+ request: z.ZodOptional<z.ZodString>;
1427
+ }, "strict", z.ZodTypeAny, {
1428
+ context?: string | undefined;
1429
+ dependencyType?: string | undefined;
1430
+ request?: string | undefined;
1431
+ }, {
1432
+ context?: string | undefined;
1433
+ dependencyType?: string | undefined;
1434
+ request?: string | undefined;
1435
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1436
+ context: z.ZodOptional<z.ZodString>;
1437
+ dependencyType: z.ZodOptional<z.ZodString>;
1438
+ request: z.ZodOptional<z.ZodString>;
1439
+ }, "strict", z.ZodTypeAny, {
1440
+ context?: string | undefined;
1441
+ dependencyType?: string | undefined;
1442
+ request?: string | undefined;
1443
+ }, {
1444
+ context?: string | undefined;
1445
+ dependencyType?: string | undefined;
1446
+ request?: string | undefined;
1447
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1448
+ context: z.ZodOptional<z.ZodString>;
1449
+ dependencyType: z.ZodOptional<z.ZodString>;
1450
+ request: z.ZodOptional<z.ZodString>;
1451
+ }, "strict", z.ZodTypeAny, {
1452
+ context?: string | undefined;
1453
+ dependencyType?: string | undefined;
1454
+ request?: string | undefined;
1455
+ }, {
1456
+ context?: string | undefined;
1457
+ dependencyType?: string | undefined;
1458
+ request?: string | undefined;
1459
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1460
+ context: z.ZodOptional<z.ZodString>;
1461
+ dependencyType: z.ZodOptional<z.ZodString>;
1462
+ request: z.ZodOptional<z.ZodString>;
1463
+ }, "strict", z.ZodTypeAny, {
1464
+ context?: string | undefined;
1465
+ dependencyType?: string | undefined;
1466
+ request?: string | undefined;
1467
+ }, {
1468
+ context?: string | undefined;
1469
+ dependencyType?: string | undefined;
1470
+ request?: string | undefined;
1471
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>>]>]>;
1472
+ export type Externals = z.infer<typeof externals>;
1473
+ declare const externalsPresets: z.ZodObject<{
1474
+ node: z.ZodOptional<z.ZodBoolean>;
1475
+ web: z.ZodOptional<z.ZodBoolean>;
1476
+ electron: z.ZodOptional<z.ZodBoolean>;
1477
+ electronMain: z.ZodOptional<z.ZodBoolean>;
1478
+ electronPreload: z.ZodOptional<z.ZodBoolean>;
1479
+ electronRenderer: z.ZodOptional<z.ZodBoolean>;
1480
+ }, "strict", z.ZodTypeAny, {
1481
+ node?: boolean | undefined;
1482
+ web?: boolean | undefined;
1483
+ electron?: boolean | undefined;
1484
+ electronMain?: boolean | undefined;
1485
+ electronPreload?: boolean | undefined;
1486
+ electronRenderer?: boolean | undefined;
1487
+ }, {
1488
+ node?: boolean | undefined;
1489
+ web?: boolean | undefined;
1490
+ electron?: boolean | undefined;
1491
+ electronMain?: boolean | undefined;
1492
+ electronPreload?: boolean | undefined;
1493
+ electronRenderer?: boolean | undefined;
1494
+ }>;
1495
+ export type ExternalsPresets = z.infer<typeof externalsPresets>;
1496
+ declare const filterItemTypes: z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>;
1497
+ export type FilterItemTypes = z.infer<typeof filterItemTypes>;
1498
+ declare const filterTypes: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>;
1499
+ export type FilterTypes = z.infer<typeof filterTypes>;
1500
+ declare const infrastructureLogging: z.ZodObject<{
1501
+ appendOnly: z.ZodOptional<z.ZodBoolean>;
1502
+ colors: z.ZodOptional<z.ZodBoolean>;
1503
+ console: z.ZodOptional<z.ZodType<Console, z.ZodTypeDef, Console>>;
1504
+ debug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
1505
+ level: z.ZodOptional<z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>>;
1506
+ stream: z.ZodOptional<z.ZodType<NodeJS.WritableStream, z.ZodTypeDef, NodeJS.WritableStream>>;
1507
+ }, "strict", z.ZodTypeAny, {
1508
+ appendOnly?: boolean | undefined;
1509
+ colors?: boolean | undefined;
1510
+ console?: Console | undefined;
1511
+ debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1512
+ level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1513
+ stream?: NodeJS.WritableStream | undefined;
1514
+ }, {
1515
+ appendOnly?: boolean | undefined;
1516
+ colors?: boolean | undefined;
1517
+ console?: Console | undefined;
1518
+ debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1519
+ level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1520
+ stream?: NodeJS.WritableStream | undefined;
1521
+ }>;
1522
+ export type InfrastructureLogging = z.infer<typeof infrastructureLogging>;
1523
+ declare const devTool: z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-module-source-map", "inline-nosources-source-map", "nosources-cheap-source-map", "nosources-cheap-module-source-map", "nosources-source-map", "hidden-nosources-cheap-source-map", "hidden-nosources-cheap-module-source-map", "hidden-nosources-source-map", "hidden-cheap-source-map", "hidden-cheap-module-source-map", "hidden-source-map", "eval-cheap-source-map", "eval-cheap-module-source-map", "eval-source-map", "eval-nosources-cheap-source-map", "eval-nosources-cheap-module-source-map", "eval-nosources-source-map"]>]>;
1524
+ export type DevTool = z.infer<typeof devTool>;
1525
+ declare const nodeOptions: z.ZodObject<{
1526
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
1527
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
1528
+ global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
1529
+ }, "strict", z.ZodTypeAny, {
1530
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1531
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1532
+ global?: boolean | "warn" | undefined;
1533
+ }, {
1534
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1535
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1536
+ global?: boolean | "warn" | undefined;
1537
+ }>;
1538
+ export type NodeOptions = z.infer<typeof nodeOptions>;
1539
+ declare const node: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
1540
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
1541
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
1542
+ global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
1543
+ }, "strict", z.ZodTypeAny, {
1544
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1545
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1546
+ global?: boolean | "warn" | undefined;
1547
+ }, {
1548
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1549
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1550
+ global?: boolean | "warn" | undefined;
1551
+ }>]>;
1552
+ export type Node = z.infer<typeof node>;
1553
+ declare const snapshotOptions: z.ZodObject<{
1554
+ module: z.ZodOptional<z.ZodObject<{
1555
+ hash: z.ZodOptional<z.ZodBoolean>;
1556
+ timestamp: z.ZodOptional<z.ZodBoolean>;
1557
+ }, "strict", z.ZodTypeAny, {
1558
+ hash?: boolean | undefined;
1559
+ timestamp?: boolean | undefined;
1560
+ }, {
1561
+ hash?: boolean | undefined;
1562
+ timestamp?: boolean | undefined;
1563
+ }>>;
1564
+ resolve: z.ZodOptional<z.ZodObject<{
1565
+ hash: z.ZodOptional<z.ZodBoolean>;
1566
+ timestamp: z.ZodOptional<z.ZodBoolean>;
1567
+ }, "strict", z.ZodTypeAny, {
1568
+ hash?: boolean | undefined;
1569
+ timestamp?: boolean | undefined;
1570
+ }, {
1571
+ hash?: boolean | undefined;
1572
+ timestamp?: boolean | undefined;
1573
+ }>>;
1574
+ }, "strict", z.ZodTypeAny, {
1575
+ module?: {
1576
+ hash?: boolean | undefined;
1577
+ timestamp?: boolean | undefined;
1578
+ } | undefined;
1579
+ resolve?: {
1580
+ hash?: boolean | undefined;
1581
+ timestamp?: boolean | undefined;
1582
+ } | undefined;
1583
+ }, {
1584
+ module?: {
1585
+ hash?: boolean | undefined;
1586
+ timestamp?: boolean | undefined;
1587
+ } | undefined;
1588
+ resolve?: {
1589
+ hash?: boolean | undefined;
1590
+ timestamp?: boolean | undefined;
1591
+ } | undefined;
1592
+ }>;
1593
+ export type SnapshotOptions = z.infer<typeof snapshotOptions>;
1594
+ declare const cacheOptions: z.ZodBoolean;
1595
+ export type CacheOptions = z.infer<typeof cacheOptions>;
1596
+ declare const statsOptions: z.ZodObject<{
1597
+ all: z.ZodOptional<z.ZodBoolean>;
1598
+ preset: z.ZodOptional<z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings"]>>;
1599
+ assets: z.ZodOptional<z.ZodBoolean>;
1600
+ chunks: z.ZodOptional<z.ZodBoolean>;
1601
+ modules: z.ZodOptional<z.ZodBoolean>;
1602
+ entrypoints: z.ZodOptional<z.ZodBoolean>;
1603
+ chunkGroups: z.ZodOptional<z.ZodBoolean>;
1604
+ warnings: z.ZodOptional<z.ZodBoolean>;
1605
+ warningsCount: z.ZodOptional<z.ZodBoolean>;
1606
+ errors: z.ZodOptional<z.ZodBoolean>;
1607
+ errorsCount: z.ZodOptional<z.ZodBoolean>;
1608
+ colors: z.ZodOptional<z.ZodBoolean>;
1609
+ hash: z.ZodOptional<z.ZodBoolean>;
1610
+ version: z.ZodOptional<z.ZodBoolean>;
1611
+ reasons: z.ZodOptional<z.ZodBoolean>;
1612
+ publicPath: z.ZodOptional<z.ZodBoolean>;
1613
+ outputPath: z.ZodOptional<z.ZodBoolean>;
1614
+ chunkModules: z.ZodOptional<z.ZodBoolean>;
1615
+ chunkRelations: z.ZodOptional<z.ZodBoolean>;
1616
+ timings: z.ZodOptional<z.ZodBoolean>;
1617
+ builtAt: z.ZodOptional<z.ZodBoolean>;
1618
+ moduleAssets: z.ZodOptional<z.ZodBoolean>;
1619
+ modulesSpace: z.ZodOptional<z.ZodNumber>;
1620
+ nestedModules: z.ZodOptional<z.ZodBoolean>;
1621
+ source: z.ZodOptional<z.ZodBoolean>;
1622
+ logging: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>, z.ZodBoolean]>>;
1623
+ loggingDebug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
1624
+ loggingTrace: z.ZodOptional<z.ZodBoolean>;
1625
+ }, "strict", z.ZodTypeAny, {
1626
+ all?: boolean | undefined;
1627
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
1628
+ assets?: boolean | undefined;
1629
+ chunks?: boolean | undefined;
1630
+ modules?: boolean | undefined;
1631
+ entrypoints?: boolean | undefined;
1632
+ chunkGroups?: boolean | undefined;
1633
+ warnings?: boolean | undefined;
1634
+ warningsCount?: boolean | undefined;
1635
+ errors?: boolean | undefined;
1636
+ errorsCount?: boolean | undefined;
1637
+ colors?: boolean | undefined;
1638
+ hash?: boolean | undefined;
1639
+ version?: boolean | undefined;
1640
+ reasons?: boolean | undefined;
1641
+ publicPath?: boolean | undefined;
1642
+ outputPath?: boolean | undefined;
1643
+ chunkModules?: boolean | undefined;
1644
+ chunkRelations?: boolean | undefined;
1645
+ timings?: boolean | undefined;
1646
+ builtAt?: boolean | undefined;
1647
+ moduleAssets?: boolean | undefined;
1648
+ modulesSpace?: number | undefined;
1649
+ nestedModules?: boolean | undefined;
1650
+ source?: boolean | undefined;
1651
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1652
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1653
+ loggingTrace?: boolean | undefined;
1654
+ }, {
1655
+ all?: boolean | undefined;
1656
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
1657
+ assets?: boolean | undefined;
1658
+ chunks?: boolean | undefined;
1659
+ modules?: boolean | undefined;
1660
+ entrypoints?: boolean | undefined;
1661
+ chunkGroups?: boolean | undefined;
1662
+ warnings?: boolean | undefined;
1663
+ warningsCount?: boolean | undefined;
1664
+ errors?: boolean | undefined;
1665
+ errorsCount?: boolean | undefined;
1666
+ colors?: boolean | undefined;
1667
+ hash?: boolean | undefined;
1668
+ version?: boolean | undefined;
1669
+ reasons?: boolean | undefined;
1670
+ publicPath?: boolean | undefined;
1671
+ outputPath?: boolean | undefined;
1672
+ chunkModules?: boolean | undefined;
1673
+ chunkRelations?: boolean | undefined;
1674
+ timings?: boolean | undefined;
1675
+ builtAt?: boolean | undefined;
1676
+ moduleAssets?: boolean | undefined;
1677
+ modulesSpace?: number | undefined;
1678
+ nestedModules?: boolean | undefined;
1679
+ source?: boolean | undefined;
1680
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1681
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1682
+ loggingTrace?: boolean | undefined;
1683
+ }>;
1684
+ export type StatsOptions = z.infer<typeof statsOptions>;
1685
+ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{
1686
+ all: z.ZodOptional<z.ZodBoolean>;
1687
+ preset: z.ZodOptional<z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings"]>>;
1688
+ assets: z.ZodOptional<z.ZodBoolean>;
1689
+ chunks: z.ZodOptional<z.ZodBoolean>;
1690
+ modules: z.ZodOptional<z.ZodBoolean>;
1691
+ entrypoints: z.ZodOptional<z.ZodBoolean>;
1692
+ chunkGroups: z.ZodOptional<z.ZodBoolean>;
1693
+ warnings: z.ZodOptional<z.ZodBoolean>;
1694
+ warningsCount: z.ZodOptional<z.ZodBoolean>;
1695
+ errors: z.ZodOptional<z.ZodBoolean>;
1696
+ errorsCount: z.ZodOptional<z.ZodBoolean>;
1697
+ colors: z.ZodOptional<z.ZodBoolean>;
1698
+ hash: z.ZodOptional<z.ZodBoolean>;
1699
+ version: z.ZodOptional<z.ZodBoolean>;
1700
+ reasons: z.ZodOptional<z.ZodBoolean>;
1701
+ publicPath: z.ZodOptional<z.ZodBoolean>;
1702
+ outputPath: z.ZodOptional<z.ZodBoolean>;
1703
+ chunkModules: z.ZodOptional<z.ZodBoolean>;
1704
+ chunkRelations: z.ZodOptional<z.ZodBoolean>;
1705
+ timings: z.ZodOptional<z.ZodBoolean>;
1706
+ builtAt: z.ZodOptional<z.ZodBoolean>;
1707
+ moduleAssets: z.ZodOptional<z.ZodBoolean>;
1708
+ modulesSpace: z.ZodOptional<z.ZodNumber>;
1709
+ nestedModules: z.ZodOptional<z.ZodBoolean>;
1710
+ source: z.ZodOptional<z.ZodBoolean>;
1711
+ logging: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>, z.ZodBoolean]>>;
1712
+ loggingDebug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
1713
+ loggingTrace: z.ZodOptional<z.ZodBoolean>;
1714
+ }, "strict", z.ZodTypeAny, {
1715
+ all?: boolean | undefined;
1716
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
1717
+ assets?: boolean | undefined;
1718
+ chunks?: boolean | undefined;
1719
+ modules?: boolean | undefined;
1720
+ entrypoints?: boolean | undefined;
1721
+ chunkGroups?: boolean | undefined;
1722
+ warnings?: boolean | undefined;
1723
+ warningsCount?: boolean | undefined;
1724
+ errors?: boolean | undefined;
1725
+ errorsCount?: boolean | undefined;
1726
+ colors?: boolean | undefined;
1727
+ hash?: boolean | undefined;
1728
+ version?: boolean | undefined;
1729
+ reasons?: boolean | undefined;
1730
+ publicPath?: boolean | undefined;
1731
+ outputPath?: boolean | undefined;
1732
+ chunkModules?: boolean | undefined;
1733
+ chunkRelations?: boolean | undefined;
1734
+ timings?: boolean | undefined;
1735
+ builtAt?: boolean | undefined;
1736
+ moduleAssets?: boolean | undefined;
1737
+ modulesSpace?: number | undefined;
1738
+ nestedModules?: boolean | undefined;
1739
+ source?: boolean | undefined;
1740
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1741
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1742
+ loggingTrace?: boolean | undefined;
1743
+ }, {
1744
+ all?: boolean | undefined;
1745
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
1746
+ assets?: boolean | undefined;
1747
+ chunks?: boolean | undefined;
1748
+ modules?: boolean | undefined;
1749
+ entrypoints?: boolean | undefined;
1750
+ chunkGroups?: boolean | undefined;
1751
+ warnings?: boolean | undefined;
1752
+ warningsCount?: boolean | undefined;
1753
+ errors?: boolean | undefined;
1754
+ errorsCount?: boolean | undefined;
1755
+ colors?: boolean | undefined;
1756
+ hash?: boolean | undefined;
1757
+ version?: boolean | undefined;
1758
+ reasons?: boolean | undefined;
1759
+ publicPath?: boolean | undefined;
1760
+ outputPath?: boolean | undefined;
1761
+ chunkModules?: boolean | undefined;
1762
+ chunkRelations?: boolean | undefined;
1763
+ timings?: boolean | undefined;
1764
+ builtAt?: boolean | undefined;
1765
+ moduleAssets?: boolean | undefined;
1766
+ modulesSpace?: number | undefined;
1767
+ nestedModules?: boolean | undefined;
1768
+ source?: boolean | undefined;
1769
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
1770
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
1771
+ loggingTrace?: boolean | undefined;
1772
+ }>]>;
1773
+ export type StatsValue = z.infer<typeof statsValue>;
1774
+ export interface RspackPluginInstance {
1775
+ apply: (compiler: Compiler) => void;
1776
+ [k: string]: any;
1777
+ }
1778
+ export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void;
1779
+ declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>]>, "many">;
1780
+ export type Plugins = z.infer<typeof plugins>;
1781
+ declare const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
1782
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
1783
+ }, "strict", z.ZodTypeAny, {
1784
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
1785
+ }, {
1786
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
1787
+ }>]>;
1788
+ export type OptimizationRuntimeChunk = z.infer<typeof optimizationRuntimeChunk>;
1789
+ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
1790
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1791
+ minChunks: z.ZodOptional<z.ZodNumber>;
1792
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1793
+ minSize: z.ZodOptional<z.ZodNumber>;
1794
+ maxSize: z.ZodOptional<z.ZodNumber>;
1795
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
1796
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
1797
+ test: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1798
+ priority: z.ZodOptional<z.ZodNumber>;
1799
+ enforce: z.ZodOptional<z.ZodBoolean>;
1800
+ reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
1801
+ type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1802
+ idHint: z.ZodOptional<z.ZodString>;
1803
+ }, "strict", z.ZodTypeAny, {
1804
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1805
+ minChunks?: number | undefined;
1806
+ name?: string | false | undefined;
1807
+ minSize?: number | undefined;
1808
+ maxSize?: number | undefined;
1809
+ maxAsyncSize?: number | undefined;
1810
+ maxInitialSize?: number | undefined;
1811
+ test?: string | RegExp | undefined;
1812
+ priority?: number | undefined;
1813
+ enforce?: boolean | undefined;
1814
+ reuseExistingChunk?: boolean | undefined;
1815
+ type?: string | RegExp | undefined;
1816
+ idHint?: string | undefined;
1817
+ }, {
1818
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1819
+ minChunks?: number | undefined;
1820
+ name?: string | false | undefined;
1821
+ minSize?: number | undefined;
1822
+ maxSize?: number | undefined;
1823
+ maxAsyncSize?: number | undefined;
1824
+ maxInitialSize?: number | undefined;
1825
+ test?: string | RegExp | undefined;
1826
+ priority?: number | undefined;
1827
+ enforce?: boolean | undefined;
1828
+ reuseExistingChunk?: boolean | undefined;
1829
+ type?: string | RegExp | undefined;
1830
+ idHint?: string | undefined;
1831
+ }>;
1832
+ export type OptimizationSplitChunksCacheGroup = z.infer<typeof optimizationSplitChunksCacheGroup>;
1833
+ declare const optimizationSplitChunksOptions: z.ZodObject<{
1834
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1835
+ minChunks: z.ZodOptional<z.ZodNumber>;
1836
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1837
+ minSize: z.ZodOptional<z.ZodNumber>;
1838
+ maxSize: z.ZodOptional<z.ZodNumber>;
1839
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
1840
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
1841
+ cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
1842
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1843
+ minChunks: z.ZodOptional<z.ZodNumber>;
1844
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1845
+ minSize: z.ZodOptional<z.ZodNumber>;
1846
+ maxSize: z.ZodOptional<z.ZodNumber>;
1847
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
1848
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
1849
+ test: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1850
+ priority: z.ZodOptional<z.ZodNumber>;
1851
+ enforce: z.ZodOptional<z.ZodBoolean>;
1852
+ reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
1853
+ type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1854
+ idHint: z.ZodOptional<z.ZodString>;
1855
+ }, "strict", z.ZodTypeAny, {
1856
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1857
+ minChunks?: number | undefined;
1858
+ name?: string | false | undefined;
1859
+ minSize?: number | undefined;
1860
+ maxSize?: number | undefined;
1861
+ maxAsyncSize?: number | undefined;
1862
+ maxInitialSize?: number | undefined;
1863
+ test?: string | RegExp | undefined;
1864
+ priority?: number | undefined;
1865
+ enforce?: boolean | undefined;
1866
+ reuseExistingChunk?: boolean | undefined;
1867
+ type?: string | RegExp | undefined;
1868
+ idHint?: string | undefined;
1869
+ }, {
1870
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1871
+ minChunks?: number | undefined;
1872
+ name?: string | false | undefined;
1873
+ minSize?: number | undefined;
1874
+ maxSize?: number | undefined;
1875
+ maxAsyncSize?: number | undefined;
1876
+ maxInitialSize?: number | undefined;
1877
+ test?: string | RegExp | undefined;
1878
+ priority?: number | undefined;
1879
+ enforce?: boolean | undefined;
1880
+ reuseExistingChunk?: boolean | undefined;
1881
+ type?: string | RegExp | undefined;
1882
+ idHint?: string | undefined;
1883
+ }>]>>>;
1884
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
1885
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
1886
+ fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
1887
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1888
+ minSize: z.ZodOptional<z.ZodNumber>;
1889
+ maxSize: z.ZodOptional<z.ZodNumber>;
1890
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
1891
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
1892
+ }, "strict", z.ZodTypeAny, {
1893
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1894
+ minSize?: number | undefined;
1895
+ maxSize?: number | undefined;
1896
+ maxAsyncSize?: number | undefined;
1897
+ maxInitialSize?: number | undefined;
1898
+ }, {
1899
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1900
+ minSize?: number | undefined;
1901
+ maxSize?: number | undefined;
1902
+ maxAsyncSize?: number | undefined;
1903
+ maxInitialSize?: number | undefined;
1904
+ }>>;
1905
+ }, "strict", z.ZodTypeAny, {
1906
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1907
+ minChunks?: number | undefined;
1908
+ name?: string | false | undefined;
1909
+ minSize?: number | undefined;
1910
+ maxSize?: number | undefined;
1911
+ maxAsyncSize?: number | undefined;
1912
+ maxInitialSize?: number | undefined;
1913
+ cacheGroups?: Record<string, false | {
1914
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1915
+ minChunks?: number | undefined;
1916
+ name?: string | false | undefined;
1917
+ minSize?: number | undefined;
1918
+ maxSize?: number | undefined;
1919
+ maxAsyncSize?: number | undefined;
1920
+ maxInitialSize?: number | undefined;
1921
+ test?: string | RegExp | undefined;
1922
+ priority?: number | undefined;
1923
+ enforce?: boolean | undefined;
1924
+ reuseExistingChunk?: boolean | undefined;
1925
+ type?: string | RegExp | undefined;
1926
+ idHint?: string | undefined;
1927
+ }> | undefined;
1928
+ maxAsyncRequests?: number | undefined;
1929
+ maxInitialRequests?: number | undefined;
1930
+ fallbackCacheGroup?: {
1931
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1932
+ minSize?: number | undefined;
1933
+ maxSize?: number | undefined;
1934
+ maxAsyncSize?: number | undefined;
1935
+ maxInitialSize?: number | undefined;
1936
+ } | undefined;
1937
+ }, {
1938
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1939
+ minChunks?: number | undefined;
1940
+ name?: string | false | undefined;
1941
+ minSize?: number | undefined;
1942
+ maxSize?: number | undefined;
1943
+ maxAsyncSize?: number | undefined;
1944
+ maxInitialSize?: number | undefined;
1945
+ cacheGroups?: Record<string, false | {
1946
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1947
+ minChunks?: number | undefined;
1948
+ name?: string | false | undefined;
1949
+ minSize?: number | undefined;
1950
+ maxSize?: number | undefined;
1951
+ maxAsyncSize?: number | undefined;
1952
+ maxInitialSize?: number | undefined;
1953
+ test?: string | RegExp | undefined;
1954
+ priority?: number | undefined;
1955
+ enforce?: boolean | undefined;
1956
+ reuseExistingChunk?: boolean | undefined;
1957
+ type?: string | RegExp | undefined;
1958
+ idHint?: string | undefined;
1959
+ }> | undefined;
1960
+ maxAsyncRequests?: number | undefined;
1961
+ maxInitialRequests?: number | undefined;
1962
+ fallbackCacheGroup?: {
1963
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
1964
+ minSize?: number | undefined;
1965
+ maxSize?: number | undefined;
1966
+ maxAsyncSize?: number | undefined;
1967
+ maxInitialSize?: number | undefined;
1968
+ } | undefined;
1969
+ }>;
1970
+ export type OptimizationSplitChunksOptions = z.infer<typeof optimizationSplitChunksOptions>;
1971
+ declare const optimization: z.ZodObject<{
1972
+ moduleIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
1973
+ chunkIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
1974
+ minimize: z.ZodOptional<z.ZodBoolean>;
1975
+ minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>]>]>, "many">>;
1976
+ splitChunks: z.ZodOptional<z.ZodObject<{
1977
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1978
+ minChunks: z.ZodOptional<z.ZodNumber>;
1979
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1980
+ minSize: z.ZodOptional<z.ZodNumber>;
1981
+ maxSize: z.ZodOptional<z.ZodNumber>;
1982
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
1983
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
1984
+ cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
1985
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1986
+ minChunks: z.ZodOptional<z.ZodNumber>;
1987
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
1988
+ minSize: z.ZodOptional<z.ZodNumber>;
1989
+ maxSize: z.ZodOptional<z.ZodNumber>;
1990
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
1991
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
1992
+ test: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1993
+ priority: z.ZodOptional<z.ZodNumber>;
1994
+ enforce: z.ZodOptional<z.ZodBoolean>;
1995
+ reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
1996
+ type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
1997
+ idHint: z.ZodOptional<z.ZodString>;
1998
+ }, "strict", z.ZodTypeAny, {
1999
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2000
+ minChunks?: number | undefined;
2001
+ name?: string | false | undefined;
2002
+ minSize?: number | undefined;
2003
+ maxSize?: number | undefined;
2004
+ maxAsyncSize?: number | undefined;
2005
+ maxInitialSize?: number | undefined;
2006
+ test?: string | RegExp | undefined;
2007
+ priority?: number | undefined;
2008
+ enforce?: boolean | undefined;
2009
+ reuseExistingChunk?: boolean | undefined;
2010
+ type?: string | RegExp | undefined;
2011
+ idHint?: string | undefined;
2012
+ }, {
2013
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2014
+ minChunks?: number | undefined;
2015
+ name?: string | false | undefined;
2016
+ minSize?: number | undefined;
2017
+ maxSize?: number | undefined;
2018
+ maxAsyncSize?: number | undefined;
2019
+ maxInitialSize?: number | undefined;
2020
+ test?: string | RegExp | undefined;
2021
+ priority?: number | undefined;
2022
+ enforce?: boolean | undefined;
2023
+ reuseExistingChunk?: boolean | undefined;
2024
+ type?: string | RegExp | undefined;
2025
+ idHint?: string | undefined;
2026
+ }>]>>>;
2027
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
2028
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
2029
+ fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
2030
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2031
+ minSize: z.ZodOptional<z.ZodNumber>;
2032
+ maxSize: z.ZodOptional<z.ZodNumber>;
2033
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2034
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
2035
+ }, "strict", z.ZodTypeAny, {
2036
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2037
+ minSize?: number | undefined;
2038
+ maxSize?: number | undefined;
2039
+ maxAsyncSize?: number | undefined;
2040
+ maxInitialSize?: number | undefined;
2041
+ }, {
2042
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2043
+ minSize?: number | undefined;
2044
+ maxSize?: number | undefined;
2045
+ maxAsyncSize?: number | undefined;
2046
+ maxInitialSize?: number | undefined;
2047
+ }>>;
2048
+ }, "strict", z.ZodTypeAny, {
2049
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2050
+ minChunks?: number | undefined;
2051
+ name?: string | false | undefined;
2052
+ minSize?: number | undefined;
2053
+ maxSize?: number | undefined;
2054
+ maxAsyncSize?: number | undefined;
2055
+ maxInitialSize?: number | undefined;
2056
+ cacheGroups?: Record<string, false | {
2057
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2058
+ minChunks?: number | undefined;
2059
+ name?: string | false | undefined;
2060
+ minSize?: number | undefined;
2061
+ maxSize?: number | undefined;
2062
+ maxAsyncSize?: number | undefined;
2063
+ maxInitialSize?: number | undefined;
2064
+ test?: string | RegExp | undefined;
2065
+ priority?: number | undefined;
2066
+ enforce?: boolean | undefined;
2067
+ reuseExistingChunk?: boolean | undefined;
2068
+ type?: string | RegExp | undefined;
2069
+ idHint?: string | undefined;
2070
+ }> | undefined;
2071
+ maxAsyncRequests?: number | undefined;
2072
+ maxInitialRequests?: number | undefined;
2073
+ fallbackCacheGroup?: {
2074
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2075
+ minSize?: number | undefined;
2076
+ maxSize?: number | undefined;
2077
+ maxAsyncSize?: number | undefined;
2078
+ maxInitialSize?: number | undefined;
2079
+ } | undefined;
2080
+ }, {
2081
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2082
+ minChunks?: number | undefined;
2083
+ name?: string | false | undefined;
2084
+ minSize?: number | undefined;
2085
+ maxSize?: number | undefined;
2086
+ maxAsyncSize?: number | undefined;
2087
+ maxInitialSize?: number | undefined;
2088
+ cacheGroups?: Record<string, false | {
2089
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2090
+ minChunks?: number | undefined;
2091
+ name?: string | false | undefined;
2092
+ minSize?: number | undefined;
2093
+ maxSize?: number | undefined;
2094
+ maxAsyncSize?: number | undefined;
2095
+ maxInitialSize?: number | undefined;
2096
+ test?: string | RegExp | undefined;
2097
+ priority?: number | undefined;
2098
+ enforce?: boolean | undefined;
2099
+ reuseExistingChunk?: boolean | undefined;
2100
+ type?: string | RegExp | undefined;
2101
+ idHint?: string | undefined;
2102
+ }> | undefined;
2103
+ maxAsyncRequests?: number | undefined;
2104
+ maxInitialRequests?: number | undefined;
2105
+ fallbackCacheGroup?: {
2106
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2107
+ minSize?: number | undefined;
2108
+ maxSize?: number | undefined;
2109
+ maxAsyncSize?: number | undefined;
2110
+ maxInitialSize?: number | undefined;
2111
+ } | undefined;
2112
+ }>>;
2113
+ runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
2114
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
2115
+ }, "strict", z.ZodTypeAny, {
2116
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
2117
+ }, {
2118
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
2119
+ }>]>>;
2120
+ removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
2121
+ removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
2122
+ realContentHash: z.ZodOptional<z.ZodBoolean>;
2123
+ sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["flag"]>, z.ZodBoolean]>>;
2124
+ }, "strict", z.ZodTypeAny, {
2125
+ moduleIds?: "named" | "deterministic" | undefined;
2126
+ chunkIds?: "named" | "deterministic" | undefined;
2127
+ minimize?: boolean | undefined;
2128
+ minimizer?: ("..." | RspackPluginInstance | RspackPluginFunction)[] | undefined;
2129
+ splitChunks?: {
2130
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2131
+ minChunks?: number | undefined;
2132
+ name?: string | false | undefined;
2133
+ minSize?: number | undefined;
2134
+ maxSize?: number | undefined;
2135
+ maxAsyncSize?: number | undefined;
2136
+ maxInitialSize?: number | undefined;
2137
+ cacheGroups?: Record<string, false | {
2138
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2139
+ minChunks?: number | undefined;
2140
+ name?: string | false | undefined;
2141
+ minSize?: number | undefined;
2142
+ maxSize?: number | undefined;
2143
+ maxAsyncSize?: number | undefined;
2144
+ maxInitialSize?: number | undefined;
2145
+ test?: string | RegExp | undefined;
2146
+ priority?: number | undefined;
2147
+ enforce?: boolean | undefined;
2148
+ reuseExistingChunk?: boolean | undefined;
2149
+ type?: string | RegExp | undefined;
2150
+ idHint?: string | undefined;
2151
+ }> | undefined;
2152
+ maxAsyncRequests?: number | undefined;
2153
+ maxInitialRequests?: number | undefined;
2154
+ fallbackCacheGroup?: {
2155
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2156
+ minSize?: number | undefined;
2157
+ maxSize?: number | undefined;
2158
+ maxAsyncSize?: number | undefined;
2159
+ maxInitialSize?: number | undefined;
2160
+ } | undefined;
2161
+ } | undefined;
2162
+ runtimeChunk?: boolean | "single" | "multiple" | {
2163
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
2164
+ } | undefined;
2165
+ removeAvailableModules?: boolean | undefined;
2166
+ removeEmptyChunks?: boolean | undefined;
2167
+ realContentHash?: boolean | undefined;
2168
+ sideEffects?: boolean | "flag" | undefined;
2169
+ }, {
2170
+ moduleIds?: "named" | "deterministic" | undefined;
2171
+ chunkIds?: "named" | "deterministic" | undefined;
2172
+ minimize?: boolean | undefined;
2173
+ minimizer?: ("..." | RspackPluginInstance | RspackPluginFunction)[] | undefined;
2174
+ splitChunks?: {
2175
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2176
+ minChunks?: number | undefined;
2177
+ name?: string | false | undefined;
2178
+ minSize?: number | undefined;
2179
+ maxSize?: number | undefined;
2180
+ maxAsyncSize?: number | undefined;
2181
+ maxInitialSize?: number | undefined;
2182
+ cacheGroups?: Record<string, false | {
2183
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2184
+ minChunks?: number | undefined;
2185
+ name?: string | false | undefined;
2186
+ minSize?: number | undefined;
2187
+ maxSize?: number | undefined;
2188
+ maxAsyncSize?: number | undefined;
2189
+ maxInitialSize?: number | undefined;
2190
+ test?: string | RegExp | undefined;
2191
+ priority?: number | undefined;
2192
+ enforce?: boolean | undefined;
2193
+ reuseExistingChunk?: boolean | undefined;
2194
+ type?: string | RegExp | undefined;
2195
+ idHint?: string | undefined;
2196
+ }> | undefined;
2197
+ maxAsyncRequests?: number | undefined;
2198
+ maxInitialRequests?: number | undefined;
2199
+ fallbackCacheGroup?: {
2200
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2201
+ minSize?: number | undefined;
2202
+ maxSize?: number | undefined;
2203
+ maxAsyncSize?: number | undefined;
2204
+ maxInitialSize?: number | undefined;
2205
+ } | undefined;
2206
+ } | undefined;
2207
+ runtimeChunk?: boolean | "single" | "multiple" | {
2208
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
2209
+ } | undefined;
2210
+ removeAvailableModules?: boolean | undefined;
2211
+ removeEmptyChunks?: boolean | undefined;
2212
+ realContentHash?: boolean | undefined;
2213
+ sideEffects?: boolean | "flag" | undefined;
2214
+ }>;
2215
+ export type Optimization = z.infer<typeof optimization>;
2216
+ declare const incrementalRebuildOptions: z.ZodObject<{
2217
+ make: z.ZodOptional<z.ZodBoolean>;
2218
+ emitAsset: z.ZodOptional<z.ZodBoolean>;
2219
+ }, "strict", z.ZodTypeAny, {
2220
+ make?: boolean | undefined;
2221
+ emitAsset?: boolean | undefined;
2222
+ }, {
2223
+ make?: boolean | undefined;
2224
+ emitAsset?: boolean | undefined;
2225
+ }>;
2226
+ export type IncrementalRebuildOptions = z.infer<typeof incrementalRebuildOptions>;
2227
+ declare const rspackFutureOptions: z.ZodObject<{
2228
+ newResolver: z.ZodOptional<z.ZodBoolean>;
2229
+ }, "strict", z.ZodTypeAny, {
2230
+ newResolver?: boolean | undefined;
2231
+ }, {
2232
+ newResolver?: boolean | undefined;
2233
+ }>;
2234
+ export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
2235
+ declare const experiments: z.ZodObject<{
2236
+ lazyCompilation: z.ZodOptional<z.ZodBoolean>;
2237
+ incrementalRebuild: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
2238
+ make: z.ZodOptional<z.ZodBoolean>;
2239
+ emitAsset: z.ZodOptional<z.ZodBoolean>;
2240
+ }, "strict", z.ZodTypeAny, {
2241
+ make?: boolean | undefined;
2242
+ emitAsset?: boolean | undefined;
2243
+ }, {
2244
+ make?: boolean | undefined;
2245
+ emitAsset?: boolean | undefined;
2246
+ }>]>>;
2247
+ asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
2248
+ outputModule: z.ZodOptional<z.ZodBoolean>;
2249
+ newSplitChunks: z.ZodOptional<z.ZodBoolean>;
2250
+ css: z.ZodOptional<z.ZodBoolean>;
2251
+ futureDefaults: z.ZodOptional<z.ZodBoolean>;
2252
+ rspackFuture: z.ZodOptional<z.ZodObject<{
2253
+ newResolver: z.ZodOptional<z.ZodBoolean>;
2254
+ }, "strict", z.ZodTypeAny, {
2255
+ newResolver?: boolean | undefined;
2256
+ }, {
2257
+ newResolver?: boolean | undefined;
2258
+ }>>;
2259
+ }, "strict", z.ZodTypeAny, {
2260
+ lazyCompilation?: boolean | undefined;
2261
+ incrementalRebuild?: boolean | {
2262
+ make?: boolean | undefined;
2263
+ emitAsset?: boolean | undefined;
2264
+ } | undefined;
2265
+ asyncWebAssembly?: boolean | undefined;
2266
+ outputModule?: boolean | undefined;
2267
+ newSplitChunks?: boolean | undefined;
2268
+ css?: boolean | undefined;
2269
+ futureDefaults?: boolean | undefined;
2270
+ rspackFuture?: {
2271
+ newResolver?: boolean | undefined;
2272
+ } | undefined;
2273
+ }, {
2274
+ lazyCompilation?: boolean | undefined;
2275
+ incrementalRebuild?: boolean | {
2276
+ make?: boolean | undefined;
2277
+ emitAsset?: boolean | undefined;
2278
+ } | undefined;
2279
+ asyncWebAssembly?: boolean | undefined;
2280
+ outputModule?: boolean | undefined;
2281
+ newSplitChunks?: boolean | undefined;
2282
+ css?: boolean | undefined;
2283
+ futureDefaults?: boolean | undefined;
2284
+ rspackFuture?: {
2285
+ newResolver?: boolean | undefined;
2286
+ } | undefined;
2287
+ }>;
2288
+ export type Experiments = z.infer<typeof experiments>;
2289
+ declare const watch: z.ZodBoolean;
2290
+ export type Watch = z.infer<typeof watch>;
2291
+ declare const watchOptions: z.ZodObject<{
2292
+ aggregateTimeout: z.ZodOptional<z.ZodNumber>;
2293
+ followSymlinks: z.ZodOptional<z.ZodBoolean>;
2294
+ ignored: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodString]>>;
2295
+ poll: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
2296
+ stdin: z.ZodOptional<z.ZodBoolean>;
2297
+ }, "strict", z.ZodTypeAny, {
2298
+ aggregateTimeout?: number | undefined;
2299
+ followSymlinks?: boolean | undefined;
2300
+ ignored?: string | RegExp | string[] | undefined;
2301
+ poll?: number | boolean | undefined;
2302
+ stdin?: boolean | undefined;
2303
+ }, {
2304
+ aggregateTimeout?: number | undefined;
2305
+ followSymlinks?: boolean | undefined;
2306
+ ignored?: string | RegExp | string[] | undefined;
2307
+ poll?: number | boolean | undefined;
2308
+ stdin?: boolean | undefined;
2309
+ }>;
2310
+ export type WatchOptions = z.infer<typeof watchOptions>;
2311
+ export interface DevServer extends webpackDevServer.Configuration {
2312
+ hot?: boolean;
2313
+ }
2314
+ declare const ignoreWarnings: z.ZodArray<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Error, z.ZodTypeDef, Error>, z.ZodType<Compilation, z.ZodTypeDef, Compilation>], z.ZodUnknown>, z.ZodBoolean>]>, "many">;
2315
+ export type IgnoreWarnings = z.infer<typeof ignoreWarnings>;
2316
+ declare const profile: z.ZodBoolean;
2317
+ export type Profile = z.infer<typeof profile>;
2318
+ declare const builtins: z.ZodType<oldBuiltins.Builtins, z.ZodTypeDef, oldBuiltins.Builtins>;
2319
+ export type Builtins = z.infer<typeof builtins>;
2320
+ export declare const rspackOptions: z.ZodObject<{
2321
+ name: z.ZodOptional<z.ZodString>;
2322
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2323
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2324
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2325
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
2326
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
2327
+ baseUri: z.ZodOptional<z.ZodString>;
2328
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
2329
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
2330
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
2331
+ filename: z.ZodOptional<z.ZodString>;
2332
+ }, "strict", z.ZodTypeAny, {
2333
+ import: (string | string[]) & (string | string[] | undefined);
2334
+ runtime?: string | false | undefined;
2335
+ publicPath?: string | undefined;
2336
+ baseUri?: string | undefined;
2337
+ chunkLoading?: string | false | undefined;
2338
+ asyncChunks?: boolean | undefined;
2339
+ wasmLoading?: string | false | undefined;
2340
+ filename?: string | undefined;
2341
+ }, {
2342
+ import: (string | string[]) & (string | string[] | undefined);
2343
+ runtime?: string | false | undefined;
2344
+ publicPath?: string | undefined;
2345
+ baseUri?: string | undefined;
2346
+ chunkLoading?: string | false | undefined;
2347
+ asyncChunks?: boolean | undefined;
2348
+ wasmLoading?: string | false | undefined;
2349
+ filename?: string | undefined;
2350
+ }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
2351
+ output: z.ZodOptional<z.ZodObject<{
2352
+ path: z.ZodOptional<z.ZodString>;
2353
+ clean: z.ZodOptional<z.ZodBoolean>;
2354
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
2355
+ filename: z.ZodOptional<z.ZodString>;
2356
+ chunkFilename: z.ZodOptional<z.ZodString>;
2357
+ crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
2358
+ cssFilename: z.ZodOptional<z.ZodString>;
2359
+ cssChunkFilename: z.ZodOptional<z.ZodString>;
2360
+ hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
2361
+ hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
2362
+ assetModuleFilename: z.ZodOptional<z.ZodString>;
2363
+ uniqueName: z.ZodOptional<z.ZodString>;
2364
+ chunkLoadingGlobal: z.ZodOptional<z.ZodString>;
2365
+ enabledLibraryTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>, "many">>;
2366
+ library: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2367
+ amd: z.ZodOptional<z.ZodString>;
2368
+ commonjs: z.ZodOptional<z.ZodString>;
2369
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2370
+ }, "strict", z.ZodTypeAny, {
2371
+ amd?: string | undefined;
2372
+ commonjs?: string | undefined;
2373
+ root?: string | string[] | undefined;
2374
+ }, {
2375
+ amd?: string | undefined;
2376
+ commonjs?: string | undefined;
2377
+ root?: string | string[] | undefined;
2378
+ }>]>, z.ZodObject<{
2379
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2380
+ amd: z.ZodOptional<z.ZodString>;
2381
+ commonjs: z.ZodOptional<z.ZodString>;
2382
+ commonjs2: z.ZodOptional<z.ZodString>;
2383
+ root: z.ZodOptional<z.ZodString>;
2384
+ }, "strict", z.ZodTypeAny, {
2385
+ amd?: string | undefined;
2386
+ commonjs?: string | undefined;
2387
+ commonjs2?: string | undefined;
2388
+ root?: string | undefined;
2389
+ }, {
2390
+ amd?: string | undefined;
2391
+ commonjs?: string | undefined;
2392
+ commonjs2?: string | undefined;
2393
+ root?: string | undefined;
2394
+ }>]>>;
2395
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2396
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2397
+ amd: z.ZodOptional<z.ZodString>;
2398
+ commonjs: z.ZodOptional<z.ZodString>;
2399
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2400
+ }, "strict", z.ZodTypeAny, {
2401
+ amd?: string | undefined;
2402
+ commonjs?: string | undefined;
2403
+ root?: string | string[] | undefined;
2404
+ }, {
2405
+ amd?: string | undefined;
2406
+ commonjs?: string | undefined;
2407
+ root?: string | string[] | undefined;
2408
+ }>]>>;
2409
+ type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
2410
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
2411
+ }, "strict", z.ZodTypeAny, {
2412
+ type: string;
2413
+ auxiliaryComment?: string | {
2414
+ amd?: string | undefined;
2415
+ commonjs?: string | undefined;
2416
+ commonjs2?: string | undefined;
2417
+ root?: string | undefined;
2418
+ } | undefined;
2419
+ export?: string | string[] | undefined;
2420
+ name?: string | string[] | {
2421
+ amd?: string | undefined;
2422
+ commonjs?: string | undefined;
2423
+ root?: string | string[] | undefined;
2424
+ } | undefined;
2425
+ umdNamedDefine?: boolean | undefined;
2426
+ }, {
2427
+ type: string;
2428
+ auxiliaryComment?: string | {
2429
+ amd?: string | undefined;
2430
+ commonjs?: string | undefined;
2431
+ commonjs2?: string | undefined;
2432
+ root?: string | undefined;
2433
+ } | undefined;
2434
+ export?: string | string[] | undefined;
2435
+ name?: string | string[] | {
2436
+ amd?: string | undefined;
2437
+ commonjs?: string | undefined;
2438
+ root?: string | string[] | undefined;
2439
+ } | undefined;
2440
+ umdNamedDefine?: boolean | undefined;
2441
+ }>]>>;
2442
+ libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2443
+ libraryTarget: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>>;
2444
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
2445
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2446
+ amd: z.ZodOptional<z.ZodString>;
2447
+ commonjs: z.ZodOptional<z.ZodString>;
2448
+ commonjs2: z.ZodOptional<z.ZodString>;
2449
+ root: z.ZodOptional<z.ZodString>;
2450
+ }, "strict", z.ZodTypeAny, {
2451
+ amd?: string | undefined;
2452
+ commonjs?: string | undefined;
2453
+ commonjs2?: string | undefined;
2454
+ root?: string | undefined;
2455
+ }, {
2456
+ amd?: string | undefined;
2457
+ commonjs?: string | undefined;
2458
+ commonjs2?: string | undefined;
2459
+ root?: string | undefined;
2460
+ }>]>>;
2461
+ module: z.ZodOptional<z.ZodBoolean>;
2462
+ strictModuleErrorHandling: z.ZodOptional<z.ZodBoolean>;
2463
+ globalObject: z.ZodOptional<z.ZodString>;
2464
+ importFunctionName: z.ZodOptional<z.ZodString>;
2465
+ iife: z.ZodOptional<z.ZodBoolean>;
2466
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
2467
+ enabledWasmLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>, "many">>;
2468
+ webassemblyModuleFilename: z.ZodOptional<z.ZodString>;
2469
+ chunkFormat: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
2470
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
2471
+ enabledChunkLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">>;
2472
+ trustedTypes: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<true>, z.ZodString]>, z.ZodObject<{
2473
+ policyName: z.ZodOptional<z.ZodString>;
2474
+ }, "strict", z.ZodTypeAny, {
2475
+ policyName?: string | undefined;
2476
+ }, {
2477
+ policyName?: string | undefined;
2478
+ }>]>>;
2479
+ sourceMapFilename: z.ZodOptional<z.ZodString>;
2480
+ hashDigest: z.ZodOptional<z.ZodString>;
2481
+ hashDigestLength: z.ZodOptional<z.ZodNumber>;
2482
+ hashFunction: z.ZodOptional<z.ZodString>;
2483
+ hashSalt: z.ZodOptional<z.ZodString>;
2484
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
2485
+ workerChunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
2486
+ workerWasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
2487
+ workerPublicPath: z.ZodOptional<z.ZodString>;
2488
+ }, "strict", z.ZodTypeAny, {
2489
+ path?: string | undefined;
2490
+ clean?: boolean | undefined;
2491
+ publicPath?: string | undefined;
2492
+ filename?: string | undefined;
2493
+ chunkFilename?: string | undefined;
2494
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
2495
+ cssFilename?: string | undefined;
2496
+ cssChunkFilename?: string | undefined;
2497
+ hotUpdateMainFilename?: string | undefined;
2498
+ hotUpdateChunkFilename?: string | undefined;
2499
+ assetModuleFilename?: string | undefined;
2500
+ uniqueName?: string | undefined;
2501
+ chunkLoadingGlobal?: string | undefined;
2502
+ enabledLibraryTypes?: string[] | undefined;
2503
+ library?: string | string[] | {
2504
+ amd?: string | undefined;
2505
+ commonjs?: string | undefined;
2506
+ root?: string | string[] | undefined;
2507
+ } | {
2508
+ type: string;
2509
+ auxiliaryComment?: string | {
2510
+ amd?: string | undefined;
2511
+ commonjs?: string | undefined;
2512
+ commonjs2?: string | undefined;
2513
+ root?: string | undefined;
2514
+ } | undefined;
2515
+ export?: string | string[] | undefined;
2516
+ name?: string | string[] | {
2517
+ amd?: string | undefined;
2518
+ commonjs?: string | undefined;
2519
+ root?: string | string[] | undefined;
2520
+ } | undefined;
2521
+ umdNamedDefine?: boolean | undefined;
2522
+ } | undefined;
2523
+ libraryExport?: string | string[] | undefined;
2524
+ libraryTarget?: string | undefined;
2525
+ umdNamedDefine?: boolean | undefined;
2526
+ auxiliaryComment?: string | {
2527
+ amd?: string | undefined;
2528
+ commonjs?: string | undefined;
2529
+ commonjs2?: string | undefined;
2530
+ root?: string | undefined;
2531
+ } | undefined;
2532
+ module?: boolean | undefined;
2533
+ strictModuleErrorHandling?: boolean | undefined;
2534
+ globalObject?: string | undefined;
2535
+ importFunctionName?: string | undefined;
2536
+ iife?: boolean | undefined;
2537
+ wasmLoading?: string | false | undefined;
2538
+ enabledWasmLoadingTypes?: string[] | undefined;
2539
+ webassemblyModuleFilename?: string | undefined;
2540
+ chunkFormat?: string | false | undefined;
2541
+ chunkLoading?: string | false | undefined;
2542
+ enabledChunkLoadingTypes?: string[] | undefined;
2543
+ trustedTypes?: string | true | {
2544
+ policyName?: string | undefined;
2545
+ } | undefined;
2546
+ sourceMapFilename?: string | undefined;
2547
+ hashDigest?: string | undefined;
2548
+ hashDigestLength?: number | undefined;
2549
+ hashFunction?: string | undefined;
2550
+ hashSalt?: string | undefined;
2551
+ asyncChunks?: boolean | undefined;
2552
+ workerChunkLoading?: string | false | undefined;
2553
+ workerWasmLoading?: string | false | undefined;
2554
+ workerPublicPath?: string | undefined;
2555
+ }, {
2556
+ path?: string | undefined;
2557
+ clean?: boolean | undefined;
2558
+ publicPath?: string | undefined;
2559
+ filename?: string | undefined;
2560
+ chunkFilename?: string | undefined;
2561
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
2562
+ cssFilename?: string | undefined;
2563
+ cssChunkFilename?: string | undefined;
2564
+ hotUpdateMainFilename?: string | undefined;
2565
+ hotUpdateChunkFilename?: string | undefined;
2566
+ assetModuleFilename?: string | undefined;
2567
+ uniqueName?: string | undefined;
2568
+ chunkLoadingGlobal?: string | undefined;
2569
+ enabledLibraryTypes?: string[] | undefined;
2570
+ library?: string | string[] | {
2571
+ amd?: string | undefined;
2572
+ commonjs?: string | undefined;
2573
+ root?: string | string[] | undefined;
2574
+ } | {
2575
+ type: string;
2576
+ auxiliaryComment?: string | {
2577
+ amd?: string | undefined;
2578
+ commonjs?: string | undefined;
2579
+ commonjs2?: string | undefined;
2580
+ root?: string | undefined;
2581
+ } | undefined;
2582
+ export?: string | string[] | undefined;
2583
+ name?: string | string[] | {
2584
+ amd?: string | undefined;
2585
+ commonjs?: string | undefined;
2586
+ root?: string | string[] | undefined;
2587
+ } | undefined;
2588
+ umdNamedDefine?: boolean | undefined;
2589
+ } | undefined;
2590
+ libraryExport?: string | string[] | undefined;
2591
+ libraryTarget?: string | undefined;
2592
+ umdNamedDefine?: boolean | undefined;
2593
+ auxiliaryComment?: string | {
2594
+ amd?: string | undefined;
2595
+ commonjs?: string | undefined;
2596
+ commonjs2?: string | undefined;
2597
+ root?: string | undefined;
2598
+ } | undefined;
2599
+ module?: boolean | undefined;
2600
+ strictModuleErrorHandling?: boolean | undefined;
2601
+ globalObject?: string | undefined;
2602
+ importFunctionName?: string | undefined;
2603
+ iife?: boolean | undefined;
2604
+ wasmLoading?: string | false | undefined;
2605
+ enabledWasmLoadingTypes?: string[] | undefined;
2606
+ webassemblyModuleFilename?: string | undefined;
2607
+ chunkFormat?: string | false | undefined;
2608
+ chunkLoading?: string | false | undefined;
2609
+ enabledChunkLoadingTypes?: string[] | undefined;
2610
+ trustedTypes?: string | true | {
2611
+ policyName?: string | undefined;
2612
+ } | undefined;
2613
+ sourceMapFilename?: string | undefined;
2614
+ hashDigest?: string | undefined;
2615
+ hashDigestLength?: number | undefined;
2616
+ hashFunction?: string | undefined;
2617
+ hashSalt?: string | undefined;
2618
+ asyncChunks?: boolean | undefined;
2619
+ workerChunkLoading?: string | false | undefined;
2620
+ workerWasmLoading?: string | false | undefined;
2621
+ workerPublicPath?: string | undefined;
2622
+ }>>;
2623
+ target: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>, "many">]>>;
2624
+ mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
2625
+ experiments: z.ZodOptional<z.ZodObject<{
2626
+ lazyCompilation: z.ZodOptional<z.ZodBoolean>;
2627
+ incrementalRebuild: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
2628
+ make: z.ZodOptional<z.ZodBoolean>;
2629
+ emitAsset: z.ZodOptional<z.ZodBoolean>;
2630
+ }, "strict", z.ZodTypeAny, {
2631
+ make?: boolean | undefined;
2632
+ emitAsset?: boolean | undefined;
2633
+ }, {
2634
+ make?: boolean | undefined;
2635
+ emitAsset?: boolean | undefined;
2636
+ }>]>>;
2637
+ asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
2638
+ outputModule: z.ZodOptional<z.ZodBoolean>;
2639
+ newSplitChunks: z.ZodOptional<z.ZodBoolean>;
2640
+ css: z.ZodOptional<z.ZodBoolean>;
2641
+ futureDefaults: z.ZodOptional<z.ZodBoolean>;
2642
+ rspackFuture: z.ZodOptional<z.ZodObject<{
2643
+ newResolver: z.ZodOptional<z.ZodBoolean>;
2644
+ }, "strict", z.ZodTypeAny, {
2645
+ newResolver?: boolean | undefined;
2646
+ }, {
2647
+ newResolver?: boolean | undefined;
2648
+ }>>;
2649
+ }, "strict", z.ZodTypeAny, {
2650
+ lazyCompilation?: boolean | undefined;
2651
+ incrementalRebuild?: boolean | {
2652
+ make?: boolean | undefined;
2653
+ emitAsset?: boolean | undefined;
2654
+ } | undefined;
2655
+ asyncWebAssembly?: boolean | undefined;
2656
+ outputModule?: boolean | undefined;
2657
+ newSplitChunks?: boolean | undefined;
2658
+ css?: boolean | undefined;
2659
+ futureDefaults?: boolean | undefined;
2660
+ rspackFuture?: {
2661
+ newResolver?: boolean | undefined;
2662
+ } | undefined;
2663
+ }, {
2664
+ lazyCompilation?: boolean | undefined;
2665
+ incrementalRebuild?: boolean | {
2666
+ make?: boolean | undefined;
2667
+ emitAsset?: boolean | undefined;
2668
+ } | undefined;
2669
+ asyncWebAssembly?: boolean | undefined;
2670
+ outputModule?: boolean | undefined;
2671
+ newSplitChunks?: boolean | undefined;
2672
+ css?: boolean | undefined;
2673
+ futureDefaults?: boolean | undefined;
2674
+ rspackFuture?: {
2675
+ newResolver?: boolean | undefined;
2676
+ } | undefined;
2677
+ }>>;
2678
+ externals: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
2679
+ context: z.ZodOptional<z.ZodString>;
2680
+ dependencyType: z.ZodOptional<z.ZodString>;
2681
+ request: z.ZodOptional<z.ZodString>;
2682
+ }, "strict", z.ZodTypeAny, {
2683
+ context?: string | undefined;
2684
+ dependencyType?: string | undefined;
2685
+ request?: string | undefined;
2686
+ }, {
2687
+ context?: string | undefined;
2688
+ dependencyType?: string | undefined;
2689
+ request?: string | undefined;
2690
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
2691
+ context: z.ZodOptional<z.ZodString>;
2692
+ dependencyType: z.ZodOptional<z.ZodString>;
2693
+ request: z.ZodOptional<z.ZodString>;
2694
+ }, "strict", z.ZodTypeAny, {
2695
+ context?: string | undefined;
2696
+ dependencyType?: string | undefined;
2697
+ request?: string | undefined;
2698
+ }, {
2699
+ context?: string | undefined;
2700
+ dependencyType?: string | undefined;
2701
+ request?: string | undefined;
2702
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
2703
+ context: z.ZodOptional<z.ZodString>;
2704
+ dependencyType: z.ZodOptional<z.ZodString>;
2705
+ request: z.ZodOptional<z.ZodString>;
2706
+ }, "strict", z.ZodTypeAny, {
2707
+ context?: string | undefined;
2708
+ dependencyType?: string | undefined;
2709
+ request?: string | undefined;
2710
+ }, {
2711
+ context?: string | undefined;
2712
+ dependencyType?: string | undefined;
2713
+ request?: string | undefined;
2714
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
2715
+ context: z.ZodOptional<z.ZodString>;
2716
+ dependencyType: z.ZodOptional<z.ZodString>;
2717
+ request: z.ZodOptional<z.ZodString>;
2718
+ }, "strict", z.ZodTypeAny, {
2719
+ context?: string | undefined;
2720
+ dependencyType?: string | undefined;
2721
+ request?: string | undefined;
2722
+ }, {
2723
+ context?: string | undefined;
2724
+ dependencyType?: string | undefined;
2725
+ request?: string | undefined;
2726
+ }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>>>]>]>>;
2727
+ externalsType: z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>;
2728
+ externalsPresets: z.ZodOptional<z.ZodObject<{
2729
+ node: z.ZodOptional<z.ZodBoolean>;
2730
+ web: z.ZodOptional<z.ZodBoolean>;
2731
+ electron: z.ZodOptional<z.ZodBoolean>;
2732
+ electronMain: z.ZodOptional<z.ZodBoolean>;
2733
+ electronPreload: z.ZodOptional<z.ZodBoolean>;
2734
+ electronRenderer: z.ZodOptional<z.ZodBoolean>;
2735
+ }, "strict", z.ZodTypeAny, {
2736
+ node?: boolean | undefined;
2737
+ web?: boolean | undefined;
2738
+ electron?: boolean | undefined;
2739
+ electronMain?: boolean | undefined;
2740
+ electronPreload?: boolean | undefined;
2741
+ electronRenderer?: boolean | undefined;
2742
+ }, {
2743
+ node?: boolean | undefined;
2744
+ web?: boolean | undefined;
2745
+ electron?: boolean | undefined;
2746
+ electronMain?: boolean | undefined;
2747
+ electronPreload?: boolean | undefined;
2748
+ electronRenderer?: boolean | undefined;
2749
+ }>>;
2750
+ infrastructureLogging: z.ZodOptional<z.ZodObject<{
2751
+ appendOnly: z.ZodOptional<z.ZodBoolean>;
2752
+ colors: z.ZodOptional<z.ZodBoolean>;
2753
+ console: z.ZodOptional<z.ZodType<Console, z.ZodTypeDef, Console>>;
2754
+ debug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
2755
+ level: z.ZodOptional<z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>>;
2756
+ stream: z.ZodOptional<z.ZodType<NodeJS.WritableStream, z.ZodTypeDef, NodeJS.WritableStream>>;
2757
+ }, "strict", z.ZodTypeAny, {
2758
+ appendOnly?: boolean | undefined;
2759
+ colors?: boolean | undefined;
2760
+ console?: Console | undefined;
2761
+ debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
2762
+ level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
2763
+ stream?: NodeJS.WritableStream | undefined;
2764
+ }, {
2765
+ appendOnly?: boolean | undefined;
2766
+ colors?: boolean | undefined;
2767
+ console?: Console | undefined;
2768
+ debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
2769
+ level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
2770
+ stream?: NodeJS.WritableStream | undefined;
2771
+ }>>;
2772
+ cache: z.ZodOptional<z.ZodBoolean>;
2773
+ context: z.ZodOptional<z.ZodString>;
2774
+ devtool: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-module-source-map", "inline-nosources-source-map", "nosources-cheap-source-map", "nosources-cheap-module-source-map", "nosources-source-map", "hidden-nosources-cheap-source-map", "hidden-nosources-cheap-module-source-map", "hidden-nosources-source-map", "hidden-cheap-source-map", "hidden-cheap-module-source-map", "hidden-source-map", "eval-cheap-source-map", "eval-cheap-module-source-map", "eval-source-map", "eval-nosources-cheap-source-map", "eval-nosources-cheap-module-source-map", "eval-nosources-source-map"]>]>>;
2775
+ node: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
2776
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
2777
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
2778
+ global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
2779
+ }, "strict", z.ZodTypeAny, {
2780
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
2781
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
2782
+ global?: boolean | "warn" | undefined;
2783
+ }, {
2784
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
2785
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
2786
+ global?: boolean | "warn" | undefined;
2787
+ }>]>>;
2788
+ ignoreWarnings: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Error, z.ZodTypeDef, Error>, z.ZodType<Compilation, z.ZodTypeDef, Compilation>], z.ZodUnknown>, z.ZodBoolean>]>, "many">>;
2789
+ watchOptions: z.ZodOptional<z.ZodObject<{
2790
+ aggregateTimeout: z.ZodOptional<z.ZodNumber>;
2791
+ followSymlinks: z.ZodOptional<z.ZodBoolean>;
2792
+ ignored: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodString]>>;
2793
+ poll: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
2794
+ stdin: z.ZodOptional<z.ZodBoolean>;
2795
+ }, "strict", z.ZodTypeAny, {
2796
+ aggregateTimeout?: number | undefined;
2797
+ followSymlinks?: boolean | undefined;
2798
+ ignored?: string | RegExp | string[] | undefined;
2799
+ poll?: number | boolean | undefined;
2800
+ stdin?: boolean | undefined;
2801
+ }, {
2802
+ aggregateTimeout?: number | undefined;
2803
+ followSymlinks?: boolean | undefined;
2804
+ ignored?: string | RegExp | string[] | undefined;
2805
+ poll?: number | boolean | undefined;
2806
+ stdin?: boolean | undefined;
2807
+ }>>;
2808
+ watch: z.ZodOptional<z.ZodBoolean>;
2809
+ stats: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{
2810
+ all: z.ZodOptional<z.ZodBoolean>;
2811
+ preset: z.ZodOptional<z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings"]>>;
2812
+ assets: z.ZodOptional<z.ZodBoolean>;
2813
+ chunks: z.ZodOptional<z.ZodBoolean>;
2814
+ modules: z.ZodOptional<z.ZodBoolean>;
2815
+ entrypoints: z.ZodOptional<z.ZodBoolean>;
2816
+ chunkGroups: z.ZodOptional<z.ZodBoolean>;
2817
+ warnings: z.ZodOptional<z.ZodBoolean>;
2818
+ warningsCount: z.ZodOptional<z.ZodBoolean>;
2819
+ errors: z.ZodOptional<z.ZodBoolean>;
2820
+ errorsCount: z.ZodOptional<z.ZodBoolean>;
2821
+ colors: z.ZodOptional<z.ZodBoolean>;
2822
+ hash: z.ZodOptional<z.ZodBoolean>;
2823
+ version: z.ZodOptional<z.ZodBoolean>;
2824
+ reasons: z.ZodOptional<z.ZodBoolean>;
2825
+ publicPath: z.ZodOptional<z.ZodBoolean>;
2826
+ outputPath: z.ZodOptional<z.ZodBoolean>;
2827
+ chunkModules: z.ZodOptional<z.ZodBoolean>;
2828
+ chunkRelations: z.ZodOptional<z.ZodBoolean>;
2829
+ timings: z.ZodOptional<z.ZodBoolean>;
2830
+ builtAt: z.ZodOptional<z.ZodBoolean>;
2831
+ moduleAssets: z.ZodOptional<z.ZodBoolean>;
2832
+ modulesSpace: z.ZodOptional<z.ZodNumber>;
2833
+ nestedModules: z.ZodOptional<z.ZodBoolean>;
2834
+ source: z.ZodOptional<z.ZodBoolean>;
2835
+ logging: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>, z.ZodBoolean]>>;
2836
+ loggingDebug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>]>]>>;
2837
+ loggingTrace: z.ZodOptional<z.ZodBoolean>;
2838
+ }, "strict", z.ZodTypeAny, {
2839
+ all?: boolean | undefined;
2840
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
2841
+ assets?: boolean | undefined;
2842
+ chunks?: boolean | undefined;
2843
+ modules?: boolean | undefined;
2844
+ entrypoints?: boolean | undefined;
2845
+ chunkGroups?: boolean | undefined;
2846
+ warnings?: boolean | undefined;
2847
+ warningsCount?: boolean | undefined;
2848
+ errors?: boolean | undefined;
2849
+ errorsCount?: boolean | undefined;
2850
+ colors?: boolean | undefined;
2851
+ hash?: boolean | undefined;
2852
+ version?: boolean | undefined;
2853
+ reasons?: boolean | undefined;
2854
+ publicPath?: boolean | undefined;
2855
+ outputPath?: boolean | undefined;
2856
+ chunkModules?: boolean | undefined;
2857
+ chunkRelations?: boolean | undefined;
2858
+ timings?: boolean | undefined;
2859
+ builtAt?: boolean | undefined;
2860
+ moduleAssets?: boolean | undefined;
2861
+ modulesSpace?: number | undefined;
2862
+ nestedModules?: boolean | undefined;
2863
+ source?: boolean | undefined;
2864
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
2865
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
2866
+ loggingTrace?: boolean | undefined;
2867
+ }, {
2868
+ all?: boolean | undefined;
2869
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
2870
+ assets?: boolean | undefined;
2871
+ chunks?: boolean | undefined;
2872
+ modules?: boolean | undefined;
2873
+ entrypoints?: boolean | undefined;
2874
+ chunkGroups?: boolean | undefined;
2875
+ warnings?: boolean | undefined;
2876
+ warningsCount?: boolean | undefined;
2877
+ errors?: boolean | undefined;
2878
+ errorsCount?: boolean | undefined;
2879
+ colors?: boolean | undefined;
2880
+ hash?: boolean | undefined;
2881
+ version?: boolean | undefined;
2882
+ reasons?: boolean | undefined;
2883
+ publicPath?: boolean | undefined;
2884
+ outputPath?: boolean | undefined;
2885
+ chunkModules?: boolean | undefined;
2886
+ chunkRelations?: boolean | undefined;
2887
+ timings?: boolean | undefined;
2888
+ builtAt?: boolean | undefined;
2889
+ moduleAssets?: boolean | undefined;
2890
+ modulesSpace?: number | undefined;
2891
+ nestedModules?: boolean | undefined;
2892
+ source?: boolean | undefined;
2893
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
2894
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
2895
+ loggingTrace?: boolean | undefined;
2896
+ }>]>>;
2897
+ snapshot: z.ZodOptional<z.ZodObject<{
2898
+ module: z.ZodOptional<z.ZodObject<{
2899
+ hash: z.ZodOptional<z.ZodBoolean>;
2900
+ timestamp: z.ZodOptional<z.ZodBoolean>;
2901
+ }, "strict", z.ZodTypeAny, {
2902
+ hash?: boolean | undefined;
2903
+ timestamp?: boolean | undefined;
2904
+ }, {
2905
+ hash?: boolean | undefined;
2906
+ timestamp?: boolean | undefined;
2907
+ }>>;
2908
+ resolve: z.ZodOptional<z.ZodObject<{
2909
+ hash: z.ZodOptional<z.ZodBoolean>;
2910
+ timestamp: z.ZodOptional<z.ZodBoolean>;
2911
+ }, "strict", z.ZodTypeAny, {
2912
+ hash?: boolean | undefined;
2913
+ timestamp?: boolean | undefined;
2914
+ }, {
2915
+ hash?: boolean | undefined;
2916
+ timestamp?: boolean | undefined;
2917
+ }>>;
2918
+ }, "strict", z.ZodTypeAny, {
2919
+ module?: {
2920
+ hash?: boolean | undefined;
2921
+ timestamp?: boolean | undefined;
2922
+ } | undefined;
2923
+ resolve?: {
2924
+ hash?: boolean | undefined;
2925
+ timestamp?: boolean | undefined;
2926
+ } | undefined;
2927
+ }, {
2928
+ module?: {
2929
+ hash?: boolean | undefined;
2930
+ timestamp?: boolean | undefined;
2931
+ } | undefined;
2932
+ resolve?: {
2933
+ hash?: boolean | undefined;
2934
+ timestamp?: boolean | undefined;
2935
+ } | undefined;
2936
+ }>>;
2937
+ optimization: z.ZodOptional<z.ZodObject<{
2938
+ moduleIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
2939
+ chunkIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
2940
+ minimize: z.ZodOptional<z.ZodBoolean>;
2941
+ minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>]>]>, "many">>;
2942
+ splitChunks: z.ZodOptional<z.ZodObject<{
2943
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2944
+ minChunks: z.ZodOptional<z.ZodNumber>;
2945
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
2946
+ minSize: z.ZodOptional<z.ZodNumber>;
2947
+ maxSize: z.ZodOptional<z.ZodNumber>;
2948
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2949
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
2950
+ cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
2951
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2952
+ minChunks: z.ZodOptional<z.ZodNumber>;
2953
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
2954
+ minSize: z.ZodOptional<z.ZodNumber>;
2955
+ maxSize: z.ZodOptional<z.ZodNumber>;
2956
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
2957
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
2958
+ test: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2959
+ priority: z.ZodOptional<z.ZodNumber>;
2960
+ enforce: z.ZodOptional<z.ZodBoolean>;
2961
+ reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
2962
+ type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2963
+ idHint: z.ZodOptional<z.ZodString>;
2964
+ }, "strict", z.ZodTypeAny, {
2965
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2966
+ minChunks?: number | undefined;
2967
+ name?: string | false | undefined;
2968
+ minSize?: number | undefined;
2969
+ maxSize?: number | undefined;
2970
+ maxAsyncSize?: number | undefined;
2971
+ maxInitialSize?: number | undefined;
2972
+ test?: string | RegExp | undefined;
2973
+ priority?: number | undefined;
2974
+ enforce?: boolean | undefined;
2975
+ reuseExistingChunk?: boolean | undefined;
2976
+ type?: string | RegExp | undefined;
2977
+ idHint?: string | undefined;
2978
+ }, {
2979
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
2980
+ minChunks?: number | undefined;
2981
+ name?: string | false | undefined;
2982
+ minSize?: number | undefined;
2983
+ maxSize?: number | undefined;
2984
+ maxAsyncSize?: number | undefined;
2985
+ maxInitialSize?: number | undefined;
2986
+ test?: string | RegExp | undefined;
2987
+ priority?: number | undefined;
2988
+ enforce?: boolean | undefined;
2989
+ reuseExistingChunk?: boolean | undefined;
2990
+ type?: string | RegExp | undefined;
2991
+ idHint?: string | undefined;
2992
+ }>]>>>;
2993
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
2994
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
2995
+ fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
2996
+ chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
2997
+ minSize: z.ZodOptional<z.ZodNumber>;
2998
+ maxSize: z.ZodOptional<z.ZodNumber>;
2999
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
3000
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
3001
+ }, "strict", z.ZodTypeAny, {
3002
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3003
+ minSize?: number | undefined;
3004
+ maxSize?: number | undefined;
3005
+ maxAsyncSize?: number | undefined;
3006
+ maxInitialSize?: number | undefined;
3007
+ }, {
3008
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3009
+ minSize?: number | undefined;
3010
+ maxSize?: number | undefined;
3011
+ maxAsyncSize?: number | undefined;
3012
+ maxInitialSize?: number | undefined;
3013
+ }>>;
3014
+ }, "strict", z.ZodTypeAny, {
3015
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3016
+ minChunks?: number | undefined;
3017
+ name?: string | false | undefined;
3018
+ minSize?: number | undefined;
3019
+ maxSize?: number | undefined;
3020
+ maxAsyncSize?: number | undefined;
3021
+ maxInitialSize?: number | undefined;
3022
+ cacheGroups?: Record<string, false | {
3023
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3024
+ minChunks?: number | undefined;
3025
+ name?: string | false | undefined;
3026
+ minSize?: number | undefined;
3027
+ maxSize?: number | undefined;
3028
+ maxAsyncSize?: number | undefined;
3029
+ maxInitialSize?: number | undefined;
3030
+ test?: string | RegExp | undefined;
3031
+ priority?: number | undefined;
3032
+ enforce?: boolean | undefined;
3033
+ reuseExistingChunk?: boolean | undefined;
3034
+ type?: string | RegExp | undefined;
3035
+ idHint?: string | undefined;
3036
+ }> | undefined;
3037
+ maxAsyncRequests?: number | undefined;
3038
+ maxInitialRequests?: number | undefined;
3039
+ fallbackCacheGroup?: {
3040
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3041
+ minSize?: number | undefined;
3042
+ maxSize?: number | undefined;
3043
+ maxAsyncSize?: number | undefined;
3044
+ maxInitialSize?: number | undefined;
3045
+ } | undefined;
3046
+ }, {
3047
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3048
+ minChunks?: number | undefined;
3049
+ name?: string | false | undefined;
3050
+ minSize?: number | undefined;
3051
+ maxSize?: number | undefined;
3052
+ maxAsyncSize?: number | undefined;
3053
+ maxInitialSize?: number | undefined;
3054
+ cacheGroups?: Record<string, false | {
3055
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3056
+ minChunks?: number | undefined;
3057
+ name?: string | false | undefined;
3058
+ minSize?: number | undefined;
3059
+ maxSize?: number | undefined;
3060
+ maxAsyncSize?: number | undefined;
3061
+ maxInitialSize?: number | undefined;
3062
+ test?: string | RegExp | undefined;
3063
+ priority?: number | undefined;
3064
+ enforce?: boolean | undefined;
3065
+ reuseExistingChunk?: boolean | undefined;
3066
+ type?: string | RegExp | undefined;
3067
+ idHint?: string | undefined;
3068
+ }> | undefined;
3069
+ maxAsyncRequests?: number | undefined;
3070
+ maxInitialRequests?: number | undefined;
3071
+ fallbackCacheGroup?: {
3072
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3073
+ minSize?: number | undefined;
3074
+ maxSize?: number | undefined;
3075
+ maxAsyncSize?: number | undefined;
3076
+ maxInitialSize?: number | undefined;
3077
+ } | undefined;
3078
+ }>>;
3079
+ runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
3080
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
3081
+ }, "strict", z.ZodTypeAny, {
3082
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
3083
+ }, {
3084
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
3085
+ }>]>>;
3086
+ removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
3087
+ removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
3088
+ realContentHash: z.ZodOptional<z.ZodBoolean>;
3089
+ sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["flag"]>, z.ZodBoolean]>>;
3090
+ }, "strict", z.ZodTypeAny, {
3091
+ moduleIds?: "named" | "deterministic" | undefined;
3092
+ chunkIds?: "named" | "deterministic" | undefined;
3093
+ minimize?: boolean | undefined;
3094
+ minimizer?: ("..." | RspackPluginInstance | RspackPluginFunction)[] | undefined;
3095
+ splitChunks?: {
3096
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3097
+ minChunks?: number | undefined;
3098
+ name?: string | false | undefined;
3099
+ minSize?: number | undefined;
3100
+ maxSize?: number | undefined;
3101
+ maxAsyncSize?: number | undefined;
3102
+ maxInitialSize?: number | undefined;
3103
+ cacheGroups?: Record<string, false | {
3104
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3105
+ minChunks?: number | undefined;
3106
+ name?: string | false | undefined;
3107
+ minSize?: number | undefined;
3108
+ maxSize?: number | undefined;
3109
+ maxAsyncSize?: number | undefined;
3110
+ maxInitialSize?: number | undefined;
3111
+ test?: string | RegExp | undefined;
3112
+ priority?: number | undefined;
3113
+ enforce?: boolean | undefined;
3114
+ reuseExistingChunk?: boolean | undefined;
3115
+ type?: string | RegExp | undefined;
3116
+ idHint?: string | undefined;
3117
+ }> | undefined;
3118
+ maxAsyncRequests?: number | undefined;
3119
+ maxInitialRequests?: number | undefined;
3120
+ fallbackCacheGroup?: {
3121
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3122
+ minSize?: number | undefined;
3123
+ maxSize?: number | undefined;
3124
+ maxAsyncSize?: number | undefined;
3125
+ maxInitialSize?: number | undefined;
3126
+ } | undefined;
3127
+ } | undefined;
3128
+ runtimeChunk?: boolean | "single" | "multiple" | {
3129
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
3130
+ } | undefined;
3131
+ removeAvailableModules?: boolean | undefined;
3132
+ removeEmptyChunks?: boolean | undefined;
3133
+ realContentHash?: boolean | undefined;
3134
+ sideEffects?: boolean | "flag" | undefined;
3135
+ }, {
3136
+ moduleIds?: "named" | "deterministic" | undefined;
3137
+ chunkIds?: "named" | "deterministic" | undefined;
3138
+ minimize?: boolean | undefined;
3139
+ minimizer?: ("..." | RspackPluginInstance | RspackPluginFunction)[] | undefined;
3140
+ splitChunks?: {
3141
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3142
+ minChunks?: number | undefined;
3143
+ name?: string | false | undefined;
3144
+ minSize?: number | undefined;
3145
+ maxSize?: number | undefined;
3146
+ maxAsyncSize?: number | undefined;
3147
+ maxInitialSize?: number | undefined;
3148
+ cacheGroups?: Record<string, false | {
3149
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3150
+ minChunks?: number | undefined;
3151
+ name?: string | false | undefined;
3152
+ minSize?: number | undefined;
3153
+ maxSize?: number | undefined;
3154
+ maxAsyncSize?: number | undefined;
3155
+ maxInitialSize?: number | undefined;
3156
+ test?: string | RegExp | undefined;
3157
+ priority?: number | undefined;
3158
+ enforce?: boolean | undefined;
3159
+ reuseExistingChunk?: boolean | undefined;
3160
+ type?: string | RegExp | undefined;
3161
+ idHint?: string | undefined;
3162
+ }> | undefined;
3163
+ maxAsyncRequests?: number | undefined;
3164
+ maxInitialRequests?: number | undefined;
3165
+ fallbackCacheGroup?: {
3166
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3167
+ minSize?: number | undefined;
3168
+ maxSize?: number | undefined;
3169
+ maxAsyncSize?: number | undefined;
3170
+ maxInitialSize?: number | undefined;
3171
+ } | undefined;
3172
+ } | undefined;
3173
+ runtimeChunk?: boolean | "single" | "multiple" | {
3174
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
3175
+ } | undefined;
3176
+ removeAvailableModules?: boolean | undefined;
3177
+ removeEmptyChunks?: boolean | undefined;
3178
+ realContentHash?: boolean | undefined;
3179
+ sideEffects?: boolean | "flag" | undefined;
3180
+ }>>;
3181
+ resolve: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
3182
+ resolveLoader: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
3183
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>]>, "many">>;
3184
+ devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
3185
+ builtins: z.ZodOptional<z.ZodType<oldBuiltins.Builtins, z.ZodTypeDef, oldBuiltins.Builtins>>;
3186
+ module: z.ZodOptional<z.ZodObject<{
3187
+ defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, "many">>;
3188
+ rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, "many">>;
3189
+ parser: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3190
+ asset: z.ZodOptional<z.ZodObject<{
3191
+ dataUrlCondition: z.ZodOptional<z.ZodObject<{
3192
+ maxSize: z.ZodOptional<z.ZodNumber>;
3193
+ }, "strict", z.ZodTypeAny, {
3194
+ maxSize?: number | undefined;
3195
+ }, {
3196
+ maxSize?: number | undefined;
3197
+ }>>;
3198
+ }, "strict", z.ZodTypeAny, {
3199
+ dataUrlCondition?: {
3200
+ maxSize?: number | undefined;
3201
+ } | undefined;
3202
+ }, {
3203
+ dataUrlCondition?: {
3204
+ maxSize?: number | undefined;
3205
+ } | undefined;
3206
+ }>>;
3207
+ }, "strict", z.ZodTypeAny, {
3208
+ asset?: {
3209
+ dataUrlCondition?: {
3210
+ maxSize?: number | undefined;
3211
+ } | undefined;
3212
+ } | undefined;
3213
+ }, {
3214
+ asset?: {
3215
+ dataUrlCondition?: {
3216
+ maxSize?: number | undefined;
3217
+ } | undefined;
3218
+ } | undefined;
3219
+ }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
3220
+ generator: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3221
+ asset: z.ZodOptional<z.ZodObject<{
3222
+ dataUrl: z.ZodOptional<z.ZodObject<{
3223
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
3224
+ mimetype: z.ZodOptional<z.ZodString>;
3225
+ }, "strict", z.ZodTypeAny, {
3226
+ encoding?: false | "base64" | undefined;
3227
+ mimetype?: string | undefined;
3228
+ }, {
3229
+ encoding?: false | "base64" | undefined;
3230
+ mimetype?: string | undefined;
3231
+ }>>;
3232
+ filename: z.ZodOptional<z.ZodString>;
3233
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
3234
+ }, "strict", z.ZodTypeAny, {
3235
+ dataUrl?: {
3236
+ encoding?: false | "base64" | undefined;
3237
+ mimetype?: string | undefined;
3238
+ } | undefined;
3239
+ filename?: string | undefined;
3240
+ publicPath?: string | undefined;
3241
+ }, {
3242
+ dataUrl?: {
3243
+ encoding?: false | "base64" | undefined;
3244
+ mimetype?: string | undefined;
3245
+ } | undefined;
3246
+ filename?: string | undefined;
3247
+ publicPath?: string | undefined;
3248
+ }>>;
3249
+ "asset/inline": z.ZodOptional<z.ZodObject<{
3250
+ dataUrl: z.ZodOptional<z.ZodObject<{
3251
+ encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
3252
+ mimetype: z.ZodOptional<z.ZodString>;
3253
+ }, "strict", z.ZodTypeAny, {
3254
+ encoding?: false | "base64" | undefined;
3255
+ mimetype?: string | undefined;
3256
+ }, {
3257
+ encoding?: false | "base64" | undefined;
3258
+ mimetype?: string | undefined;
3259
+ }>>;
3260
+ }, "strict", z.ZodTypeAny, {
3261
+ dataUrl?: {
3262
+ encoding?: false | "base64" | undefined;
3263
+ mimetype?: string | undefined;
3264
+ } | undefined;
3265
+ }, {
3266
+ dataUrl?: {
3267
+ encoding?: false | "base64" | undefined;
3268
+ mimetype?: string | undefined;
3269
+ } | undefined;
3270
+ }>>;
3271
+ "asset/resource": z.ZodOptional<z.ZodObject<{
3272
+ filename: z.ZodOptional<z.ZodString>;
3273
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
3274
+ }, "strict", z.ZodTypeAny, {
3275
+ filename?: string | undefined;
3276
+ publicPath?: string | undefined;
3277
+ }, {
3278
+ filename?: string | undefined;
3279
+ publicPath?: string | undefined;
3280
+ }>>;
3281
+ }, "strict", z.ZodTypeAny, {
3282
+ asset?: {
3283
+ dataUrl?: {
3284
+ encoding?: false | "base64" | undefined;
3285
+ mimetype?: string | undefined;
3286
+ } | undefined;
3287
+ filename?: string | undefined;
3288
+ publicPath?: string | undefined;
3289
+ } | undefined;
3290
+ "asset/inline"?: {
3291
+ dataUrl?: {
3292
+ encoding?: false | "base64" | undefined;
3293
+ mimetype?: string | undefined;
3294
+ } | undefined;
3295
+ } | undefined;
3296
+ "asset/resource"?: {
3297
+ filename?: string | undefined;
3298
+ publicPath?: string | undefined;
3299
+ } | undefined;
3300
+ }, {
3301
+ asset?: {
3302
+ dataUrl?: {
3303
+ encoding?: false | "base64" | undefined;
3304
+ mimetype?: string | undefined;
3305
+ } | undefined;
3306
+ filename?: string | undefined;
3307
+ publicPath?: string | undefined;
3308
+ } | undefined;
3309
+ "asset/inline"?: {
3310
+ dataUrl?: {
3311
+ encoding?: false | "base64" | undefined;
3312
+ mimetype?: string | undefined;
3313
+ } | undefined;
3314
+ } | undefined;
3315
+ "asset/resource"?: {
3316
+ filename?: string | undefined;
3317
+ publicPath?: string | undefined;
3318
+ } | undefined;
3319
+ }>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
3320
+ }, "strict", z.ZodTypeAny, {
3321
+ defaultRules?: ("..." | RuleSetRule)[] | undefined;
3322
+ rules?: ("..." | RuleSetRule)[] | undefined;
3323
+ parser?: {
3324
+ asset?: {
3325
+ dataUrlCondition?: {
3326
+ maxSize?: number | undefined;
3327
+ } | undefined;
3328
+ } | undefined;
3329
+ } | Record<string, Record<string, any>> | undefined;
3330
+ generator?: Record<string, Record<string, any>> | {
3331
+ asset?: {
3332
+ dataUrl?: {
3333
+ encoding?: false | "base64" | undefined;
3334
+ mimetype?: string | undefined;
3335
+ } | undefined;
3336
+ filename?: string | undefined;
3337
+ publicPath?: string | undefined;
3338
+ } | undefined;
3339
+ "asset/inline"?: {
3340
+ dataUrl?: {
3341
+ encoding?: false | "base64" | undefined;
3342
+ mimetype?: string | undefined;
3343
+ } | undefined;
3344
+ } | undefined;
3345
+ "asset/resource"?: {
3346
+ filename?: string | undefined;
3347
+ publicPath?: string | undefined;
3348
+ } | undefined;
3349
+ } | undefined;
3350
+ }, {
3351
+ defaultRules?: ("..." | RuleSetRule)[] | undefined;
3352
+ rules?: ("..." | RuleSetRule)[] | undefined;
3353
+ parser?: {
3354
+ asset?: {
3355
+ dataUrlCondition?: {
3356
+ maxSize?: number | undefined;
3357
+ } | undefined;
3358
+ } | undefined;
3359
+ } | Record<string, Record<string, any>> | undefined;
3360
+ generator?: Record<string, Record<string, any>> | {
3361
+ asset?: {
3362
+ dataUrl?: {
3363
+ encoding?: false | "base64" | undefined;
3364
+ mimetype?: string | undefined;
3365
+ } | undefined;
3366
+ filename?: string | undefined;
3367
+ publicPath?: string | undefined;
3368
+ } | undefined;
3369
+ "asset/inline"?: {
3370
+ dataUrl?: {
3371
+ encoding?: false | "base64" | undefined;
3372
+ mimetype?: string | undefined;
3373
+ } | undefined;
3374
+ } | undefined;
3375
+ "asset/resource"?: {
3376
+ filename?: string | undefined;
3377
+ publicPath?: string | undefined;
3378
+ } | undefined;
3379
+ } | undefined;
3380
+ }>>;
3381
+ profile: z.ZodOptional<z.ZodBoolean>;
3382
+ }, "strict", z.ZodTypeAny, {
3383
+ name?: string | undefined;
3384
+ dependencies?: string[] | undefined;
3385
+ entry?: string | string[] | Record<string, string | string[] | {
3386
+ import: (string | string[]) & (string | string[] | undefined);
3387
+ runtime?: string | false | undefined;
3388
+ publicPath?: string | undefined;
3389
+ baseUri?: string | undefined;
3390
+ chunkLoading?: string | false | undefined;
3391
+ asyncChunks?: boolean | undefined;
3392
+ wasmLoading?: string | false | undefined;
3393
+ filename?: string | undefined;
3394
+ }> | undefined;
3395
+ output?: {
3396
+ path?: string | undefined;
3397
+ clean?: boolean | undefined;
3398
+ publicPath?: string | undefined;
3399
+ filename?: string | undefined;
3400
+ chunkFilename?: string | undefined;
3401
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3402
+ cssFilename?: string | undefined;
3403
+ cssChunkFilename?: string | undefined;
3404
+ hotUpdateMainFilename?: string | undefined;
3405
+ hotUpdateChunkFilename?: string | undefined;
3406
+ assetModuleFilename?: string | undefined;
3407
+ uniqueName?: string | undefined;
3408
+ chunkLoadingGlobal?: string | undefined;
3409
+ enabledLibraryTypes?: string[] | undefined;
3410
+ library?: string | string[] | {
3411
+ amd?: string | undefined;
3412
+ commonjs?: string | undefined;
3413
+ root?: string | string[] | undefined;
3414
+ } | {
3415
+ type: string;
3416
+ auxiliaryComment?: string | {
3417
+ amd?: string | undefined;
3418
+ commonjs?: string | undefined;
3419
+ commonjs2?: string | undefined;
3420
+ root?: string | undefined;
3421
+ } | undefined;
3422
+ export?: string | string[] | undefined;
3423
+ name?: string | string[] | {
3424
+ amd?: string | undefined;
3425
+ commonjs?: string | undefined;
3426
+ root?: string | string[] | undefined;
3427
+ } | undefined;
3428
+ umdNamedDefine?: boolean | undefined;
3429
+ } | undefined;
3430
+ libraryExport?: string | string[] | undefined;
3431
+ libraryTarget?: string | undefined;
3432
+ umdNamedDefine?: boolean | undefined;
3433
+ auxiliaryComment?: string | {
3434
+ amd?: string | undefined;
3435
+ commonjs?: string | undefined;
3436
+ commonjs2?: string | undefined;
3437
+ root?: string | undefined;
3438
+ } | undefined;
3439
+ module?: boolean | undefined;
3440
+ strictModuleErrorHandling?: boolean | undefined;
3441
+ globalObject?: string | undefined;
3442
+ importFunctionName?: string | undefined;
3443
+ iife?: boolean | undefined;
3444
+ wasmLoading?: string | false | undefined;
3445
+ enabledWasmLoadingTypes?: string[] | undefined;
3446
+ webassemblyModuleFilename?: string | undefined;
3447
+ chunkFormat?: string | false | undefined;
3448
+ chunkLoading?: string | false | undefined;
3449
+ enabledChunkLoadingTypes?: string[] | undefined;
3450
+ trustedTypes?: string | true | {
3451
+ policyName?: string | undefined;
3452
+ } | undefined;
3453
+ sourceMapFilename?: string | undefined;
3454
+ hashDigest?: string | undefined;
3455
+ hashDigestLength?: number | undefined;
3456
+ hashFunction?: string | undefined;
3457
+ hashSalt?: string | undefined;
3458
+ asyncChunks?: boolean | undefined;
3459
+ workerChunkLoading?: string | false | undefined;
3460
+ workerWasmLoading?: string | false | undefined;
3461
+ workerPublicPath?: string | undefined;
3462
+ } | undefined;
3463
+ target?: false | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
3464
+ mode?: "none" | "development" | "production" | undefined;
3465
+ experiments?: {
3466
+ lazyCompilation?: boolean | undefined;
3467
+ incrementalRebuild?: boolean | {
3468
+ make?: boolean | undefined;
3469
+ emitAsset?: boolean | undefined;
3470
+ } | undefined;
3471
+ asyncWebAssembly?: boolean | undefined;
3472
+ outputModule?: boolean | undefined;
3473
+ newSplitChunks?: boolean | undefined;
3474
+ css?: boolean | undefined;
3475
+ futureDefaults?: boolean | undefined;
3476
+ rspackFuture?: {
3477
+ newResolver?: boolean | undefined;
3478
+ } | undefined;
3479
+ } | undefined;
3480
+ externals?: string | RegExp | Record<string, string | boolean | string[]> | ((args_0: {
3481
+ context?: string | undefined;
3482
+ dependencyType?: string | undefined;
3483
+ request?: string | undefined;
3484
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
3485
+ context?: string | undefined;
3486
+ dependencyType?: string | undefined;
3487
+ request?: string | undefined;
3488
+ }, ...args_1: unknown[]) => Promise<string | boolean | string[]>) | (string | RegExp | Record<string, string | boolean | string[]> | ((args_0: {
3489
+ context?: string | undefined;
3490
+ dependencyType?: string | undefined;
3491
+ request?: string | undefined;
3492
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
3493
+ context?: string | undefined;
3494
+ dependencyType?: string | undefined;
3495
+ request?: string | undefined;
3496
+ }, ...args_1: unknown[]) => Promise<string | boolean | string[]>))[] | undefined;
3497
+ externalsType?: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
3498
+ externalsPresets?: {
3499
+ node?: boolean | undefined;
3500
+ web?: boolean | undefined;
3501
+ electron?: boolean | undefined;
3502
+ electronMain?: boolean | undefined;
3503
+ electronPreload?: boolean | undefined;
3504
+ electronRenderer?: boolean | undefined;
3505
+ } | undefined;
3506
+ infrastructureLogging?: {
3507
+ appendOnly?: boolean | undefined;
3508
+ colors?: boolean | undefined;
3509
+ console?: Console | undefined;
3510
+ debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3511
+ level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3512
+ stream?: NodeJS.WritableStream | undefined;
3513
+ } | undefined;
3514
+ cache?: boolean | undefined;
3515
+ context?: string | undefined;
3516
+ devtool?: false | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
3517
+ node?: false | {
3518
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
3519
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
3520
+ global?: boolean | "warn" | undefined;
3521
+ } | undefined;
3522
+ ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined;
3523
+ watchOptions?: {
3524
+ aggregateTimeout?: number | undefined;
3525
+ followSymlinks?: boolean | undefined;
3526
+ ignored?: string | RegExp | string[] | undefined;
3527
+ poll?: number | boolean | undefined;
3528
+ stdin?: boolean | undefined;
3529
+ } | undefined;
3530
+ watch?: boolean | undefined;
3531
+ stats?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | {
3532
+ all?: boolean | undefined;
3533
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
3534
+ assets?: boolean | undefined;
3535
+ chunks?: boolean | undefined;
3536
+ modules?: boolean | undefined;
3537
+ entrypoints?: boolean | undefined;
3538
+ chunkGroups?: boolean | undefined;
3539
+ warnings?: boolean | undefined;
3540
+ warningsCount?: boolean | undefined;
3541
+ errors?: boolean | undefined;
3542
+ errorsCount?: boolean | undefined;
3543
+ colors?: boolean | undefined;
3544
+ hash?: boolean | undefined;
3545
+ version?: boolean | undefined;
3546
+ reasons?: boolean | undefined;
3547
+ publicPath?: boolean | undefined;
3548
+ outputPath?: boolean | undefined;
3549
+ chunkModules?: boolean | undefined;
3550
+ chunkRelations?: boolean | undefined;
3551
+ timings?: boolean | undefined;
3552
+ builtAt?: boolean | undefined;
3553
+ moduleAssets?: boolean | undefined;
3554
+ modulesSpace?: number | undefined;
3555
+ nestedModules?: boolean | undefined;
3556
+ source?: boolean | undefined;
3557
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3558
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3559
+ loggingTrace?: boolean | undefined;
3560
+ } | undefined;
3561
+ snapshot?: {
3562
+ module?: {
3563
+ hash?: boolean | undefined;
3564
+ timestamp?: boolean | undefined;
3565
+ } | undefined;
3566
+ resolve?: {
3567
+ hash?: boolean | undefined;
3568
+ timestamp?: boolean | undefined;
3569
+ } | undefined;
3570
+ } | undefined;
3571
+ optimization?: {
3572
+ moduleIds?: "named" | "deterministic" | undefined;
3573
+ chunkIds?: "named" | "deterministic" | undefined;
3574
+ minimize?: boolean | undefined;
3575
+ minimizer?: ("..." | RspackPluginInstance | RspackPluginFunction)[] | undefined;
3576
+ splitChunks?: {
3577
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3578
+ minChunks?: number | undefined;
3579
+ name?: string | false | undefined;
3580
+ minSize?: number | undefined;
3581
+ maxSize?: number | undefined;
3582
+ maxAsyncSize?: number | undefined;
3583
+ maxInitialSize?: number | undefined;
3584
+ cacheGroups?: Record<string, false | {
3585
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3586
+ minChunks?: number | undefined;
3587
+ name?: string | false | undefined;
3588
+ minSize?: number | undefined;
3589
+ maxSize?: number | undefined;
3590
+ maxAsyncSize?: number | undefined;
3591
+ maxInitialSize?: number | undefined;
3592
+ test?: string | RegExp | undefined;
3593
+ priority?: number | undefined;
3594
+ enforce?: boolean | undefined;
3595
+ reuseExistingChunk?: boolean | undefined;
3596
+ type?: string | RegExp | undefined;
3597
+ idHint?: string | undefined;
3598
+ }> | undefined;
3599
+ maxAsyncRequests?: number | undefined;
3600
+ maxInitialRequests?: number | undefined;
3601
+ fallbackCacheGroup?: {
3602
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3603
+ minSize?: number | undefined;
3604
+ maxSize?: number | undefined;
3605
+ maxAsyncSize?: number | undefined;
3606
+ maxInitialSize?: number | undefined;
3607
+ } | undefined;
3608
+ } | undefined;
3609
+ runtimeChunk?: boolean | "single" | "multiple" | {
3610
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
3611
+ } | undefined;
3612
+ removeAvailableModules?: boolean | undefined;
3613
+ removeEmptyChunks?: boolean | undefined;
3614
+ realContentHash?: boolean | undefined;
3615
+ sideEffects?: boolean | "flag" | undefined;
3616
+ } | undefined;
3617
+ resolve?: ResolveOptions | undefined;
3618
+ resolveLoader?: ResolveOptions | undefined;
3619
+ plugins?: (RspackPluginInstance | RspackPluginFunction)[] | undefined;
3620
+ devServer?: DevServer | undefined;
3621
+ builtins?: oldBuiltins.Builtins | undefined;
3622
+ module?: {
3623
+ defaultRules?: ("..." | RuleSetRule)[] | undefined;
3624
+ rules?: ("..." | RuleSetRule)[] | undefined;
3625
+ parser?: {
3626
+ asset?: {
3627
+ dataUrlCondition?: {
3628
+ maxSize?: number | undefined;
3629
+ } | undefined;
3630
+ } | undefined;
3631
+ } | Record<string, Record<string, any>> | undefined;
3632
+ generator?: Record<string, Record<string, any>> | {
3633
+ asset?: {
3634
+ dataUrl?: {
3635
+ encoding?: false | "base64" | undefined;
3636
+ mimetype?: string | undefined;
3637
+ } | undefined;
3638
+ filename?: string | undefined;
3639
+ publicPath?: string | undefined;
3640
+ } | undefined;
3641
+ "asset/inline"?: {
3642
+ dataUrl?: {
3643
+ encoding?: false | "base64" | undefined;
3644
+ mimetype?: string | undefined;
3645
+ } | undefined;
3646
+ } | undefined;
3647
+ "asset/resource"?: {
3648
+ filename?: string | undefined;
3649
+ publicPath?: string | undefined;
3650
+ } | undefined;
3651
+ } | undefined;
3652
+ } | undefined;
3653
+ profile?: boolean | undefined;
3654
+ }, {
3655
+ name?: string | undefined;
3656
+ dependencies?: string[] | undefined;
3657
+ entry?: string | string[] | Record<string, string | string[] | {
3658
+ import: (string | string[]) & (string | string[] | undefined);
3659
+ runtime?: string | false | undefined;
3660
+ publicPath?: string | undefined;
3661
+ baseUri?: string | undefined;
3662
+ chunkLoading?: string | false | undefined;
3663
+ asyncChunks?: boolean | undefined;
3664
+ wasmLoading?: string | false | undefined;
3665
+ filename?: string | undefined;
3666
+ }> | undefined;
3667
+ output?: {
3668
+ path?: string | undefined;
3669
+ clean?: boolean | undefined;
3670
+ publicPath?: string | undefined;
3671
+ filename?: string | undefined;
3672
+ chunkFilename?: string | undefined;
3673
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
3674
+ cssFilename?: string | undefined;
3675
+ cssChunkFilename?: string | undefined;
3676
+ hotUpdateMainFilename?: string | undefined;
3677
+ hotUpdateChunkFilename?: string | undefined;
3678
+ assetModuleFilename?: string | undefined;
3679
+ uniqueName?: string | undefined;
3680
+ chunkLoadingGlobal?: string | undefined;
3681
+ enabledLibraryTypes?: string[] | undefined;
3682
+ library?: string | string[] | {
3683
+ amd?: string | undefined;
3684
+ commonjs?: string | undefined;
3685
+ root?: string | string[] | undefined;
3686
+ } | {
3687
+ type: string;
3688
+ auxiliaryComment?: string | {
3689
+ amd?: string | undefined;
3690
+ commonjs?: string | undefined;
3691
+ commonjs2?: string | undefined;
3692
+ root?: string | undefined;
3693
+ } | undefined;
3694
+ export?: string | string[] | undefined;
3695
+ name?: string | string[] | {
3696
+ amd?: string | undefined;
3697
+ commonjs?: string | undefined;
3698
+ root?: string | string[] | undefined;
3699
+ } | undefined;
3700
+ umdNamedDefine?: boolean | undefined;
3701
+ } | undefined;
3702
+ libraryExport?: string | string[] | undefined;
3703
+ libraryTarget?: string | undefined;
3704
+ umdNamedDefine?: boolean | undefined;
3705
+ auxiliaryComment?: string | {
3706
+ amd?: string | undefined;
3707
+ commonjs?: string | undefined;
3708
+ commonjs2?: string | undefined;
3709
+ root?: string | undefined;
3710
+ } | undefined;
3711
+ module?: boolean | undefined;
3712
+ strictModuleErrorHandling?: boolean | undefined;
3713
+ globalObject?: string | undefined;
3714
+ importFunctionName?: string | undefined;
3715
+ iife?: boolean | undefined;
3716
+ wasmLoading?: string | false | undefined;
3717
+ enabledWasmLoadingTypes?: string[] | undefined;
3718
+ webassemblyModuleFilename?: string | undefined;
3719
+ chunkFormat?: string | false | undefined;
3720
+ chunkLoading?: string | false | undefined;
3721
+ enabledChunkLoadingTypes?: string[] | undefined;
3722
+ trustedTypes?: string | true | {
3723
+ policyName?: string | undefined;
3724
+ } | undefined;
3725
+ sourceMapFilename?: string | undefined;
3726
+ hashDigest?: string | undefined;
3727
+ hashDigestLength?: number | undefined;
3728
+ hashFunction?: string | undefined;
3729
+ hashSalt?: string | undefined;
3730
+ asyncChunks?: boolean | undefined;
3731
+ workerChunkLoading?: string | false | undefined;
3732
+ workerWasmLoading?: string | false | undefined;
3733
+ workerPublicPath?: string | undefined;
3734
+ } | undefined;
3735
+ target?: false | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
3736
+ mode?: "none" | "development" | "production" | undefined;
3737
+ experiments?: {
3738
+ lazyCompilation?: boolean | undefined;
3739
+ incrementalRebuild?: boolean | {
3740
+ make?: boolean | undefined;
3741
+ emitAsset?: boolean | undefined;
3742
+ } | undefined;
3743
+ asyncWebAssembly?: boolean | undefined;
3744
+ outputModule?: boolean | undefined;
3745
+ newSplitChunks?: boolean | undefined;
3746
+ css?: boolean | undefined;
3747
+ futureDefaults?: boolean | undefined;
3748
+ rspackFuture?: {
3749
+ newResolver?: boolean | undefined;
3750
+ } | undefined;
3751
+ } | undefined;
3752
+ externals?: string | RegExp | Record<string, string | boolean | string[]> | ((args_0: {
3753
+ context?: string | undefined;
3754
+ dependencyType?: string | undefined;
3755
+ request?: string | undefined;
3756
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
3757
+ context?: string | undefined;
3758
+ dependencyType?: string | undefined;
3759
+ request?: string | undefined;
3760
+ }, ...args_1: unknown[]) => Promise<string | boolean | string[]>) | (string | RegExp | Record<string, string | boolean | string[]> | ((args_0: {
3761
+ context?: string | undefined;
3762
+ dependencyType?: string | undefined;
3763
+ request?: string | undefined;
3764
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | undefined, args_2: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
3765
+ context?: string | undefined;
3766
+ dependencyType?: string | undefined;
3767
+ request?: string | undefined;
3768
+ }, ...args_1: unknown[]) => Promise<string | boolean | string[]>))[] | undefined;
3769
+ externalsType?: "promise" | "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
3770
+ externalsPresets?: {
3771
+ node?: boolean | undefined;
3772
+ web?: boolean | undefined;
3773
+ electron?: boolean | undefined;
3774
+ electronMain?: boolean | undefined;
3775
+ electronPreload?: boolean | undefined;
3776
+ electronRenderer?: boolean | undefined;
3777
+ } | undefined;
3778
+ infrastructureLogging?: {
3779
+ appendOnly?: boolean | undefined;
3780
+ colors?: boolean | undefined;
3781
+ console?: Console | undefined;
3782
+ debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3783
+ level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3784
+ stream?: NodeJS.WritableStream | undefined;
3785
+ } | undefined;
3786
+ cache?: boolean | undefined;
3787
+ context?: string | undefined;
3788
+ devtool?: false | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
3789
+ node?: false | {
3790
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
3791
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
3792
+ global?: boolean | "warn" | undefined;
3793
+ } | undefined;
3794
+ ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined;
3795
+ watchOptions?: {
3796
+ aggregateTimeout?: number | undefined;
3797
+ followSymlinks?: boolean | undefined;
3798
+ ignored?: string | RegExp | string[] | undefined;
3799
+ poll?: number | boolean | undefined;
3800
+ stdin?: boolean | undefined;
3801
+ } | undefined;
3802
+ watch?: boolean | undefined;
3803
+ stats?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | {
3804
+ all?: boolean | undefined;
3805
+ preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
3806
+ assets?: boolean | undefined;
3807
+ chunks?: boolean | undefined;
3808
+ modules?: boolean | undefined;
3809
+ entrypoints?: boolean | undefined;
3810
+ chunkGroups?: boolean | undefined;
3811
+ warnings?: boolean | undefined;
3812
+ warningsCount?: boolean | undefined;
3813
+ errors?: boolean | undefined;
3814
+ errorsCount?: boolean | undefined;
3815
+ colors?: boolean | undefined;
3816
+ hash?: boolean | undefined;
3817
+ version?: boolean | undefined;
3818
+ reasons?: boolean | undefined;
3819
+ publicPath?: boolean | undefined;
3820
+ outputPath?: boolean | undefined;
3821
+ chunkModules?: boolean | undefined;
3822
+ chunkRelations?: boolean | undefined;
3823
+ timings?: boolean | undefined;
3824
+ builtAt?: boolean | undefined;
3825
+ moduleAssets?: boolean | undefined;
3826
+ modulesSpace?: number | undefined;
3827
+ nestedModules?: boolean | undefined;
3828
+ source?: boolean | undefined;
3829
+ logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
3830
+ loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
3831
+ loggingTrace?: boolean | undefined;
3832
+ } | undefined;
3833
+ snapshot?: {
3834
+ module?: {
3835
+ hash?: boolean | undefined;
3836
+ timestamp?: boolean | undefined;
3837
+ } | undefined;
3838
+ resolve?: {
3839
+ hash?: boolean | undefined;
3840
+ timestamp?: boolean | undefined;
3841
+ } | undefined;
3842
+ } | undefined;
3843
+ optimization?: {
3844
+ moduleIds?: "named" | "deterministic" | undefined;
3845
+ chunkIds?: "named" | "deterministic" | undefined;
3846
+ minimize?: boolean | undefined;
3847
+ minimizer?: ("..." | RspackPluginInstance | RspackPluginFunction)[] | undefined;
3848
+ splitChunks?: {
3849
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3850
+ minChunks?: number | undefined;
3851
+ name?: string | false | undefined;
3852
+ minSize?: number | undefined;
3853
+ maxSize?: number | undefined;
3854
+ maxAsyncSize?: number | undefined;
3855
+ maxInitialSize?: number | undefined;
3856
+ cacheGroups?: Record<string, false | {
3857
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3858
+ minChunks?: number | undefined;
3859
+ name?: string | false | undefined;
3860
+ minSize?: number | undefined;
3861
+ maxSize?: number | undefined;
3862
+ maxAsyncSize?: number | undefined;
3863
+ maxInitialSize?: number | undefined;
3864
+ test?: string | RegExp | undefined;
3865
+ priority?: number | undefined;
3866
+ enforce?: boolean | undefined;
3867
+ reuseExistingChunk?: boolean | undefined;
3868
+ type?: string | RegExp | undefined;
3869
+ idHint?: string | undefined;
3870
+ }> | undefined;
3871
+ maxAsyncRequests?: number | undefined;
3872
+ maxInitialRequests?: number | undefined;
3873
+ fallbackCacheGroup?: {
3874
+ chunks?: RegExp | "async" | "all" | "initial" | undefined;
3875
+ minSize?: number | undefined;
3876
+ maxSize?: number | undefined;
3877
+ maxAsyncSize?: number | undefined;
3878
+ maxInitialSize?: number | undefined;
3879
+ } | undefined;
3880
+ } | undefined;
3881
+ runtimeChunk?: boolean | "single" | "multiple" | {
3882
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
3883
+ } | undefined;
3884
+ removeAvailableModules?: boolean | undefined;
3885
+ removeEmptyChunks?: boolean | undefined;
3886
+ realContentHash?: boolean | undefined;
3887
+ sideEffects?: boolean | "flag" | undefined;
3888
+ } | undefined;
3889
+ resolve?: ResolveOptions | undefined;
3890
+ resolveLoader?: ResolveOptions | undefined;
3891
+ plugins?: (RspackPluginInstance | RspackPluginFunction)[] | undefined;
3892
+ devServer?: DevServer | undefined;
3893
+ builtins?: oldBuiltins.Builtins | undefined;
3894
+ module?: {
3895
+ defaultRules?: ("..." | RuleSetRule)[] | undefined;
3896
+ rules?: ("..." | RuleSetRule)[] | undefined;
3897
+ parser?: {
3898
+ asset?: {
3899
+ dataUrlCondition?: {
3900
+ maxSize?: number | undefined;
3901
+ } | undefined;
3902
+ } | undefined;
3903
+ } | Record<string, Record<string, any>> | undefined;
3904
+ generator?: Record<string, Record<string, any>> | {
3905
+ asset?: {
3906
+ dataUrl?: {
3907
+ encoding?: false | "base64" | undefined;
3908
+ mimetype?: string | undefined;
3909
+ } | undefined;
3910
+ filename?: string | undefined;
3911
+ publicPath?: string | undefined;
3912
+ } | undefined;
3913
+ "asset/inline"?: {
3914
+ dataUrl?: {
3915
+ encoding?: false | "base64" | undefined;
3916
+ mimetype?: string | undefined;
3917
+ } | undefined;
3918
+ } | undefined;
3919
+ "asset/resource"?: {
3920
+ filename?: string | undefined;
3921
+ publicPath?: string | undefined;
3922
+ } | undefined;
3923
+ } | undefined;
3924
+ } | undefined;
3925
+ profile?: boolean | undefined;
3926
+ }>;
3927
+ export type RspackOptions = z.infer<typeof rspackOptions>;
3928
+ export type Configuration = RspackOptions;
3929
+ export {};