@rspack/core 1.0.0-beta.2 → 1.0.0-beta.4

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 (65) hide show
  1. package/dist/Compilation.d.ts +21 -8
  2. package/dist/Compilation.js +114 -57
  3. package/dist/Compiler.d.ts +1 -0
  4. package/dist/Compiler.js +29 -24
  5. package/dist/DependenciesBlock.d.ts +8 -0
  6. package/dist/DependenciesBlock.js +30 -0
  7. package/dist/Dependency.d.ts +8 -0
  8. package/dist/Dependency.js +32 -0
  9. package/dist/Module.d.ts +6 -3
  10. package/dist/Module.js +13 -0
  11. package/dist/MultiCompiler.js +10 -6
  12. package/dist/MultiStats.d.ts +1 -1
  13. package/dist/MultiStats.js +19 -16
  14. package/dist/NormalModule.js +3 -4
  15. package/dist/Stats.d.ts +1 -1
  16. package/dist/Template.d.ts +4 -4
  17. package/dist/Template.js +6 -4
  18. package/dist/Watching.js +3 -5
  19. package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +11 -10
  20. package/dist/builtin-plugin/DynamicEntryPlugin.js +26 -15
  21. package/dist/builtin-plugin/EntryPlugin.d.ts +2 -2
  22. package/dist/builtin-plugin/ExternalsPlugin.d.ts +4 -4
  23. package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.d.ts +21 -4
  24. package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.js +29 -5
  25. package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts +4 -6
  26. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +16 -10
  27. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js +11 -9
  28. package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.js +28 -17
  29. package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.d.ts +1 -1
  30. package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.js +2 -2
  31. package/dist/builtin-plugin/css-extract/loader.js +1 -2
  32. package/dist/config/adapter.d.ts +2 -2
  33. package/dist/config/defaults.js +9 -6
  34. package/dist/config/zod.d.ts +537 -141
  35. package/dist/config/zod.js +18 -10
  36. package/dist/container/ContainerReferencePlugin.d.ts +1 -1
  37. package/dist/exports.d.ts +4 -3
  38. package/dist/exports.js +5 -2
  39. package/dist/lib/Cache.js +6 -4
  40. package/dist/lib/CacheFacade.js +8 -9
  41. package/dist/lib/LoaderOptionsPlugin.d.ts +4 -2
  42. package/dist/lib/LoaderOptionsPlugin.js +0 -2
  43. package/dist/lib/cache/mergeEtags.d.ts +3 -3
  44. package/dist/lib/cache/mergeEtags.js +5 -3
  45. package/dist/loader-runner/index.js +4 -2
  46. package/dist/node/nodeConsole.js +5 -5
  47. package/dist/stats/DefaultStatsFactoryPlugin.d.ts +0 -10
  48. package/dist/stats/DefaultStatsFactoryPlugin.js +130 -90
  49. package/dist/stats/DefaultStatsPresetPlugin.js +17 -18
  50. package/dist/stats/StatsFactory.js +8 -10
  51. package/dist/stats/StatsPrinter.js +3 -4
  52. package/dist/stats/statsFactoryUtils.d.ts +119 -19
  53. package/dist/stats/statsFactoryUtils.js +62 -1
  54. package/dist/util/assertNotNil.d.ts +1 -1
  55. package/dist/util/assetCondition.d.ts +2 -0
  56. package/dist/util/assetCondition.js +2 -0
  57. package/dist/util/cleverMerge.js +5 -4
  58. package/dist/util/createHash.js +10 -5
  59. package/dist/util/hash/wasm-hash.js +5 -4
  60. package/dist/util/identifier.d.ts +4 -4
  61. package/dist/util/identifier.js +10 -10
  62. package/dist/util/memoize.js +3 -2
  63. package/package.json +3 -3
  64. package/dist/builtin-plugin/css-extract/loader-options.json +0 -37
  65. package/dist/builtin-plugin/css-extract/plugin-options.json +0 -79
@@ -673,6 +673,276 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
673
673
  dependOn?: string | string[] | undefined;
674
674
  }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
675
675
  export type EntryStatic = z.infer<typeof entryStatic>;
676
+ declare const entryDynamic: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
677
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
678
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
679
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
680
+ baseUri: z.ZodOptional<z.ZodString>;
681
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
682
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
683
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
684
+ filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
685
+ library: z.ZodOptional<z.ZodObject<{
686
+ amdContainer: z.ZodOptional<z.ZodString>;
687
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
688
+ amd: z.ZodOptional<z.ZodString>;
689
+ commonjs: z.ZodOptional<z.ZodString>;
690
+ commonjs2: z.ZodOptional<z.ZodString>;
691
+ root: z.ZodOptional<z.ZodString>;
692
+ }, "strict", z.ZodTypeAny, {
693
+ commonjs?: string | undefined;
694
+ amd?: string | undefined;
695
+ root?: string | undefined;
696
+ commonjs2?: string | undefined;
697
+ }, {
698
+ commonjs?: string | undefined;
699
+ amd?: string | undefined;
700
+ root?: string | undefined;
701
+ commonjs2?: string | undefined;
702
+ }>]>>;
703
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
704
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
705
+ amd: z.ZodOptional<z.ZodString>;
706
+ commonjs: z.ZodOptional<z.ZodString>;
707
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
708
+ }, "strict", z.ZodTypeAny, {
709
+ commonjs?: string | undefined;
710
+ amd?: string | undefined;
711
+ root?: string | string[] | undefined;
712
+ }, {
713
+ commonjs?: string | undefined;
714
+ amd?: string | undefined;
715
+ root?: string | string[] | undefined;
716
+ }>]>>;
717
+ 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]>;
718
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
719
+ }, "strict", z.ZodTypeAny, {
720
+ type: string;
721
+ name?: string | string[] | {
722
+ commonjs?: string | undefined;
723
+ amd?: string | undefined;
724
+ root?: string | string[] | undefined;
725
+ } | undefined;
726
+ amdContainer?: string | undefined;
727
+ auxiliaryComment?: string | {
728
+ commonjs?: string | undefined;
729
+ amd?: string | undefined;
730
+ root?: string | undefined;
731
+ commonjs2?: string | undefined;
732
+ } | undefined;
733
+ export?: string | string[] | undefined;
734
+ umdNamedDefine?: boolean | undefined;
735
+ }, {
736
+ type: string;
737
+ name?: string | string[] | {
738
+ commonjs?: string | undefined;
739
+ amd?: string | undefined;
740
+ root?: string | string[] | undefined;
741
+ } | undefined;
742
+ amdContainer?: string | undefined;
743
+ auxiliaryComment?: string | {
744
+ commonjs?: string | undefined;
745
+ amd?: string | undefined;
746
+ root?: string | undefined;
747
+ commonjs2?: string | undefined;
748
+ } | undefined;
749
+ export?: string | string[] | undefined;
750
+ umdNamedDefine?: boolean | undefined;
751
+ }>>;
752
+ dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
753
+ layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
754
+ }, "strict", z.ZodTypeAny, {
755
+ import: string | string[];
756
+ filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
757
+ publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
758
+ layer?: string | null | undefined;
759
+ runtime?: string | false | undefined;
760
+ baseUri?: string | undefined;
761
+ chunkLoading?: string | false | undefined;
762
+ asyncChunks?: boolean | undefined;
763
+ wasmLoading?: string | false | undefined;
764
+ library?: {
765
+ type: string;
766
+ name?: string | string[] | {
767
+ commonjs?: string | undefined;
768
+ amd?: string | undefined;
769
+ root?: string | string[] | undefined;
770
+ } | undefined;
771
+ amdContainer?: string | undefined;
772
+ auxiliaryComment?: string | {
773
+ commonjs?: string | undefined;
774
+ amd?: string | undefined;
775
+ root?: string | undefined;
776
+ commonjs2?: string | undefined;
777
+ } | undefined;
778
+ export?: string | string[] | undefined;
779
+ umdNamedDefine?: boolean | undefined;
780
+ } | undefined;
781
+ dependOn?: string | string[] | undefined;
782
+ }, {
783
+ import: string | string[];
784
+ filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
785
+ publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
786
+ layer?: string | null | undefined;
787
+ runtime?: string | false | undefined;
788
+ baseUri?: string | undefined;
789
+ chunkLoading?: string | false | undefined;
790
+ asyncChunks?: boolean | undefined;
791
+ wasmLoading?: string | false | undefined;
792
+ library?: {
793
+ type: string;
794
+ name?: string | string[] | {
795
+ commonjs?: string | undefined;
796
+ amd?: string | undefined;
797
+ root?: string | string[] | undefined;
798
+ } | undefined;
799
+ amdContainer?: string | undefined;
800
+ auxiliaryComment?: string | {
801
+ commonjs?: string | undefined;
802
+ amd?: string | undefined;
803
+ root?: string | undefined;
804
+ commonjs2?: string | undefined;
805
+ } | undefined;
806
+ export?: string | string[] | undefined;
807
+ umdNamedDefine?: boolean | undefined;
808
+ } | undefined;
809
+ dependOn?: string | string[] | undefined;
810
+ }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodPromise<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
811
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
812
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
813
+ publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
814
+ baseUri: z.ZodOptional<z.ZodString>;
815
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
816
+ asyncChunks: z.ZodOptional<z.ZodBoolean>;
817
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
818
+ filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
819
+ library: z.ZodOptional<z.ZodObject<{
820
+ amdContainer: z.ZodOptional<z.ZodString>;
821
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
822
+ amd: z.ZodOptional<z.ZodString>;
823
+ commonjs: z.ZodOptional<z.ZodString>;
824
+ commonjs2: z.ZodOptional<z.ZodString>;
825
+ root: z.ZodOptional<z.ZodString>;
826
+ }, "strict", z.ZodTypeAny, {
827
+ commonjs?: string | undefined;
828
+ amd?: string | undefined;
829
+ root?: string | undefined;
830
+ commonjs2?: string | undefined;
831
+ }, {
832
+ commonjs?: string | undefined;
833
+ amd?: string | undefined;
834
+ root?: string | undefined;
835
+ commonjs2?: string | undefined;
836
+ }>]>>;
837
+ export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
838
+ name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
839
+ amd: z.ZodOptional<z.ZodString>;
840
+ commonjs: z.ZodOptional<z.ZodString>;
841
+ root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
842
+ }, "strict", z.ZodTypeAny, {
843
+ commonjs?: string | undefined;
844
+ amd?: string | undefined;
845
+ root?: string | string[] | undefined;
846
+ }, {
847
+ commonjs?: string | undefined;
848
+ amd?: string | undefined;
849
+ root?: string | string[] | undefined;
850
+ }>]>>;
851
+ 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]>;
852
+ umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
853
+ }, "strict", z.ZodTypeAny, {
854
+ type: string;
855
+ name?: string | string[] | {
856
+ commonjs?: string | undefined;
857
+ amd?: string | undefined;
858
+ root?: string | string[] | undefined;
859
+ } | undefined;
860
+ amdContainer?: string | undefined;
861
+ auxiliaryComment?: string | {
862
+ commonjs?: string | undefined;
863
+ amd?: string | undefined;
864
+ root?: string | undefined;
865
+ commonjs2?: string | undefined;
866
+ } | undefined;
867
+ export?: string | string[] | undefined;
868
+ umdNamedDefine?: boolean | undefined;
869
+ }, {
870
+ type: string;
871
+ name?: string | string[] | {
872
+ commonjs?: string | undefined;
873
+ amd?: string | undefined;
874
+ root?: string | string[] | undefined;
875
+ } | undefined;
876
+ amdContainer?: string | undefined;
877
+ auxiliaryComment?: string | {
878
+ commonjs?: string | undefined;
879
+ amd?: string | undefined;
880
+ root?: string | undefined;
881
+ commonjs2?: string | undefined;
882
+ } | undefined;
883
+ export?: string | string[] | undefined;
884
+ umdNamedDefine?: boolean | undefined;
885
+ }>>;
886
+ dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
887
+ layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
888
+ }, "strict", z.ZodTypeAny, {
889
+ import: string | string[];
890
+ filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
891
+ publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
892
+ layer?: string | null | undefined;
893
+ runtime?: string | false | undefined;
894
+ baseUri?: string | undefined;
895
+ chunkLoading?: string | false | undefined;
896
+ asyncChunks?: boolean | undefined;
897
+ wasmLoading?: string | false | undefined;
898
+ library?: {
899
+ type: string;
900
+ name?: string | string[] | {
901
+ commonjs?: string | undefined;
902
+ amd?: string | undefined;
903
+ root?: string | string[] | undefined;
904
+ } | undefined;
905
+ amdContainer?: string | undefined;
906
+ auxiliaryComment?: string | {
907
+ commonjs?: string | undefined;
908
+ amd?: string | undefined;
909
+ root?: string | undefined;
910
+ commonjs2?: string | undefined;
911
+ } | undefined;
912
+ export?: string | string[] | undefined;
913
+ umdNamedDefine?: boolean | undefined;
914
+ } | undefined;
915
+ dependOn?: string | string[] | undefined;
916
+ }, {
917
+ import: string | string[];
918
+ filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
919
+ publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
920
+ layer?: string | null | undefined;
921
+ runtime?: string | false | undefined;
922
+ baseUri?: string | undefined;
923
+ chunkLoading?: string | false | undefined;
924
+ asyncChunks?: boolean | undefined;
925
+ wasmLoading?: string | false | undefined;
926
+ library?: {
927
+ type: string;
928
+ name?: string | string[] | {
929
+ commonjs?: string | undefined;
930
+ amd?: string | undefined;
931
+ root?: string | string[] | undefined;
932
+ } | undefined;
933
+ amdContainer?: string | undefined;
934
+ auxiliaryComment?: string | {
935
+ commonjs?: string | undefined;
936
+ amd?: string | undefined;
937
+ root?: string | undefined;
938
+ commonjs2?: string | undefined;
939
+ } | undefined;
940
+ export?: string | string[] | undefined;
941
+ umdNamedDefine?: boolean | undefined;
942
+ } | undefined;
943
+ dependOn?: string | string[] | undefined;
944
+ }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>;
945
+ export type EntryDynamic = z.infer<typeof entryDynamic>;
676
946
  declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
677
947
  import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
678
948
  runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
@@ -4304,9 +4574,9 @@ declare const moduleOptions: z.ZodObject<{
4304
4574
  noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4305
4575
  }>;
4306
4576
  export type ModuleOptions = z.infer<typeof moduleOptions>;
4307
- declare const target: z.ZodUnion<[z.ZodLiteral<false>, 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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>]>, z.ZodArray<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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>]>, "many">]>;
4577
+ declare const target: z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, 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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, 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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>;
4308
4578
  export type Target = z.infer<typeof target>;
4309
- export 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"]>;
4579
+ export 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", "module-import", "script", "node-commonjs"]>;
4310
4580
  export type ExternalsType = z.infer<typeof externalsType>;
4311
4581
  declare const externalItemValue: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>;
4312
4582
  export type ExternalItemValue = z.infer<typeof externalItemValue>;
@@ -4364,7 +4634,7 @@ declare const externalItem: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.Zo
4364
4634
  contextInfo?: {
4365
4635
  issuer: string;
4366
4636
  } | undefined;
4367
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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<{
4637
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
4368
4638
  context: z.ZodOptional<z.ZodString>;
4369
4639
  dependencyType: z.ZodOptional<z.ZodString>;
4370
4640
  request: z.ZodOptional<z.ZodString>;
@@ -4416,7 +4686,7 @@ declare const externals: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUni
4416
4686
  contextInfo?: {
4417
4687
  issuer: string;
4418
4688
  } | undefined;
4419
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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<{
4689
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
4420
4690
  context: z.ZodOptional<z.ZodString>;
4421
4691
  dependencyType: z.ZodOptional<z.ZodString>;
4422
4692
  request: z.ZodOptional<z.ZodString>;
@@ -4466,7 +4736,7 @@ declare const externals: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUni
4466
4736
  contextInfo?: {
4467
4737
  issuer: string;
4468
4738
  } | undefined;
4469
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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<{
4739
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
4470
4740
  context: z.ZodOptional<z.ZodString>;
4471
4741
  dependencyType: z.ZodOptional<z.ZodString>;
4472
4742
  request: z.ZodOptional<z.ZodString>;
@@ -4552,31 +4822,31 @@ export type InfrastructureLogging = z.infer<typeof infrastructureLogging>;
4552
4822
  declare const devTool: z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["eval", "cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-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"]>]>;
4553
4823
  export type DevTool = z.infer<typeof devTool>;
4554
4824
  declare const nodeOptions: z.ZodObject<{
4555
- __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
4556
- __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
4825
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
4826
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
4557
4827
  global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
4558
4828
  }, "strict", z.ZodTypeAny, {
4559
4829
  global?: boolean | "warn" | undefined;
4560
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4561
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4830
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4831
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4562
4832
  }, {
4563
4833
  global?: boolean | "warn" | undefined;
4564
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4565
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4834
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4835
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4566
4836
  }>;
4567
4837
  export type NodeOptions = z.infer<typeof nodeOptions>;
4568
4838
  declare const node: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
4569
- __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
4570
- __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
4839
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
4840
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
4571
4841
  global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
4572
4842
  }, "strict", z.ZodTypeAny, {
4573
4843
  global?: boolean | "warn" | undefined;
4574
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4575
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4844
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4845
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4576
4846
  }, {
4577
4847
  global?: boolean | "warn" | undefined;
4578
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4579
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
4848
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4849
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
4580
4850
  }>]>;
4581
4851
  export type Node = z.infer<typeof node>;
4582
4852
  declare const loader: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4658,20 +4928,20 @@ declare const statsOptions: z.ZodObject<{
4658
4928
  errorStack: z.ZodOptional<z.ZodBoolean>;
4659
4929
  moduleTrace: z.ZodOptional<z.ZodBoolean>;
4660
4930
  cachedModules: z.ZodOptional<z.ZodBoolean>;
4931
+ cachedAssets: z.ZodOptional<z.ZodBoolean>;
4661
4932
  cached: z.ZodOptional<z.ZodBoolean>;
4933
+ errorsSpace: z.ZodOptional<z.ZodNumber>;
4934
+ warningsSpace: z.ZodOptional<z.ZodNumber>;
4662
4935
  }, "strict", z.ZodTypeAny, {
4663
4936
  publicPath?: boolean | undefined;
4664
4937
  hash?: boolean | undefined;
4665
4938
  all?: boolean | undefined;
4666
4939
  chunks?: boolean | undefined;
4667
- providedExports?: boolean | undefined;
4668
4940
  usedExports?: boolean | undefined;
4669
- children?: boolean | undefined;
4670
- runtime?: boolean | undefined;
4671
- modules?: boolean | undefined;
4672
- moduleTrace?: boolean | undefined;
4941
+ providedExports?: boolean | undefined;
4673
4942
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4674
4943
  assets?: boolean | undefined;
4944
+ modules?: boolean | undefined;
4675
4945
  entrypoints?: boolean | "auto" | undefined;
4676
4946
  chunkGroups?: boolean | undefined;
4677
4947
  warnings?: boolean | undefined;
@@ -4694,6 +4964,7 @@ declare const statsOptions: z.ZodObject<{
4694
4964
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4695
4965
  loggingTrace?: boolean | undefined;
4696
4966
  runtimeModules?: boolean | undefined;
4967
+ children?: boolean | undefined;
4697
4968
  optimizationBailout?: boolean | undefined;
4698
4969
  groupModulesByType?: boolean | undefined;
4699
4970
  groupModulesByCacheStatus?: boolean | undefined;
@@ -4726,26 +4997,28 @@ declare const statsOptions: z.ZodObject<{
4726
4997
  chunkGroupMaxAssets?: number | undefined;
4727
4998
  dependentModules?: boolean | undefined;
4728
4999
  chunkOrigins?: boolean | undefined;
5000
+ runtime?: boolean | undefined;
4729
5001
  depth?: boolean | undefined;
4730
5002
  reasonsSpace?: number | undefined;
4731
5003
  groupReasonsByOrigin?: boolean | undefined;
4732
5004
  errorDetails?: boolean | undefined;
4733
5005
  errorStack?: boolean | undefined;
5006
+ moduleTrace?: boolean | undefined;
4734
5007
  cachedModules?: boolean | undefined;
5008
+ cachedAssets?: boolean | undefined;
4735
5009
  cached?: boolean | undefined;
5010
+ errorsSpace?: number | undefined;
5011
+ warningsSpace?: number | undefined;
4736
5012
  }, {
4737
5013
  publicPath?: boolean | undefined;
4738
5014
  hash?: boolean | undefined;
4739
5015
  all?: boolean | undefined;
4740
5016
  chunks?: boolean | undefined;
4741
- providedExports?: boolean | undefined;
4742
5017
  usedExports?: boolean | undefined;
4743
- children?: boolean | undefined;
4744
- runtime?: boolean | undefined;
4745
- modules?: boolean | undefined;
4746
- moduleTrace?: boolean | undefined;
5018
+ providedExports?: boolean | undefined;
4747
5019
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4748
5020
  assets?: boolean | undefined;
5021
+ modules?: boolean | undefined;
4749
5022
  entrypoints?: boolean | "auto" | undefined;
4750
5023
  chunkGroups?: boolean | undefined;
4751
5024
  warnings?: boolean | undefined;
@@ -4768,6 +5041,7 @@ declare const statsOptions: z.ZodObject<{
4768
5041
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4769
5042
  loggingTrace?: boolean | undefined;
4770
5043
  runtimeModules?: boolean | undefined;
5044
+ children?: boolean | undefined;
4771
5045
  optimizationBailout?: boolean | undefined;
4772
5046
  groupModulesByType?: boolean | undefined;
4773
5047
  groupModulesByCacheStatus?: boolean | undefined;
@@ -4800,13 +5074,18 @@ declare const statsOptions: z.ZodObject<{
4800
5074
  chunkGroupMaxAssets?: number | undefined;
4801
5075
  dependentModules?: boolean | undefined;
4802
5076
  chunkOrigins?: boolean | undefined;
5077
+ runtime?: boolean | undefined;
4803
5078
  depth?: boolean | undefined;
4804
5079
  reasonsSpace?: number | undefined;
4805
5080
  groupReasonsByOrigin?: boolean | undefined;
4806
5081
  errorDetails?: boolean | undefined;
4807
5082
  errorStack?: boolean | undefined;
5083
+ moduleTrace?: boolean | undefined;
4808
5084
  cachedModules?: boolean | undefined;
5085
+ cachedAssets?: boolean | undefined;
4809
5086
  cached?: boolean | undefined;
5087
+ errorsSpace?: number | undefined;
5088
+ warningsSpace?: number | undefined;
4810
5089
  }>;
4811
5090
  export type StatsOptions = z.infer<typeof statsOptions>;
4812
5091
  declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings", "minimal", "detailed", "summary"]>]>, z.ZodObject<{
@@ -4882,20 +5161,20 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4882
5161
  errorStack: z.ZodOptional<z.ZodBoolean>;
4883
5162
  moduleTrace: z.ZodOptional<z.ZodBoolean>;
4884
5163
  cachedModules: z.ZodOptional<z.ZodBoolean>;
5164
+ cachedAssets: z.ZodOptional<z.ZodBoolean>;
4885
5165
  cached: z.ZodOptional<z.ZodBoolean>;
5166
+ errorsSpace: z.ZodOptional<z.ZodNumber>;
5167
+ warningsSpace: z.ZodOptional<z.ZodNumber>;
4886
5168
  }, "strict", z.ZodTypeAny, {
4887
5169
  publicPath?: boolean | undefined;
4888
5170
  hash?: boolean | undefined;
4889
5171
  all?: boolean | undefined;
4890
5172
  chunks?: boolean | undefined;
4891
- providedExports?: boolean | undefined;
4892
5173
  usedExports?: boolean | undefined;
4893
- children?: boolean | undefined;
4894
- runtime?: boolean | undefined;
4895
- modules?: boolean | undefined;
4896
- moduleTrace?: boolean | undefined;
5174
+ providedExports?: boolean | undefined;
4897
5175
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4898
5176
  assets?: boolean | undefined;
5177
+ modules?: boolean | undefined;
4899
5178
  entrypoints?: boolean | "auto" | undefined;
4900
5179
  chunkGroups?: boolean | undefined;
4901
5180
  warnings?: boolean | undefined;
@@ -4918,6 +5197,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4918
5197
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4919
5198
  loggingTrace?: boolean | undefined;
4920
5199
  runtimeModules?: boolean | undefined;
5200
+ children?: boolean | undefined;
4921
5201
  optimizationBailout?: boolean | undefined;
4922
5202
  groupModulesByType?: boolean | undefined;
4923
5203
  groupModulesByCacheStatus?: boolean | undefined;
@@ -4950,26 +5230,28 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4950
5230
  chunkGroupMaxAssets?: number | undefined;
4951
5231
  dependentModules?: boolean | undefined;
4952
5232
  chunkOrigins?: boolean | undefined;
5233
+ runtime?: boolean | undefined;
4953
5234
  depth?: boolean | undefined;
4954
5235
  reasonsSpace?: number | undefined;
4955
5236
  groupReasonsByOrigin?: boolean | undefined;
4956
5237
  errorDetails?: boolean | undefined;
4957
5238
  errorStack?: boolean | undefined;
5239
+ moduleTrace?: boolean | undefined;
4958
5240
  cachedModules?: boolean | undefined;
5241
+ cachedAssets?: boolean | undefined;
4959
5242
  cached?: boolean | undefined;
5243
+ errorsSpace?: number | undefined;
5244
+ warningsSpace?: number | undefined;
4960
5245
  }, {
4961
5246
  publicPath?: boolean | undefined;
4962
5247
  hash?: boolean | undefined;
4963
5248
  all?: boolean | undefined;
4964
5249
  chunks?: boolean | undefined;
4965
- providedExports?: boolean | undefined;
4966
5250
  usedExports?: boolean | undefined;
4967
- children?: boolean | undefined;
4968
- runtime?: boolean | undefined;
4969
- modules?: boolean | undefined;
4970
- moduleTrace?: boolean | undefined;
5251
+ providedExports?: boolean | undefined;
4971
5252
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4972
5253
  assets?: boolean | undefined;
5254
+ modules?: boolean | undefined;
4973
5255
  entrypoints?: boolean | "auto" | undefined;
4974
5256
  chunkGroups?: boolean | undefined;
4975
5257
  warnings?: boolean | undefined;
@@ -4992,6 +5274,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4992
5274
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4993
5275
  loggingTrace?: boolean | undefined;
4994
5276
  runtimeModules?: boolean | undefined;
5277
+ children?: boolean | undefined;
4995
5278
  optimizationBailout?: boolean | undefined;
4996
5279
  groupModulesByType?: boolean | undefined;
4997
5280
  groupModulesByCacheStatus?: boolean | undefined;
@@ -5024,13 +5307,18 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
5024
5307
  chunkGroupMaxAssets?: number | undefined;
5025
5308
  dependentModules?: boolean | undefined;
5026
5309
  chunkOrigins?: boolean | undefined;
5310
+ runtime?: boolean | undefined;
5027
5311
  depth?: boolean | undefined;
5028
5312
  reasonsSpace?: number | undefined;
5029
5313
  groupReasonsByOrigin?: boolean | undefined;
5030
5314
  errorDetails?: boolean | undefined;
5031
5315
  errorStack?: boolean | undefined;
5316
+ moduleTrace?: boolean | undefined;
5032
5317
  cachedModules?: boolean | undefined;
5318
+ cachedAssets?: boolean | undefined;
5033
5319
  cached?: boolean | undefined;
5320
+ errorsSpace?: number | undefined;
5321
+ warningsSpace?: number | undefined;
5034
5322
  }>]>;
5035
5323
  export type StatsValue = z.infer<typeof statsValue>;
5036
5324
  export interface RspackPluginInstance {
@@ -5038,7 +5326,13 @@ export interface RspackPluginInstance {
5038
5326
  [k: string]: any;
5039
5327
  }
5040
5328
  export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void;
5041
- declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">;
5329
+ export type WebpackCompiler = any;
5330
+ export interface WebpackPluginInstance {
5331
+ apply: (compiler: WebpackCompiler) => void;
5332
+ [k: string]: any;
5333
+ }
5334
+ export type WebpackPluginFunction = (this: WebpackCompiler, compiler: WebpackCompiler) => void;
5335
+ declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">;
5042
5336
  export type Plugins = z.infer<typeof plugins>;
5043
5337
  declare const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
5044
5338
  name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
@@ -5064,11 +5358,14 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
5064
5358
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5065
5359
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5066
5360
  minChunks: z.ZodOptional<z.ZodNumber>;
5361
+ usedExports: z.ZodOptional<z.ZodBoolean>;
5067
5362
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
5068
5363
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5069
5364
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5070
5365
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5071
5366
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5367
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5368
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5072
5369
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
5073
5370
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
5074
5371
  priority: z.ZodOptional<z.ZodNumber>;
@@ -5089,10 +5386,13 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
5089
5386
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5090
5387
  defaultSizeTypes?: string[] | undefined;
5091
5388
  minChunks?: number | undefined;
5389
+ usedExports?: boolean | undefined;
5092
5390
  minSize?: number | Record<string, number> | undefined;
5093
5391
  maxSize?: number | Record<string, number> | undefined;
5094
5392
  maxAsyncSize?: number | Record<string, number> | undefined;
5095
5393
  maxInitialSize?: number | Record<string, number> | undefined;
5394
+ maxAsyncRequests?: number | undefined;
5395
+ maxInitialRequests?: number | undefined;
5096
5396
  automaticNameDelimiter?: string | undefined;
5097
5397
  }, {
5098
5398
  filename?: string | undefined;
@@ -5106,10 +5406,13 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
5106
5406
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5107
5407
  defaultSizeTypes?: string[] | undefined;
5108
5408
  minChunks?: number | undefined;
5409
+ usedExports?: boolean | undefined;
5109
5410
  minSize?: number | Record<string, number> | undefined;
5110
5411
  maxSize?: number | Record<string, number> | undefined;
5111
5412
  maxAsyncSize?: number | Record<string, number> | undefined;
5112
5413
  maxInitialSize?: number | Record<string, number> | undefined;
5414
+ maxAsyncRequests?: number | undefined;
5415
+ maxInitialRequests?: number | undefined;
5113
5416
  automaticNameDelimiter?: string | undefined;
5114
5417
  }>;
5115
5418
  export type OptimizationSplitChunksCacheGroup = z.infer<typeof optimizationSplitChunksCacheGroup>;
@@ -5117,21 +5420,27 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5117
5420
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5118
5421
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5119
5422
  minChunks: z.ZodOptional<z.ZodNumber>;
5423
+ usedExports: z.ZodOptional<z.ZodBoolean>;
5120
5424
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
5121
5425
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5122
5426
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5123
5427
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5124
5428
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5429
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5430
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5125
5431
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
5126
5432
  cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
5127
5433
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5128
5434
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5129
5435
  minChunks: z.ZodOptional<z.ZodNumber>;
5436
+ usedExports: z.ZodOptional<z.ZodBoolean>;
5130
5437
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
5131
5438
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5132
5439
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5133
5440
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5134
5441
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5442
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5443
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5135
5444
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
5136
5445
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
5137
5446
  priority: z.ZodOptional<z.ZodNumber>;
@@ -5152,10 +5461,13 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5152
5461
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5153
5462
  defaultSizeTypes?: string[] | undefined;
5154
5463
  minChunks?: number | undefined;
5464
+ usedExports?: boolean | undefined;
5155
5465
  minSize?: number | Record<string, number> | undefined;
5156
5466
  maxSize?: number | Record<string, number> | undefined;
5157
5467
  maxAsyncSize?: number | Record<string, number> | undefined;
5158
5468
  maxInitialSize?: number | Record<string, number> | undefined;
5469
+ maxAsyncRequests?: number | undefined;
5470
+ maxInitialRequests?: number | undefined;
5159
5471
  automaticNameDelimiter?: string | undefined;
5160
5472
  }, {
5161
5473
  filename?: string | undefined;
@@ -5169,14 +5481,15 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5169
5481
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5170
5482
  defaultSizeTypes?: string[] | undefined;
5171
5483
  minChunks?: number | undefined;
5484
+ usedExports?: boolean | undefined;
5172
5485
  minSize?: number | Record<string, number> | undefined;
5173
5486
  maxSize?: number | Record<string, number> | undefined;
5174
5487
  maxAsyncSize?: number | Record<string, number> | undefined;
5175
5488
  maxInitialSize?: number | Record<string, number> | undefined;
5489
+ maxAsyncRequests?: number | undefined;
5490
+ maxInitialRequests?: number | undefined;
5176
5491
  automaticNameDelimiter?: string | undefined;
5177
5492
  }>]>>>;
5178
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5179
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5180
5493
  fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
5181
5494
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5182
5495
  minSize: z.ZodOptional<z.ZodNumber>;
@@ -5205,10 +5518,13 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5205
5518
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5206
5519
  defaultSizeTypes?: string[] | undefined;
5207
5520
  minChunks?: number | undefined;
5521
+ usedExports?: boolean | undefined;
5208
5522
  minSize?: number | Record<string, number> | undefined;
5209
5523
  maxSize?: number | Record<string, number> | undefined;
5210
5524
  maxAsyncSize?: number | Record<string, number> | undefined;
5211
5525
  maxInitialSize?: number | Record<string, number> | undefined;
5526
+ maxAsyncRequests?: number | undefined;
5527
+ maxInitialRequests?: number | undefined;
5212
5528
  automaticNameDelimiter?: string | undefined;
5213
5529
  cacheGroups?: Record<string, false | {
5214
5530
  filename?: string | undefined;
@@ -5222,14 +5538,15 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5222
5538
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5223
5539
  defaultSizeTypes?: string[] | undefined;
5224
5540
  minChunks?: number | undefined;
5541
+ usedExports?: boolean | undefined;
5225
5542
  minSize?: number | Record<string, number> | undefined;
5226
5543
  maxSize?: number | Record<string, number> | undefined;
5227
5544
  maxAsyncSize?: number | Record<string, number> | undefined;
5228
5545
  maxInitialSize?: number | Record<string, number> | undefined;
5546
+ maxAsyncRequests?: number | undefined;
5547
+ maxInitialRequests?: number | undefined;
5229
5548
  automaticNameDelimiter?: string | undefined;
5230
5549
  }> | undefined;
5231
- maxAsyncRequests?: number | undefined;
5232
- maxInitialRequests?: number | undefined;
5233
5550
  fallbackCacheGroup?: {
5234
5551
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5235
5552
  minSize?: number | undefined;
@@ -5244,10 +5561,13 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5244
5561
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5245
5562
  defaultSizeTypes?: string[] | undefined;
5246
5563
  minChunks?: number | undefined;
5564
+ usedExports?: boolean | undefined;
5247
5565
  minSize?: number | Record<string, number> | undefined;
5248
5566
  maxSize?: number | Record<string, number> | undefined;
5249
5567
  maxAsyncSize?: number | Record<string, number> | undefined;
5250
5568
  maxInitialSize?: number | Record<string, number> | undefined;
5569
+ maxAsyncRequests?: number | undefined;
5570
+ maxInitialRequests?: number | undefined;
5251
5571
  automaticNameDelimiter?: string | undefined;
5252
5572
  cacheGroups?: Record<string, false | {
5253
5573
  filename?: string | undefined;
@@ -5261,14 +5581,15 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
5261
5581
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5262
5582
  defaultSizeTypes?: string[] | undefined;
5263
5583
  minChunks?: number | undefined;
5584
+ usedExports?: boolean | undefined;
5264
5585
  minSize?: number | Record<string, number> | undefined;
5265
5586
  maxSize?: number | Record<string, number> | undefined;
5266
5587
  maxAsyncSize?: number | Record<string, number> | undefined;
5267
5588
  maxInitialSize?: number | Record<string, number> | undefined;
5589
+ maxAsyncRequests?: number | undefined;
5590
+ maxInitialRequests?: number | undefined;
5268
5591
  automaticNameDelimiter?: string | undefined;
5269
5592
  }> | undefined;
5270
- maxAsyncRequests?: number | undefined;
5271
- maxInitialRequests?: number | undefined;
5272
5593
  fallbackCacheGroup?: {
5273
5594
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5274
5595
  minSize?: number | undefined;
@@ -5284,27 +5605,33 @@ declare const optimization: z.ZodObject<{
5284
5605
  moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
5285
5606
  chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
5286
5607
  minimize: z.ZodOptional<z.ZodBoolean>;
5287
- minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
5608
+ minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
5288
5609
  mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
5289
5610
  splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
5290
5611
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5291
5612
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5292
5613
  minChunks: z.ZodOptional<z.ZodNumber>;
5614
+ usedExports: z.ZodOptional<z.ZodBoolean>;
5293
5615
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
5294
5616
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5295
5617
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5296
5618
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5297
5619
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5620
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5621
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5298
5622
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
5299
5623
  cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
5300
5624
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5301
5625
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5302
5626
  minChunks: z.ZodOptional<z.ZodNumber>;
5627
+ usedExports: z.ZodOptional<z.ZodBoolean>;
5303
5628
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
5304
5629
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5305
5630
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5306
5631
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5307
5632
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
5633
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5634
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5308
5635
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
5309
5636
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
5310
5637
  priority: z.ZodOptional<z.ZodNumber>;
@@ -5325,10 +5652,13 @@ declare const optimization: z.ZodObject<{
5325
5652
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5326
5653
  defaultSizeTypes?: string[] | undefined;
5327
5654
  minChunks?: number | undefined;
5655
+ usedExports?: boolean | undefined;
5328
5656
  minSize?: number | Record<string, number> | undefined;
5329
5657
  maxSize?: number | Record<string, number> | undefined;
5330
5658
  maxAsyncSize?: number | Record<string, number> | undefined;
5331
5659
  maxInitialSize?: number | Record<string, number> | undefined;
5660
+ maxAsyncRequests?: number | undefined;
5661
+ maxInitialRequests?: number | undefined;
5332
5662
  automaticNameDelimiter?: string | undefined;
5333
5663
  }, {
5334
5664
  filename?: string | undefined;
@@ -5342,14 +5672,15 @@ declare const optimization: z.ZodObject<{
5342
5672
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5343
5673
  defaultSizeTypes?: string[] | undefined;
5344
5674
  minChunks?: number | undefined;
5675
+ usedExports?: boolean | undefined;
5345
5676
  minSize?: number | Record<string, number> | undefined;
5346
5677
  maxSize?: number | Record<string, number> | undefined;
5347
5678
  maxAsyncSize?: number | Record<string, number> | undefined;
5348
5679
  maxInitialSize?: number | Record<string, number> | undefined;
5680
+ maxAsyncRequests?: number | undefined;
5681
+ maxInitialRequests?: number | undefined;
5349
5682
  automaticNameDelimiter?: string | undefined;
5350
5683
  }>]>>>;
5351
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
5352
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
5353
5684
  fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
5354
5685
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
5355
5686
  minSize: z.ZodOptional<z.ZodNumber>;
@@ -5378,10 +5709,13 @@ declare const optimization: z.ZodObject<{
5378
5709
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5379
5710
  defaultSizeTypes?: string[] | undefined;
5380
5711
  minChunks?: number | undefined;
5712
+ usedExports?: boolean | undefined;
5381
5713
  minSize?: number | Record<string, number> | undefined;
5382
5714
  maxSize?: number | Record<string, number> | undefined;
5383
5715
  maxAsyncSize?: number | Record<string, number> | undefined;
5384
5716
  maxInitialSize?: number | Record<string, number> | undefined;
5717
+ maxAsyncRequests?: number | undefined;
5718
+ maxInitialRequests?: number | undefined;
5385
5719
  automaticNameDelimiter?: string | undefined;
5386
5720
  cacheGroups?: Record<string, false | {
5387
5721
  filename?: string | undefined;
@@ -5395,14 +5729,15 @@ declare const optimization: z.ZodObject<{
5395
5729
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5396
5730
  defaultSizeTypes?: string[] | undefined;
5397
5731
  minChunks?: number | undefined;
5732
+ usedExports?: boolean | undefined;
5398
5733
  minSize?: number | Record<string, number> | undefined;
5399
5734
  maxSize?: number | Record<string, number> | undefined;
5400
5735
  maxAsyncSize?: number | Record<string, number> | undefined;
5401
5736
  maxInitialSize?: number | Record<string, number> | undefined;
5737
+ maxAsyncRequests?: number | undefined;
5738
+ maxInitialRequests?: number | undefined;
5402
5739
  automaticNameDelimiter?: string | undefined;
5403
5740
  }> | undefined;
5404
- maxAsyncRequests?: number | undefined;
5405
- maxInitialRequests?: number | undefined;
5406
5741
  fallbackCacheGroup?: {
5407
5742
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5408
5743
  minSize?: number | undefined;
@@ -5417,10 +5752,13 @@ declare const optimization: z.ZodObject<{
5417
5752
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5418
5753
  defaultSizeTypes?: string[] | undefined;
5419
5754
  minChunks?: number | undefined;
5755
+ usedExports?: boolean | undefined;
5420
5756
  minSize?: number | Record<string, number> | undefined;
5421
5757
  maxSize?: number | Record<string, number> | undefined;
5422
5758
  maxAsyncSize?: number | Record<string, number> | undefined;
5423
5759
  maxInitialSize?: number | Record<string, number> | undefined;
5760
+ maxAsyncRequests?: number | undefined;
5761
+ maxInitialRequests?: number | undefined;
5424
5762
  automaticNameDelimiter?: string | undefined;
5425
5763
  cacheGroups?: Record<string, false | {
5426
5764
  filename?: string | undefined;
@@ -5434,14 +5772,15 @@ declare const optimization: z.ZodObject<{
5434
5772
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5435
5773
  defaultSizeTypes?: string[] | undefined;
5436
5774
  minChunks?: number | undefined;
5775
+ usedExports?: boolean | undefined;
5437
5776
  minSize?: number | Record<string, number> | undefined;
5438
5777
  maxSize?: number | Record<string, number> | undefined;
5439
5778
  maxAsyncSize?: number | Record<string, number> | undefined;
5440
5779
  maxInitialSize?: number | Record<string, number> | undefined;
5780
+ maxAsyncRequests?: number | undefined;
5781
+ maxInitialRequests?: number | undefined;
5441
5782
  automaticNameDelimiter?: string | undefined;
5442
5783
  }> | undefined;
5443
- maxAsyncRequests?: number | undefined;
5444
- maxInitialRequests?: number | undefined;
5445
5784
  fallbackCacheGroup?: {
5446
5785
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5447
5786
  minSize?: number | undefined;
@@ -5483,17 +5822,21 @@ declare const optimization: z.ZodObject<{
5483
5822
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
5484
5823
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
5485
5824
  minimize?: boolean | undefined;
5486
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
5825
+ minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
5487
5826
  mergeDuplicateChunks?: boolean | undefined;
5827
+ usedExports?: boolean | "global" | undefined;
5488
5828
  splitChunks?: false | {
5489
5829
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
5490
5830
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5491
5831
  defaultSizeTypes?: string[] | undefined;
5492
5832
  minChunks?: number | undefined;
5833
+ usedExports?: boolean | undefined;
5493
5834
  minSize?: number | Record<string, number> | undefined;
5494
5835
  maxSize?: number | Record<string, number> | undefined;
5495
5836
  maxAsyncSize?: number | Record<string, number> | undefined;
5496
5837
  maxInitialSize?: number | Record<string, number> | undefined;
5838
+ maxAsyncRequests?: number | undefined;
5839
+ maxInitialRequests?: number | undefined;
5497
5840
  automaticNameDelimiter?: string | undefined;
5498
5841
  cacheGroups?: Record<string, false | {
5499
5842
  filename?: string | undefined;
@@ -5507,14 +5850,15 @@ declare const optimization: z.ZodObject<{
5507
5850
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5508
5851
  defaultSizeTypes?: string[] | undefined;
5509
5852
  minChunks?: number | undefined;
5853
+ usedExports?: boolean | undefined;
5510
5854
  minSize?: number | Record<string, number> | undefined;
5511
5855
  maxSize?: number | Record<string, number> | undefined;
5512
5856
  maxAsyncSize?: number | Record<string, number> | undefined;
5513
5857
  maxInitialSize?: number | Record<string, number> | undefined;
5858
+ maxAsyncRequests?: number | undefined;
5859
+ maxInitialRequests?: number | undefined;
5514
5860
  automaticNameDelimiter?: string | undefined;
5515
5861
  }> | undefined;
5516
- maxAsyncRequests?: number | undefined;
5517
- maxInitialRequests?: number | undefined;
5518
5862
  fallbackCacheGroup?: {
5519
5863
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5520
5864
  minSize?: number | undefined;
@@ -5537,24 +5881,27 @@ declare const optimization: z.ZodObject<{
5537
5881
  providedExports?: boolean | undefined;
5538
5882
  concatenateModules?: boolean | undefined;
5539
5883
  innerGraph?: boolean | undefined;
5540
- usedExports?: boolean | "global" | undefined;
5541
5884
  mangleExports?: boolean | "deterministic" | "size" | undefined;
5542
5885
  nodeEnv?: string | false | undefined;
5543
5886
  }, {
5544
5887
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
5545
5888
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
5546
5889
  minimize?: boolean | undefined;
5547
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
5890
+ minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
5548
5891
  mergeDuplicateChunks?: boolean | undefined;
5892
+ usedExports?: boolean | "global" | undefined;
5549
5893
  splitChunks?: false | {
5550
5894
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
5551
5895
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5552
5896
  defaultSizeTypes?: string[] | undefined;
5553
5897
  minChunks?: number | undefined;
5898
+ usedExports?: boolean | undefined;
5554
5899
  minSize?: number | Record<string, number> | undefined;
5555
5900
  maxSize?: number | Record<string, number> | undefined;
5556
5901
  maxAsyncSize?: number | Record<string, number> | undefined;
5557
5902
  maxInitialSize?: number | Record<string, number> | undefined;
5903
+ maxAsyncRequests?: number | undefined;
5904
+ maxInitialRequests?: number | undefined;
5558
5905
  automaticNameDelimiter?: string | undefined;
5559
5906
  cacheGroups?: Record<string, false | {
5560
5907
  filename?: string | undefined;
@@ -5568,14 +5915,15 @@ declare const optimization: z.ZodObject<{
5568
5915
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5569
5916
  defaultSizeTypes?: string[] | undefined;
5570
5917
  minChunks?: number | undefined;
5918
+ usedExports?: boolean | undefined;
5571
5919
  minSize?: number | Record<string, number> | undefined;
5572
5920
  maxSize?: number | Record<string, number> | undefined;
5573
5921
  maxAsyncSize?: number | Record<string, number> | undefined;
5574
5922
  maxInitialSize?: number | Record<string, number> | undefined;
5923
+ maxAsyncRequests?: number | undefined;
5924
+ maxInitialRequests?: number | undefined;
5575
5925
  automaticNameDelimiter?: string | undefined;
5576
5926
  }> | undefined;
5577
- maxAsyncRequests?: number | undefined;
5578
- maxInitialRequests?: number | undefined;
5579
5927
  fallbackCacheGroup?: {
5580
5928
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5581
5929
  minSize?: number | undefined;
@@ -5598,7 +5946,6 @@ declare const optimization: z.ZodObject<{
5598
5946
  providedExports?: boolean | undefined;
5599
5947
  concatenateModules?: boolean | undefined;
5600
5948
  innerGraph?: boolean | undefined;
5601
- usedExports?: boolean | "global" | undefined;
5602
5949
  mangleExports?: boolean | "deterministic" | "size" | undefined;
5603
5950
  nodeEnv?: string | false | undefined;
5604
5951
  }>;
@@ -6773,7 +7120,7 @@ export declare const rspackOptions: z.ZodObject<{
6773
7120
  chunkLoadTimeout?: number | undefined;
6774
7121
  charset?: boolean | undefined;
6775
7122
  }>>;
6776
- target: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, 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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>]>, z.ZodArray<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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>]>, "many">]>>;
7123
+ target: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, 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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, 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.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>>;
6777
7124
  mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
6778
7125
  experiments: z.ZodOptional<z.ZodObject<{
6779
7126
  lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
@@ -7000,7 +7347,7 @@ export declare const rspackOptions: z.ZodObject<{
7000
7347
  contextInfo?: {
7001
7348
  issuer: string;
7002
7349
  } | undefined;
7003
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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<{
7350
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
7004
7351
  context: z.ZodOptional<z.ZodString>;
7005
7352
  dependencyType: z.ZodOptional<z.ZodString>;
7006
7353
  request: z.ZodOptional<z.ZodString>;
@@ -7050,7 +7397,7 @@ export declare const rspackOptions: z.ZodObject<{
7050
7397
  contextInfo?: {
7051
7398
  issuer: string;
7052
7399
  } | undefined;
7053
- }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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<{
7400
+ }>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, 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", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
7054
7401
  context: z.ZodOptional<z.ZodString>;
7055
7402
  dependencyType: z.ZodOptional<z.ZodString>;
7056
7403
  request: z.ZodOptional<z.ZodString>;
@@ -7076,7 +7423,7 @@ export declare const rspackOptions: z.ZodObject<{
7076
7423
  issuer: string;
7077
7424
  } | undefined;
7078
7425
  }>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>>]>]>>;
7079
- 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"]>>;
7426
+ 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", "module-import", "script", "node-commonjs"]>>;
7080
7427
  externalsPresets: z.ZodOptional<z.ZodObject<{
7081
7428
  node: z.ZodOptional<z.ZodBoolean>;
7082
7429
  web: z.ZodOptional<z.ZodBoolean>;
@@ -7131,17 +7478,17 @@ export declare const rspackOptions: z.ZodObject<{
7131
7478
  context: z.ZodOptional<z.ZodString>;
7132
7479
  devtool: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["eval", "cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-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"]>]>>;
7133
7480
  node: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
7134
- __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
7135
- __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
7481
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
7482
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
7136
7483
  global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
7137
7484
  }, "strict", z.ZodTypeAny, {
7138
7485
  global?: boolean | "warn" | undefined;
7139
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
7140
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
7486
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
7487
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
7141
7488
  }, {
7142
7489
  global?: boolean | "warn" | undefined;
7143
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
7144
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
7490
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
7491
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
7145
7492
  }>]>>;
7146
7493
  loader: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7147
7494
  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">>;
@@ -7238,20 +7585,20 @@ export declare const rspackOptions: z.ZodObject<{
7238
7585
  errorStack: z.ZodOptional<z.ZodBoolean>;
7239
7586
  moduleTrace: z.ZodOptional<z.ZodBoolean>;
7240
7587
  cachedModules: z.ZodOptional<z.ZodBoolean>;
7588
+ cachedAssets: z.ZodOptional<z.ZodBoolean>;
7241
7589
  cached: z.ZodOptional<z.ZodBoolean>;
7590
+ errorsSpace: z.ZodOptional<z.ZodNumber>;
7591
+ warningsSpace: z.ZodOptional<z.ZodNumber>;
7242
7592
  }, "strict", z.ZodTypeAny, {
7243
7593
  publicPath?: boolean | undefined;
7244
7594
  hash?: boolean | undefined;
7245
7595
  all?: boolean | undefined;
7246
7596
  chunks?: boolean | undefined;
7247
- providedExports?: boolean | undefined;
7248
7597
  usedExports?: boolean | undefined;
7249
- children?: boolean | undefined;
7250
- runtime?: boolean | undefined;
7251
- modules?: boolean | undefined;
7252
- moduleTrace?: boolean | undefined;
7598
+ providedExports?: boolean | undefined;
7253
7599
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
7254
7600
  assets?: boolean | undefined;
7601
+ modules?: boolean | undefined;
7255
7602
  entrypoints?: boolean | "auto" | undefined;
7256
7603
  chunkGroups?: boolean | undefined;
7257
7604
  warnings?: boolean | undefined;
@@ -7274,6 +7621,7 @@ export declare const rspackOptions: z.ZodObject<{
7274
7621
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
7275
7622
  loggingTrace?: boolean | undefined;
7276
7623
  runtimeModules?: boolean | undefined;
7624
+ children?: boolean | undefined;
7277
7625
  optimizationBailout?: boolean | undefined;
7278
7626
  groupModulesByType?: boolean | undefined;
7279
7627
  groupModulesByCacheStatus?: boolean | undefined;
@@ -7306,26 +7654,28 @@ export declare const rspackOptions: z.ZodObject<{
7306
7654
  chunkGroupMaxAssets?: number | undefined;
7307
7655
  dependentModules?: boolean | undefined;
7308
7656
  chunkOrigins?: boolean | undefined;
7657
+ runtime?: boolean | undefined;
7309
7658
  depth?: boolean | undefined;
7310
7659
  reasonsSpace?: number | undefined;
7311
7660
  groupReasonsByOrigin?: boolean | undefined;
7312
7661
  errorDetails?: boolean | undefined;
7313
7662
  errorStack?: boolean | undefined;
7663
+ moduleTrace?: boolean | undefined;
7314
7664
  cachedModules?: boolean | undefined;
7665
+ cachedAssets?: boolean | undefined;
7315
7666
  cached?: boolean | undefined;
7667
+ errorsSpace?: number | undefined;
7668
+ warningsSpace?: number | undefined;
7316
7669
  }, {
7317
7670
  publicPath?: boolean | undefined;
7318
7671
  hash?: boolean | undefined;
7319
7672
  all?: boolean | undefined;
7320
7673
  chunks?: boolean | undefined;
7321
- providedExports?: boolean | undefined;
7322
7674
  usedExports?: boolean | undefined;
7323
- children?: boolean | undefined;
7324
- runtime?: boolean | undefined;
7325
- modules?: boolean | undefined;
7326
- moduleTrace?: boolean | undefined;
7675
+ providedExports?: boolean | undefined;
7327
7676
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
7328
7677
  assets?: boolean | undefined;
7678
+ modules?: boolean | undefined;
7329
7679
  entrypoints?: boolean | "auto" | undefined;
7330
7680
  chunkGroups?: boolean | undefined;
7331
7681
  warnings?: boolean | undefined;
@@ -7348,6 +7698,7 @@ export declare const rspackOptions: z.ZodObject<{
7348
7698
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
7349
7699
  loggingTrace?: boolean | undefined;
7350
7700
  runtimeModules?: boolean | undefined;
7701
+ children?: boolean | undefined;
7351
7702
  optimizationBailout?: boolean | undefined;
7352
7703
  groupModulesByType?: boolean | undefined;
7353
7704
  groupModulesByCacheStatus?: boolean | undefined;
@@ -7380,40 +7731,51 @@ export declare const rspackOptions: z.ZodObject<{
7380
7731
  chunkGroupMaxAssets?: number | undefined;
7381
7732
  dependentModules?: boolean | undefined;
7382
7733
  chunkOrigins?: boolean | undefined;
7734
+ runtime?: boolean | undefined;
7383
7735
  depth?: boolean | undefined;
7384
7736
  reasonsSpace?: number | undefined;
7385
7737
  groupReasonsByOrigin?: boolean | undefined;
7386
7738
  errorDetails?: boolean | undefined;
7387
7739
  errorStack?: boolean | undefined;
7740
+ moduleTrace?: boolean | undefined;
7388
7741
  cachedModules?: boolean | undefined;
7742
+ cachedAssets?: boolean | undefined;
7389
7743
  cached?: boolean | undefined;
7744
+ errorsSpace?: number | undefined;
7745
+ warningsSpace?: number | undefined;
7390
7746
  }>]>>;
7391
7747
  snapshot: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
7392
7748
  optimization: z.ZodOptional<z.ZodObject<{
7393
7749
  moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
7394
7750
  chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
7395
7751
  minimize: z.ZodOptional<z.ZodBoolean>;
7396
- minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
7752
+ minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
7397
7753
  mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
7398
7754
  splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
7399
7755
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
7400
7756
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7401
7757
  minChunks: z.ZodOptional<z.ZodNumber>;
7758
+ usedExports: z.ZodOptional<z.ZodBoolean>;
7402
7759
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
7403
7760
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7404
7761
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7405
7762
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7406
7763
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7764
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
7765
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
7407
7766
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
7408
7767
  cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
7409
7768
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
7410
7769
  defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7411
7770
  minChunks: z.ZodOptional<z.ZodNumber>;
7771
+ usedExports: z.ZodOptional<z.ZodBoolean>;
7412
7772
  name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
7413
7773
  minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7414
7774
  maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7415
7775
  maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7416
7776
  maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
7777
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
7778
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
7417
7779
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
7418
7780
  test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
7419
7781
  priority: z.ZodOptional<z.ZodNumber>;
@@ -7434,10 +7796,13 @@ export declare const rspackOptions: z.ZodObject<{
7434
7796
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7435
7797
  defaultSizeTypes?: string[] | undefined;
7436
7798
  minChunks?: number | undefined;
7799
+ usedExports?: boolean | undefined;
7437
7800
  minSize?: number | Record<string, number> | undefined;
7438
7801
  maxSize?: number | Record<string, number> | undefined;
7439
7802
  maxAsyncSize?: number | Record<string, number> | undefined;
7440
7803
  maxInitialSize?: number | Record<string, number> | undefined;
7804
+ maxAsyncRequests?: number | undefined;
7805
+ maxInitialRequests?: number | undefined;
7441
7806
  automaticNameDelimiter?: string | undefined;
7442
7807
  }, {
7443
7808
  filename?: string | undefined;
@@ -7451,14 +7816,15 @@ export declare const rspackOptions: z.ZodObject<{
7451
7816
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7452
7817
  defaultSizeTypes?: string[] | undefined;
7453
7818
  minChunks?: number | undefined;
7819
+ usedExports?: boolean | undefined;
7454
7820
  minSize?: number | Record<string, number> | undefined;
7455
7821
  maxSize?: number | Record<string, number> | undefined;
7456
7822
  maxAsyncSize?: number | Record<string, number> | undefined;
7457
7823
  maxInitialSize?: number | Record<string, number> | undefined;
7824
+ maxAsyncRequests?: number | undefined;
7825
+ maxInitialRequests?: number | undefined;
7458
7826
  automaticNameDelimiter?: string | undefined;
7459
7827
  }>]>>>;
7460
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
7461
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
7462
7828
  fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
7463
7829
  chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
7464
7830
  minSize: z.ZodOptional<z.ZodNumber>;
@@ -7487,10 +7853,13 @@ export declare const rspackOptions: z.ZodObject<{
7487
7853
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7488
7854
  defaultSizeTypes?: string[] | undefined;
7489
7855
  minChunks?: number | undefined;
7856
+ usedExports?: boolean | undefined;
7490
7857
  minSize?: number | Record<string, number> | undefined;
7491
7858
  maxSize?: number | Record<string, number> | undefined;
7492
7859
  maxAsyncSize?: number | Record<string, number> | undefined;
7493
7860
  maxInitialSize?: number | Record<string, number> | undefined;
7861
+ maxAsyncRequests?: number | undefined;
7862
+ maxInitialRequests?: number | undefined;
7494
7863
  automaticNameDelimiter?: string | undefined;
7495
7864
  cacheGroups?: Record<string, false | {
7496
7865
  filename?: string | undefined;
@@ -7504,14 +7873,15 @@ export declare const rspackOptions: z.ZodObject<{
7504
7873
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7505
7874
  defaultSizeTypes?: string[] | undefined;
7506
7875
  minChunks?: number | undefined;
7876
+ usedExports?: boolean | undefined;
7507
7877
  minSize?: number | Record<string, number> | undefined;
7508
7878
  maxSize?: number | Record<string, number> | undefined;
7509
7879
  maxAsyncSize?: number | Record<string, number> | undefined;
7510
7880
  maxInitialSize?: number | Record<string, number> | undefined;
7881
+ maxAsyncRequests?: number | undefined;
7882
+ maxInitialRequests?: number | undefined;
7511
7883
  automaticNameDelimiter?: string | undefined;
7512
7884
  }> | undefined;
7513
- maxAsyncRequests?: number | undefined;
7514
- maxInitialRequests?: number | undefined;
7515
7885
  fallbackCacheGroup?: {
7516
7886
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7517
7887
  minSize?: number | undefined;
@@ -7526,10 +7896,13 @@ export declare const rspackOptions: z.ZodObject<{
7526
7896
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7527
7897
  defaultSizeTypes?: string[] | undefined;
7528
7898
  minChunks?: number | undefined;
7899
+ usedExports?: boolean | undefined;
7529
7900
  minSize?: number | Record<string, number> | undefined;
7530
7901
  maxSize?: number | Record<string, number> | undefined;
7531
7902
  maxAsyncSize?: number | Record<string, number> | undefined;
7532
7903
  maxInitialSize?: number | Record<string, number> | undefined;
7904
+ maxAsyncRequests?: number | undefined;
7905
+ maxInitialRequests?: number | undefined;
7533
7906
  automaticNameDelimiter?: string | undefined;
7534
7907
  cacheGroups?: Record<string, false | {
7535
7908
  filename?: string | undefined;
@@ -7543,14 +7916,15 @@ export declare const rspackOptions: z.ZodObject<{
7543
7916
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7544
7917
  defaultSizeTypes?: string[] | undefined;
7545
7918
  minChunks?: number | undefined;
7919
+ usedExports?: boolean | undefined;
7546
7920
  minSize?: number | Record<string, number> | undefined;
7547
7921
  maxSize?: number | Record<string, number> | undefined;
7548
7922
  maxAsyncSize?: number | Record<string, number> | undefined;
7549
7923
  maxInitialSize?: number | Record<string, number> | undefined;
7924
+ maxAsyncRequests?: number | undefined;
7925
+ maxInitialRequests?: number | undefined;
7550
7926
  automaticNameDelimiter?: string | undefined;
7551
7927
  }> | undefined;
7552
- maxAsyncRequests?: number | undefined;
7553
- maxInitialRequests?: number | undefined;
7554
7928
  fallbackCacheGroup?: {
7555
7929
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7556
7930
  minSize?: number | undefined;
@@ -7592,17 +7966,21 @@ export declare const rspackOptions: z.ZodObject<{
7592
7966
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
7593
7967
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
7594
7968
  minimize?: boolean | undefined;
7595
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
7969
+ minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
7596
7970
  mergeDuplicateChunks?: boolean | undefined;
7971
+ usedExports?: boolean | "global" | undefined;
7597
7972
  splitChunks?: false | {
7598
7973
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
7599
7974
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7600
7975
  defaultSizeTypes?: string[] | undefined;
7601
7976
  minChunks?: number | undefined;
7977
+ usedExports?: boolean | undefined;
7602
7978
  minSize?: number | Record<string, number> | undefined;
7603
7979
  maxSize?: number | Record<string, number> | undefined;
7604
7980
  maxAsyncSize?: number | Record<string, number> | undefined;
7605
7981
  maxInitialSize?: number | Record<string, number> | undefined;
7982
+ maxAsyncRequests?: number | undefined;
7983
+ maxInitialRequests?: number | undefined;
7606
7984
  automaticNameDelimiter?: string | undefined;
7607
7985
  cacheGroups?: Record<string, false | {
7608
7986
  filename?: string | undefined;
@@ -7616,14 +7994,15 @@ export declare const rspackOptions: z.ZodObject<{
7616
7994
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7617
7995
  defaultSizeTypes?: string[] | undefined;
7618
7996
  minChunks?: number | undefined;
7997
+ usedExports?: boolean | undefined;
7619
7998
  minSize?: number | Record<string, number> | undefined;
7620
7999
  maxSize?: number | Record<string, number> | undefined;
7621
8000
  maxAsyncSize?: number | Record<string, number> | undefined;
7622
8001
  maxInitialSize?: number | Record<string, number> | undefined;
8002
+ maxAsyncRequests?: number | undefined;
8003
+ maxInitialRequests?: number | undefined;
7623
8004
  automaticNameDelimiter?: string | undefined;
7624
8005
  }> | undefined;
7625
- maxAsyncRequests?: number | undefined;
7626
- maxInitialRequests?: number | undefined;
7627
8006
  fallbackCacheGroup?: {
7628
8007
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7629
8008
  minSize?: number | undefined;
@@ -7646,24 +8025,27 @@ export declare const rspackOptions: z.ZodObject<{
7646
8025
  providedExports?: boolean | undefined;
7647
8026
  concatenateModules?: boolean | undefined;
7648
8027
  innerGraph?: boolean | undefined;
7649
- usedExports?: boolean | "global" | undefined;
7650
8028
  mangleExports?: boolean | "deterministic" | "size" | undefined;
7651
8029
  nodeEnv?: string | false | undefined;
7652
8030
  }, {
7653
8031
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
7654
8032
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
7655
8033
  minimize?: boolean | undefined;
7656
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
8034
+ minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
7657
8035
  mergeDuplicateChunks?: boolean | undefined;
8036
+ usedExports?: boolean | "global" | undefined;
7658
8037
  splitChunks?: false | {
7659
8038
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
7660
8039
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7661
8040
  defaultSizeTypes?: string[] | undefined;
7662
8041
  minChunks?: number | undefined;
8042
+ usedExports?: boolean | undefined;
7663
8043
  minSize?: number | Record<string, number> | undefined;
7664
8044
  maxSize?: number | Record<string, number> | undefined;
7665
8045
  maxAsyncSize?: number | Record<string, number> | undefined;
7666
8046
  maxInitialSize?: number | Record<string, number> | undefined;
8047
+ maxAsyncRequests?: number | undefined;
8048
+ maxInitialRequests?: number | undefined;
7667
8049
  automaticNameDelimiter?: string | undefined;
7668
8050
  cacheGroups?: Record<string, false | {
7669
8051
  filename?: string | undefined;
@@ -7677,14 +8059,15 @@ export declare const rspackOptions: z.ZodObject<{
7677
8059
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7678
8060
  defaultSizeTypes?: string[] | undefined;
7679
8061
  minChunks?: number | undefined;
8062
+ usedExports?: boolean | undefined;
7680
8063
  minSize?: number | Record<string, number> | undefined;
7681
8064
  maxSize?: number | Record<string, number> | undefined;
7682
8065
  maxAsyncSize?: number | Record<string, number> | undefined;
7683
8066
  maxInitialSize?: number | Record<string, number> | undefined;
8067
+ maxAsyncRequests?: number | undefined;
8068
+ maxInitialRequests?: number | undefined;
7684
8069
  automaticNameDelimiter?: string | undefined;
7685
8070
  }> | undefined;
7686
- maxAsyncRequests?: number | undefined;
7687
- maxInitialRequests?: number | undefined;
7688
8071
  fallbackCacheGroup?: {
7689
8072
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7690
8073
  minSize?: number | undefined;
@@ -7707,13 +8090,12 @@ export declare const rspackOptions: z.ZodObject<{
7707
8090
  providedExports?: boolean | undefined;
7708
8091
  concatenateModules?: boolean | undefined;
7709
8092
  innerGraph?: boolean | undefined;
7710
- usedExports?: boolean | "global" | undefined;
7711
8093
  mangleExports?: boolean | "deterministic" | "size" | undefined;
7712
8094
  nodeEnv?: string | false | undefined;
7713
8095
  }>>;
7714
8096
  resolve: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
7715
8097
  resolveLoader: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
7716
- plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
8098
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
7717
8099
  devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
7718
8100
  module: z.ZodOptional<z.ZodObject<{
7719
8101
  defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
@@ -8736,6 +9118,12 @@ export declare const rspackOptions: z.ZodObject<{
8736
9118
  dependencies?: string[] | undefined;
8737
9119
  name?: string | undefined;
8738
9120
  context?: string | undefined;
9121
+ performance?: false | {
9122
+ assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
9123
+ hints?: false | "error" | "warning" | undefined;
9124
+ maxAssetSize?: number | undefined;
9125
+ maxEntrypointSize?: number | undefined;
9126
+ } | undefined;
8739
9127
  entry?: string | string[] | Record<string, string | string[] | {
8740
9128
  import: string | string[];
8741
9129
  filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
@@ -8821,16 +9209,10 @@ export declare const rspackOptions: z.ZodObject<{
8821
9209
  } | undefined;
8822
9210
  dependOn?: string | string[] | undefined;
8823
9211
  }>>) | undefined;
8824
- performance?: false | {
8825
- assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
8826
- hints?: false | "error" | "warning" | undefined;
8827
- maxAssetSize?: number | undefined;
8828
- maxEntrypointSize?: number | undefined;
8829
- } | undefined;
8830
9212
  node?: false | {
8831
9213
  global?: boolean | "warn" | undefined;
8832
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
8833
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
9214
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
9215
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
8834
9216
  } | undefined;
8835
9217
  profile?: boolean | undefined;
8836
9218
  cache?: boolean | undefined;
@@ -8932,8 +9314,8 @@ export declare const rspackOptions: z.ZodObject<{
8932
9314
  chunkLoadTimeout?: number | undefined;
8933
9315
  charset?: boolean | undefined;
8934
9316
  } | undefined;
8935
- target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}`)[] | undefined;
8936
- mode?: "development" | "none" | "production" | undefined;
9317
+ target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined;
9318
+ mode?: "none" | "development" | "production" | undefined;
8937
9319
  experiments?: {
8938
9320
  css?: boolean | undefined;
8939
9321
  lazyCompilation?: boolean | {
@@ -8975,7 +9357,7 @@ export declare const rspackOptions: z.ZodObject<{
8975
9357
  contextInfo?: {
8976
9358
  issuer: string;
8977
9359
  } | undefined;
8978
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
9360
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
8979
9361
  context?: string | undefined;
8980
9362
  dependencyType?: string | undefined;
8981
9363
  request?: string | undefined;
@@ -8989,7 +9371,7 @@ export declare const rspackOptions: z.ZodObject<{
8989
9371
  contextInfo?: {
8990
9372
  issuer: string;
8991
9373
  } | undefined;
8992
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
9374
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
8993
9375
  context?: string | undefined;
8994
9376
  dependencyType?: string | undefined;
8995
9377
  request?: string | undefined;
@@ -8997,7 +9379,7 @@ export declare const rspackOptions: z.ZodObject<{
8997
9379
  issuer: string;
8998
9380
  } | undefined;
8999
9381
  }, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
9000
- externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined;
9382
+ externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined;
9001
9383
  externalsPresets?: {
9002
9384
  node?: boolean | undefined;
9003
9385
  web?: boolean | undefined;
@@ -9031,14 +9413,11 @@ export declare const rspackOptions: z.ZodObject<{
9031
9413
  hash?: boolean | undefined;
9032
9414
  all?: boolean | undefined;
9033
9415
  chunks?: boolean | undefined;
9034
- providedExports?: boolean | undefined;
9035
9416
  usedExports?: boolean | undefined;
9036
- children?: boolean | undefined;
9037
- runtime?: boolean | undefined;
9038
- modules?: boolean | undefined;
9039
- moduleTrace?: boolean | undefined;
9417
+ providedExports?: boolean | undefined;
9040
9418
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
9041
9419
  assets?: boolean | undefined;
9420
+ modules?: boolean | undefined;
9042
9421
  entrypoints?: boolean | "auto" | undefined;
9043
9422
  chunkGroups?: boolean | undefined;
9044
9423
  warnings?: boolean | undefined;
@@ -9061,6 +9440,7 @@ export declare const rspackOptions: z.ZodObject<{
9061
9440
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
9062
9441
  loggingTrace?: boolean | undefined;
9063
9442
  runtimeModules?: boolean | undefined;
9443
+ children?: boolean | undefined;
9064
9444
  optimizationBailout?: boolean | undefined;
9065
9445
  groupModulesByType?: boolean | undefined;
9066
9446
  groupModulesByCacheStatus?: boolean | undefined;
@@ -9093,30 +9473,39 @@ export declare const rspackOptions: z.ZodObject<{
9093
9473
  chunkGroupMaxAssets?: number | undefined;
9094
9474
  dependentModules?: boolean | undefined;
9095
9475
  chunkOrigins?: boolean | undefined;
9476
+ runtime?: boolean | undefined;
9096
9477
  depth?: boolean | undefined;
9097
9478
  reasonsSpace?: number | undefined;
9098
9479
  groupReasonsByOrigin?: boolean | undefined;
9099
9480
  errorDetails?: boolean | undefined;
9100
9481
  errorStack?: boolean | undefined;
9482
+ moduleTrace?: boolean | undefined;
9101
9483
  cachedModules?: boolean | undefined;
9484
+ cachedAssets?: boolean | undefined;
9102
9485
  cached?: boolean | undefined;
9486
+ errorsSpace?: number | undefined;
9487
+ warningsSpace?: number | undefined;
9103
9488
  } | undefined;
9104
9489
  snapshot?: {} | undefined;
9105
9490
  optimization?: {
9106
9491
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
9107
9492
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
9108
9493
  minimize?: boolean | undefined;
9109
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
9494
+ minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
9110
9495
  mergeDuplicateChunks?: boolean | undefined;
9496
+ usedExports?: boolean | "global" | undefined;
9111
9497
  splitChunks?: false | {
9112
9498
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
9113
9499
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9114
9500
  defaultSizeTypes?: string[] | undefined;
9115
9501
  minChunks?: number | undefined;
9502
+ usedExports?: boolean | undefined;
9116
9503
  minSize?: number | Record<string, number> | undefined;
9117
9504
  maxSize?: number | Record<string, number> | undefined;
9118
9505
  maxAsyncSize?: number | Record<string, number> | undefined;
9119
9506
  maxInitialSize?: number | Record<string, number> | undefined;
9507
+ maxAsyncRequests?: number | undefined;
9508
+ maxInitialRequests?: number | undefined;
9120
9509
  automaticNameDelimiter?: string | undefined;
9121
9510
  cacheGroups?: Record<string, false | {
9122
9511
  filename?: string | undefined;
@@ -9130,14 +9519,15 @@ export declare const rspackOptions: z.ZodObject<{
9130
9519
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9131
9520
  defaultSizeTypes?: string[] | undefined;
9132
9521
  minChunks?: number | undefined;
9522
+ usedExports?: boolean | undefined;
9133
9523
  minSize?: number | Record<string, number> | undefined;
9134
9524
  maxSize?: number | Record<string, number> | undefined;
9135
9525
  maxAsyncSize?: number | Record<string, number> | undefined;
9136
9526
  maxInitialSize?: number | Record<string, number> | undefined;
9527
+ maxAsyncRequests?: number | undefined;
9528
+ maxInitialRequests?: number | undefined;
9137
9529
  automaticNameDelimiter?: string | undefined;
9138
9530
  }> | undefined;
9139
- maxAsyncRequests?: number | undefined;
9140
- maxInitialRequests?: number | undefined;
9141
9531
  fallbackCacheGroup?: {
9142
9532
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9143
9533
  minSize?: number | undefined;
@@ -9160,12 +9550,11 @@ export declare const rspackOptions: z.ZodObject<{
9160
9550
  providedExports?: boolean | undefined;
9161
9551
  concatenateModules?: boolean | undefined;
9162
9552
  innerGraph?: boolean | undefined;
9163
- usedExports?: boolean | "global" | undefined;
9164
9553
  mangleExports?: boolean | "deterministic" | "size" | undefined;
9165
9554
  nodeEnv?: string | false | undefined;
9166
9555
  } | undefined;
9167
9556
  resolveLoader?: ResolveOptions | undefined;
9168
- plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
9557
+ plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
9169
9558
  devServer?: DevServer | undefined;
9170
9559
  bail?: boolean | undefined;
9171
9560
  }, {
@@ -9301,6 +9690,12 @@ export declare const rspackOptions: z.ZodObject<{
9301
9690
  dependencies?: string[] | undefined;
9302
9691
  name?: string | undefined;
9303
9692
  context?: string | undefined;
9693
+ performance?: false | {
9694
+ assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
9695
+ hints?: false | "error" | "warning" | undefined;
9696
+ maxAssetSize?: number | undefined;
9697
+ maxEntrypointSize?: number | undefined;
9698
+ } | undefined;
9304
9699
  entry?: string | string[] | Record<string, string | string[] | {
9305
9700
  import: string | string[];
9306
9701
  filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
@@ -9386,16 +9781,10 @@ export declare const rspackOptions: z.ZodObject<{
9386
9781
  } | undefined;
9387
9782
  dependOn?: string | string[] | undefined;
9388
9783
  }>>) | undefined;
9389
- performance?: false | {
9390
- assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
9391
- hints?: false | "error" | "warning" | undefined;
9392
- maxAssetSize?: number | undefined;
9393
- maxEntrypointSize?: number | undefined;
9394
- } | undefined;
9395
9784
  node?: false | {
9396
9785
  global?: boolean | "warn" | undefined;
9397
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
9398
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
9786
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
9787
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
9399
9788
  } | undefined;
9400
9789
  profile?: boolean | undefined;
9401
9790
  cache?: boolean | undefined;
@@ -9497,8 +9886,8 @@ export declare const rspackOptions: z.ZodObject<{
9497
9886
  chunkLoadTimeout?: number | undefined;
9498
9887
  charset?: boolean | undefined;
9499
9888
  } | undefined;
9500
- target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}`)[] | undefined;
9501
- mode?: "development" | "none" | "production" | undefined;
9889
+ target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `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` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined;
9890
+ mode?: "none" | "development" | "production" | undefined;
9502
9891
  experiments?: {
9503
9892
  css?: boolean | undefined;
9504
9893
  lazyCompilation?: boolean | {
@@ -9540,7 +9929,7 @@ export declare const rspackOptions: z.ZodObject<{
9540
9929
  contextInfo?: {
9541
9930
  issuer: string;
9542
9931
  } | undefined;
9543
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
9932
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
9544
9933
  context?: string | undefined;
9545
9934
  dependencyType?: string | undefined;
9546
9935
  request?: string | undefined;
@@ -9554,7 +9943,7 @@ export declare const rspackOptions: z.ZodObject<{
9554
9943
  contextInfo?: {
9555
9944
  issuer: string;
9556
9945
  } | undefined;
9557
- }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
9946
+ }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
9558
9947
  context?: string | undefined;
9559
9948
  dependencyType?: string | undefined;
9560
9949
  request?: string | undefined;
@@ -9562,7 +9951,7 @@ export declare const rspackOptions: z.ZodObject<{
9562
9951
  issuer: string;
9563
9952
  } | undefined;
9564
9953
  }, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
9565
- externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined;
9954
+ externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined;
9566
9955
  externalsPresets?: {
9567
9956
  node?: boolean | undefined;
9568
9957
  web?: boolean | undefined;
@@ -9596,14 +9985,11 @@ export declare const rspackOptions: z.ZodObject<{
9596
9985
  hash?: boolean | undefined;
9597
9986
  all?: boolean | undefined;
9598
9987
  chunks?: boolean | undefined;
9599
- providedExports?: boolean | undefined;
9600
9988
  usedExports?: boolean | undefined;
9601
- children?: boolean | undefined;
9602
- runtime?: boolean | undefined;
9603
- modules?: boolean | undefined;
9604
- moduleTrace?: boolean | undefined;
9989
+ providedExports?: boolean | undefined;
9605
9990
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
9606
9991
  assets?: boolean | undefined;
9992
+ modules?: boolean | undefined;
9607
9993
  entrypoints?: boolean | "auto" | undefined;
9608
9994
  chunkGroups?: boolean | undefined;
9609
9995
  warnings?: boolean | undefined;
@@ -9626,6 +10012,7 @@ export declare const rspackOptions: z.ZodObject<{
9626
10012
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
9627
10013
  loggingTrace?: boolean | undefined;
9628
10014
  runtimeModules?: boolean | undefined;
10015
+ children?: boolean | undefined;
9629
10016
  optimizationBailout?: boolean | undefined;
9630
10017
  groupModulesByType?: boolean | undefined;
9631
10018
  groupModulesByCacheStatus?: boolean | undefined;
@@ -9658,30 +10045,39 @@ export declare const rspackOptions: z.ZodObject<{
9658
10045
  chunkGroupMaxAssets?: number | undefined;
9659
10046
  dependentModules?: boolean | undefined;
9660
10047
  chunkOrigins?: boolean | undefined;
10048
+ runtime?: boolean | undefined;
9661
10049
  depth?: boolean | undefined;
9662
10050
  reasonsSpace?: number | undefined;
9663
10051
  groupReasonsByOrigin?: boolean | undefined;
9664
10052
  errorDetails?: boolean | undefined;
9665
10053
  errorStack?: boolean | undefined;
10054
+ moduleTrace?: boolean | undefined;
9666
10055
  cachedModules?: boolean | undefined;
10056
+ cachedAssets?: boolean | undefined;
9667
10057
  cached?: boolean | undefined;
10058
+ errorsSpace?: number | undefined;
10059
+ warningsSpace?: number | undefined;
9668
10060
  } | undefined;
9669
10061
  snapshot?: {} | undefined;
9670
10062
  optimization?: {
9671
10063
  moduleIds?: "named" | "natural" | "deterministic" | undefined;
9672
10064
  chunkIds?: "named" | "natural" | "deterministic" | undefined;
9673
10065
  minimize?: boolean | undefined;
9674
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
10066
+ minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
9675
10067
  mergeDuplicateChunks?: boolean | undefined;
10068
+ usedExports?: boolean | "global" | undefined;
9676
10069
  splitChunks?: false | {
9677
10070
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
9678
10071
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9679
10072
  defaultSizeTypes?: string[] | undefined;
9680
10073
  minChunks?: number | undefined;
10074
+ usedExports?: boolean | undefined;
9681
10075
  minSize?: number | Record<string, number> | undefined;
9682
10076
  maxSize?: number | Record<string, number> | undefined;
9683
10077
  maxAsyncSize?: number | Record<string, number> | undefined;
9684
10078
  maxInitialSize?: number | Record<string, number> | undefined;
10079
+ maxAsyncRequests?: number | undefined;
10080
+ maxInitialRequests?: number | undefined;
9685
10081
  automaticNameDelimiter?: string | undefined;
9686
10082
  cacheGroups?: Record<string, false | {
9687
10083
  filename?: string | undefined;
@@ -9695,14 +10091,15 @@ export declare const rspackOptions: z.ZodObject<{
9695
10091
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9696
10092
  defaultSizeTypes?: string[] | undefined;
9697
10093
  minChunks?: number | undefined;
10094
+ usedExports?: boolean | undefined;
9698
10095
  minSize?: number | Record<string, number> | undefined;
9699
10096
  maxSize?: number | Record<string, number> | undefined;
9700
10097
  maxAsyncSize?: number | Record<string, number> | undefined;
9701
10098
  maxInitialSize?: number | Record<string, number> | undefined;
10099
+ maxAsyncRequests?: number | undefined;
10100
+ maxInitialRequests?: number | undefined;
9702
10101
  automaticNameDelimiter?: string | undefined;
9703
10102
  }> | undefined;
9704
- maxAsyncRequests?: number | undefined;
9705
- maxInitialRequests?: number | undefined;
9706
10103
  fallbackCacheGroup?: {
9707
10104
  chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9708
10105
  minSize?: number | undefined;
@@ -9725,12 +10122,11 @@ export declare const rspackOptions: z.ZodObject<{
9725
10122
  providedExports?: boolean | undefined;
9726
10123
  concatenateModules?: boolean | undefined;
9727
10124
  innerGraph?: boolean | undefined;
9728
- usedExports?: boolean | "global" | undefined;
9729
10125
  mangleExports?: boolean | "deterministic" | "size" | undefined;
9730
10126
  nodeEnv?: string | false | undefined;
9731
10127
  } | undefined;
9732
10128
  resolveLoader?: ResolveOptions | undefined;
9733
- plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
10129
+ plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
9734
10130
  devServer?: DevServer | undefined;
9735
10131
  bail?: boolean | undefined;
9736
10132
  }>;