diff --git a/api-extractor.json b/api-extractor.json index c9dc7786375..370a1e016ea 100644 --- a/api-extractor.json +++ b/api-extractor.json @@ -182,7 +182,7 @@ * SUPPORTED TOKENS: , , * DEFAULT VALUE: "/temp/" */ - "reportTempFolder": "/temp/" + "reportTempFolder": "/temp/", /** * Whether "forgotten exports" should be included in the API report file. Forgotten exports are declarations @@ -191,7 +191,7 @@ * * DEFAULT VALUE: "false" */ - // "includeForgottenExports": false + "includeForgottenExports": true }, /** @@ -402,6 +402,10 @@ }, "ae-missing-release-tag": { "logLevel": "none" + }, + "ae-forgotten-export": { + "logLevel": "none", + "addToApiReportFile": false } // "ae-extra-release-tag": { diff --git a/packages/rspack-dev-server/etc/api.md b/packages/rspack-dev-server/etc/api.md index 3f97d09cd2b..9eed663142a 100644 --- a/packages/rspack-dev-server/etc/api.md +++ b/packages/rspack-dev-server/etc/api.md @@ -16,13 +16,54 @@ import WebpackDevServer from 'webpack-dev-server'; export { Configuration } +// @public (undocumented) +interface ResolvedDevServer extends Configuration { + // (undocumented) + allowedHosts: "auto" | string[] | "all"; + // (undocumented) + bonjour: false | Record | WebpackDevServer.BonjourOptions; + // (undocumented) + client: WebpackDevServer.ClientConfiguration; + // (undocumented) + compress: boolean; + // (undocumented) + devMiddleware: Configuration["devMiddleware"]; + // (undocumented) + historyApiFallback: false | WebpackDevServer.ConnectHistoryApiFallbackOptions; + // (undocumented) + host?: string; + // (undocumented) + hot: boolean | "only"; + // (undocumented) + ipc: string | undefined; + // (undocumented) + liveReload: boolean; + // (undocumented) + magicHtml: boolean; + // (undocumented) + open: WebpackDevServer.Open[]; + // (undocumented) + port: number | string; + // (undocumented) + proxy: WebpackDevServer.ProxyConfigArray; + // (undocumented) + server: WebpackDevServer.ServerConfiguration; + // (undocumented) + setupExitSignals: boolean; + // (undocumented) + static: false | Array; + // (undocumented) + watchFiles: WebpackDevServer.WatchFiles[]; + // (undocumented) + webSocketServer: false | WebpackDevServer.WebSocketServerConfiguration; +} + // @public (undocumented) export class RspackDevServer extends WebpackDevServer { constructor(options: Configuration, compiler: Compiler | MultiCompiler); compiler: Compiler | MultiCompiler; // (undocumented) initialize(): Promise; - // Warning: (ae-forgotten-export) The symbol "ResolvedDevServer" needs to be exported by the entry point index.d.ts options: ResolvedDevServer; // (undocumented) server: Server; diff --git a/packages/rspack-test-tools/etc/api.md b/packages/rspack-test-tools/etc/api.md index b9e14365037..4a547ebfe2e 100644 --- a/packages/rspack-test-tools/etc/api.md +++ b/packages/rspack-test-tools/etc/api.md @@ -229,8 +229,6 @@ export class HookTaskProcessor extends SnapshotProcessor { constructor(hookOptions: IHookProcessorOptions); // (undocumented) config(context: ITestContext): Promise; - // Warning: (ae-forgotten-export) The symbol "IHookProcessorOptions" needs to be exported by the entry point index.d.ts - // // (undocumented) protected hookOptions: IHookProcessorOptions; } @@ -405,6 +403,12 @@ export interface IFormatCodeOptions { replacements?: Record; } +// @public (undocumented) +interface IHookProcessorOptions extends ISnapshotProcessorOptions { + // (undocumented) + options?: (context: ITestContext) => TCompilerOptions; +} + // @public (undocumented) export interface IMultiTaskProcessorOptions { // (undocumented) @@ -473,14 +477,10 @@ export interface IRspackStatsProcessorOptions { // @public (undocumented) export interface IRspackWatchProcessorOptions { - // Warning: (ae-forgotten-export) The symbol "TRspackExperiments" needs to be exported by the entry point index.d.ts - // // (undocumented) experiments?: TRspackExperiments; // (undocumented) name: string; - // Warning: (ae-forgotten-export) The symbol "TRspackOptimization" needs to be exported by the entry point index.d.ts - // // (undocumented) optimization?: TRspackOptimization; // (undocumented) @@ -1106,6 +1106,12 @@ export type TModuleObject = { // @public (undocumented) export type TModuleTypeId = "normal" | "runtime"; +// @public (undocumented) +type TRspackExperiments = TCompilerOptions["experiments"]; + +// @public (undocumented) +type TRspackOptimization = TCompilerOptions["optimization"]; + // @public (undocumented) export interface TRunnerFactory { // (undocumented) diff --git a/packages/rspack/etc/api.md b/packages/rspack/etc/api.md index 8b289420091..ad95b43566a 100644 --- a/packages/rspack/etc/api.md +++ b/packages/rspack/etc/api.md @@ -78,17 +78,82 @@ import type { WatchOptions as WatchOptions_2 } from 'watchpack'; import type * as webpackDevServer from 'webpack-dev-server'; import { z } from 'zod'; -// Warning: (ae-forgotten-export) The symbol "amdContainer" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const ABSOLUTE_PUBLIC_PATH = "webpack:///mini-css-extract-plugin/"; + +// @public (undocumented) +interface AdditionalData { + // (undocumented) + [index: string]: any; +} + +// @public (undocumented) +type AffectedHooks = keyof Compiler["hooks"]; + +// @public (undocumented) +interface AmdConfig extends BaseModuleConfig { + // (undocumented) + moduleId?: string; + // (undocumented) + type: "amd"; +} + // @public (undocumented) export type AmdContainer = z.infer; +// @public (undocumented) +const amdContainer: z.ZodString; + +// @public (undocumented) +type Any = any; + +// @public (undocumented) +const APIPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type Append = { + 0: [U]; + 1: [T[0], U]; + 2: [T[0], T[1], U]; + 3: [T[0], T[1], T[2], U]; + 4: [T[0], T[1], T[2], T[3], U]; + 5: [T[0], T[1], T[2], T[3], T[4], U]; + 6: [T[0], T[1], T[2], T[3], T[4], T[5], U]; + 7: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], U]; + 8: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], T[7], U]; +}[Measure]; + // @public (undocumented) export const applyRspackOptionsBaseDefaults: (options: RspackOptionsNormalized) => void; // @public (undocumented) export const applyRspackOptionsDefaults: (options: RspackOptionsNormalized) => void; +// @public (undocumented) +type ArgumentNames = FixedSizeArray; + +// @public (undocumented) +const ArrayPushCallbackChunkFormatPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type AsArray = T extends any[] ? T : [T]; + // @public const asRegExp: (test: string | RegExp) => RegExp; @@ -102,77 +167,367 @@ export interface Asset { source: Source; } -// Warning: (ae-forgotten-export) The symbol "assetGeneratorDataUrl" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +interface AssetEmittedInfo { + // (undocumented) + compilation: Compilation; + // (undocumented) + content: Buffer; + // (undocumented) + outputPath: string; + // (undocumented) + source: Source; + // (undocumented) + targetPath: string; +} + // @public (undocumented) export type AssetGeneratorDataUrl = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetGeneratorDataUrlFunction" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{ + encoding: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; +}, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; +}>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; + // @public (undocumented) export type AssetGeneratorDataUrlFunction = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetGeneratorDataUrlOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetGeneratorDataUrlFunction: z.ZodFunction], z.ZodUnknown>, z.ZodString>; + // @public (undocumented) export type AssetGeneratorDataUrlOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetGeneratorOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetGeneratorDataUrlOptions: z.ZodObject<{ + encoding: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; +}, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; +}>; + // @public (undocumented) export type AssetGeneratorOptions = z.infer; +// @public (undocumented) +const assetGeneratorOptions: z.ZodObject<{ + dataUrl: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + emit: z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; +}, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; +}, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; +}>; + // @public (undocumented) export type AssetInfo = Partial & Record; -// Warning: (ae-forgotten-export) The symbol "assetInlineGeneratorOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type AssetInlineGeneratorOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetModuleFilename" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetInlineGeneratorOptions: z.ZodObject<{ + dataUrl: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; +}, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; +}, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; +}>; + // @public (undocumented) export type AssetModuleFilename = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetParserDataUrl" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetModuleFilename: z.ZodString; + +// @public (undocumented) +const AssetModulesPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + // @public (undocumented) export type AssetParserDataUrl = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetParserDataUrlOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetParserDataUrl: z.ZodObject<{ + maxSize: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + maxSize?: number | undefined; +}, { + maxSize?: number | undefined; +}>; + // @public (undocumented) export type AssetParserDataUrlOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetParserOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetParserDataUrlOptions: z.ZodObject<{ + maxSize: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + maxSize?: number | undefined; +}, { + maxSize?: number | undefined; +}>; + // @public (undocumented) export type AssetParserOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "assetResourceGeneratorOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const assetParserOptions: z.ZodObject<{ + dataUrlCondition: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + maxSize?: number | undefined; + }, { + maxSize?: number | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; +}, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; +}>; + // @public (undocumented) export type AssetResourceGeneratorOptions = z.infer; +// @public (undocumented) +const assetResourceGeneratorOptions: z.ZodObject<{ + emit: z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; +}, "strict", z.ZodTypeAny, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; +}, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; +}>; + // @public (undocumented) export type Assets = Record; -// Warning: (ae-forgotten-export) The symbol "asyncChunks" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type AsyncChunks = z.infer; -// Warning: (ae-forgotten-export) The symbol "auxiliaryComment" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const asyncChunks: z.ZodBoolean; + +// @public (undocumented) +class AsyncParallelHook extends Hook { + // (undocumented) + callAsyncStageRange(queried: QueriedHook, ...args: Append, Callback>): void; + // (undocumented) + tapAsync(options: Options, fn: FnWithCallback): void; + // (undocumented) + tapPromise(options: Options, fn: Fn): void; +} + +// @public (undocumented) +class AsyncSeriesBailHook extends Hook { + // (undocumented) + callAsyncStageRange(queried: QueriedHook, ...args: Append, Callback>): void; + // (undocumented) + tapAsync(options: Options, fn: FnWithCallback): void; + // (undocumented) + tapPromise(options: Options, fn: Fn): void; +} + +// @public (undocumented) +class AsyncSeriesHook extends Hook { + // (undocumented) + callAsyncStageRange(queried: QueriedHook, ...args: Append, Callback>): void; + // (undocumented) + tapAsync(options: Options, fn: FnWithCallback): void; + // (undocumented) + tapPromise(options: Options, fn: Fn): void; +} + +// @public (undocumented) +const AsyncWebAssemblyModulesPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +const AUTO_PUBLIC_PATH = "__mini_css_extract_plugin_public_path_auto__"; + // @public (undocumented) export type AuxiliaryComment = z.infer; -// Warning: (ae-forgotten-export) The symbol "bail" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const auxiliaryComment: z.ZodUnion<[z.ZodString, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; +}, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; +}>]>; + // @public (undocumented) export type Bail = z.infer; +// @public (undocumented) +const bail: z.ZodBoolean; + +// @public (undocumented) +type BannerContent = z.infer; + +// @public (undocumented) +const bannerContent: z.ZodUnion<[z.ZodString, z.ZodFunction; + filename: z.ZodString; +}, "strip", z.ZodTypeAny, { + hash: string; + chunk: JsChunk; + filename: string; +}, { + hash: string; + chunk: JsChunk; + filename: string; +}>], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +type BannerFunction = z.infer; + +// @public (undocumented) +const bannerFunction: z.ZodFunction; + filename: z.ZodString; +}, "strip", z.ZodTypeAny, { + hash: string; + chunk: JsChunk; + filename: string; +}, { + hash: string; + chunk: JsChunk; + filename: string; +}>], z.ZodUnknown>, z.ZodString>; + // @public (undocumented) export const BannerPlugin: { new (args: string | ((args_0: { @@ -204,77 +559,571 @@ export const BannerPlugin: { }; }; -// Warning: (ae-forgotten-export) The symbol "bannerPluginArgument" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type BannerPluginArgument = z.infer; -// Warning: (ae-forgotten-export) The symbol "baseUri" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type BaseUri = z.infer; - -// Warning: (ae-forgotten-export) The symbol "builtins" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type Builtins = z.infer; +const bannerPluginArgument: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction; + filename: z.ZodString; +}, "strip", z.ZodTypeAny, { + hash: string; + chunk: JsChunk; + filename: string; +}, { + hash: string; + chunk: JsChunk; + filename: string; +}>], z.ZodUnknown>, z.ZodString>]>, z.ZodObject<{ + banner: z.ZodUnion<[z.ZodString, z.ZodFunction; + filename: z.ZodString; + }, "strip", z.ZodTypeAny, { + hash: string; + chunk: JsChunk; + filename: string; + }, { + hash: string; + chunk: JsChunk; + filename: string; + }>], z.ZodUnknown>, z.ZodString>]>; + entryOnly: z.ZodOptional; + exclude: z.ZodOptional]>, z.ZodArray]>, "many">]>>; + include: z.ZodOptional]>, z.ZodArray]>, "many">]>>; + raw: z.ZodOptional; + footer: z.ZodOptional; + test: z.ZodOptional]>, z.ZodArray]>, "many">]>>; +}, "strict", z.ZodTypeAny, { + banner: (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string)) & (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string) | undefined); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; +}, { + banner: (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string)) & (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string) | undefined); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; +}>]>; -// Warning: (ae-forgotten-export) The symbol "cacheOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type CacheOptions = z.infer; +type BannerPluginOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "chunkFilename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ChunkFilename = z.infer; +const bannerPluginOptions: z.ZodObject<{ + banner: z.ZodUnion<[z.ZodString, z.ZodFunction; + filename: z.ZodString; + }, "strip", z.ZodTypeAny, { + hash: string; + chunk: JsChunk; + filename: string; + }, { + hash: string; + chunk: JsChunk; + filename: string; + }>], z.ZodUnknown>, z.ZodString>]>; + entryOnly: z.ZodOptional; + exclude: z.ZodOptional]>, z.ZodArray]>, "many">]>>; + include: z.ZodOptional]>, z.ZodArray]>, "many">]>>; + raw: z.ZodOptional; + footer: z.ZodOptional; + test: z.ZodOptional]>, z.ZodArray]>, "many">]>>; +}, "strict", z.ZodTypeAny, { + banner: (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string)) & (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string) | undefined); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; +}, { + banner: (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string)) & (string | ((args_0: { + hash: string; + chunk: JsChunk; + filename: string; + }, ...args_1: unknown[]) => string) | undefined); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; +}>; -// Warning: (ae-forgotten-export) The symbol "chunkFormat" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ChunkFormat = z.infer; +const BASE_URI = "webpack://"; // @public (undocumented) -export class ChunkGroup { - protected constructor(inner: JsChunkGroup, compilation: JsCompilation); - // (undocumented) - static __from_binding(chunk: JsChunkGroup, compilation: JsCompilation): ChunkGroup; - // (undocumented) - __internal_inner_compilation(): JsCompilation; - // (undocumented) - __internal_inner_ukey(): number; - // (undocumented) - getFiles(): string[]; - // (undocumented) - getParents(): ChunkGroup[]; +interface BaseModuleConfig { // (undocumented) - get index(): number | undefined; + allowTopLevelThis?: boolean; + exportInteropAnnotation?: boolean; + ignoreDynamic?: boolean; + importInterop?: "swc" | "babel" | "node" | "none"; + lazy?: boolean | string[]; + // @deprecated (undocumented) + noInterop?: boolean; // (undocumented) - get name(): string | undefined; + preserveImportMeta?: boolean; + strict?: boolean; + strictMode?: boolean; } -// Warning: (ae-forgotten-export) The symbol "chunkLoading" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type ChunkLoading = z.infer; - -// Warning: (ae-forgotten-export) The symbol "chunkLoadingGlobal" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ChunkLoadingGlobal = z.infer; - -// Warning: (ae-forgotten-export) The symbol "chunkLoadingType" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type ChunkLoadingType = z.infer; - -// Warning: (ae-forgotten-export) The symbol "clean" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type Clean = z.infer; +const baseResolveOptions: z.ZodObject<{ + alias: z.ZodOptional, z.ZodString]>, z.ZodArray]>, "many">]>>>; + browserField: z.ZodEffects, boolean | undefined, boolean | undefined>; + conditionNames: z.ZodOptional>; + extensions: z.ZodOptional>; + fallback: z.ZodOptional, z.ZodString]>, z.ZodArray]>, "many">]>>>; + mainFields: z.ZodOptional>; + mainFiles: z.ZodOptional>; + modules: z.ZodOptional>; + preferRelative: z.ZodOptional; + preferAbsolute: z.ZodOptional; + symlinks: z.ZodOptional; + tsConfigPath: z.ZodOptional; + tsConfig: z.ZodOptional, z.ZodLiteral<"auto">]>>; + }, "strict", z.ZodTypeAny, { + configFile: string; + references?: string[] | "auto" | undefined; + }, { + configFile: string; + references?: string[] | "auto" | undefined; + }>>; + fullySpecified: z.ZodOptional; + exportsFields: z.ZodOptional>; + extensionAlias: z.ZodOptional]>>>; + aliasFields: z.ZodOptional>; + restrictions: z.ZodOptional>; + roots: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + alias?: Record | undefined; + browserField?: boolean | undefined; + conditionNames?: string[] | undefined; + extensions?: string[] | undefined; + fallback?: Record | undefined; + mainFields?: string[] | undefined; + mainFiles?: string[] | undefined; + modules?: string[] | undefined; + preferRelative?: boolean | undefined; + preferAbsolute?: boolean | undefined; + symlinks?: boolean | undefined; + tsConfigPath?: string | undefined; + tsConfig?: { + configFile: string; + references?: string[] | "auto" | undefined; + } | undefined; + fullySpecified?: boolean | undefined; + exportsFields?: string[] | undefined; + extensionAlias?: Record | undefined; + aliasFields?: string[] | undefined; + restrictions?: string[] | undefined; + roots?: string[] | undefined; +}, { + alias?: Record | undefined; + browserField?: boolean | undefined; + conditionNames?: string[] | undefined; + extensions?: string[] | undefined; + fallback?: Record | undefined; + mainFields?: string[] | undefined; + mainFiles?: string[] | undefined; + modules?: string[] | undefined; + preferRelative?: boolean | undefined; + preferAbsolute?: boolean | undefined; + symlinks?: boolean | undefined; + tsConfigPath?: string | undefined; + tsConfig?: { + configFile: string; + references?: string[] | "auto" | undefined; + } | undefined; + fullySpecified?: boolean | undefined; + exportsFields?: string[] | undefined; + extensionAlias?: Record | undefined; + aliasFields?: string[] | undefined; + restrictions?: string[] | undefined; + roots?: string[] | undefined; +}>; // @public (undocumented) -export class Compilation { +const baseRuleSetCondition: z.ZodUnion<[z.ZodUnion<[z.ZodType, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>; + +// @public (undocumented) +const baseRuleSetRule: z.ZodObject<{ + test: z.ZodOptional>; + exclude: z.ZodOptional>; + include: z.ZodOptional>; + issuer: z.ZodOptional>; + dependency: z.ZodOptional>; + resource: z.ZodOptional>; + resourceFragment: z.ZodOptional>; + resourceQuery: z.ZodOptional>; + scheme: z.ZodOptional>; + mimetype: z.ZodOptional>; + descriptionData: z.ZodOptional>>; + type: z.ZodOptional; + loader: z.ZodOptional; + options: z.ZodOptional]>>; + use: z.ZodOptional; + loader: z.ZodString; + options: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + }, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + }>]>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + }, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + }>]>, "many">]>, z.ZodFunction], z.ZodUnknown>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + }, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + }>]>, "many">>]>>; + parser: z.ZodOptional>; + generator: z.ZodOptional>; + resolve: z.ZodOptional>; + sideEffects: z.ZodOptional; + enforce: z.ZodOptional, z.ZodLiteral<"post">]>>; +}, "strict", z.ZodTypeAny, { + test?: RuleSetCondition | undefined; + exclude?: RuleSetCondition | undefined; + include?: RuleSetCondition | undefined; + issuer?: RuleSetCondition | undefined; + dependency?: RuleSetCondition | undefined; + resource?: RuleSetCondition | undefined; + resourceFragment?: RuleSetCondition | undefined; + resourceQuery?: RuleSetCondition | undefined; + scheme?: RuleSetCondition | undefined; + mimetype?: RuleSetCondition | undefined; + descriptionData?: Record | undefined; + type?: string | undefined; + loader?: string | undefined; + options?: string | Record | undefined; + use?: string | { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + } | (string | { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + })[] | ((args_0: RawFuncUseCtx, ...args_1: unknown[]) => (string | { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + })[]) | undefined; + parser?: Record | undefined; + generator?: Record | undefined; + resolve?: ResolveOptions | undefined; + sideEffects?: boolean | undefined; + enforce?: "pre" | "post" | undefined; +}, { + test?: RuleSetCondition | undefined; + exclude?: RuleSetCondition | undefined; + include?: RuleSetCondition | undefined; + issuer?: RuleSetCondition | undefined; + dependency?: RuleSetCondition | undefined; + resource?: RuleSetCondition | undefined; + resourceFragment?: RuleSetCondition | undefined; + resourceQuery?: RuleSetCondition | undefined; + scheme?: RuleSetCondition | undefined; + mimetype?: RuleSetCondition | undefined; + descriptionData?: Record | undefined; + type?: string | undefined; + loader?: string | undefined; + options?: string | Record | undefined; + use?: string | { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + } | (string | { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + })[] | ((args_0: RawFuncUseCtx, ...args_1: unknown[]) => (string | { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; + })[]) | undefined; + parser?: Record | undefined; + generator?: Record | undefined; + resolve?: ResolveOptions | undefined; + sideEffects?: boolean | undefined; + enforce?: "pre" | "post" | undefined; +}>; + +// @public (undocumented) +export type BaseUri = z.infer; + +// @public (undocumented) +const baseUri: z.ZodString; + +// @public (undocumented) +export type Builtins = z.infer; + +// @public (undocumented) +const builtins: z.ZodType; + +// @public (undocumented) +interface Builtins_2 { + // (undocumented) + treeShaking?: boolean | "module"; +} + +// @public (undocumented) +type BundleInfoOptions = { + version?: string; + force?: boolean | string[]; +}; + +// @public (undocumented) +const BundlerInfoRspackPlugin: { + new (options: BundleInfoOptions): { + name: BuiltinPluginName; + _options: RawBundlerInfoPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type CacheHookMap = Map[]>; + +// @public (undocumented) +export type CacheOptions = z.infer; + +// @public (undocumented) +const cacheOptions: z.ZodBoolean; + +// @public (undocumented) +type Callback = (error: E | null, result?: T) => void; + +// @public (undocumented) +type CallFn = (...args: any[]) => any; + +// @public (undocumented) +type CallFn_2 = (args: D[]) => void; + +// @public (undocumented) +class Chunk { + constructor(chunk: JsChunk, compilation: JsCompilation); + // (undocumented) + static __from_binding(chunk: JsChunk, compilation: Compilation): Chunk; + // (undocumented) + static __from_binding(chunk: JsChunk, compilation: JsCompilation): Chunk; + // (undocumented) + __internal_inner_ukey(): number; + // (undocumented) + auxiliaryFiles: Array; + // (undocumented) + canBeInitial(): boolean; + // (undocumented) + chunkReasons: Array; + // (undocumented) + contentHash: Record; + // (undocumented) + cssFilenameTemplate?: string; + // (undocumented) + filenameTemplate?: string; + // (undocumented) + files: Array; + // (undocumented) + getAllAsyncChunks(): Iterable; + // (undocumented) + getAllInitialChunks(): Iterable; + // (undocumented) + getAllReferencedChunks(): Iterable; + // (undocumented) + get groupsIterable(): Iterable; + // (undocumented) + hash?: string; + // (undocumented) + hasRuntime(): boolean; + // (undocumented) + id?: string; + // (undocumented) + idNameHints: Array; + // (undocumented) + ids: Array; + // (undocumented) + isOnlyInitial(): boolean; + // (undocumented) + name?: string; + // (undocumented) + renderedHash?: string; + // (undocumented) + runtime: Array; +} + +// @public (undocumented) +export type ChunkFilename = z.infer; + +// @public (undocumented) +const chunkFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +export type ChunkFormat = z.infer; + +// @public (undocumented) +const chunkFormat: z.ZodUnion<[z.ZodLiteral, z.ZodString]>; + +// @public (undocumented) +class ChunkGraph { + constructor(compilation: Compilation); + // (undocumented) + getChunkEntryDependentChunksIterable(chunk: Chunk): Iterable; + // (undocumented) + getChunkEntryModulesIterable(chunk: Chunk): Iterable; + // (undocumented) + getChunkModules(chunk: Chunk): Module[]; + // (undocumented) + getChunkModulesIterable(chunk: Chunk): Iterable; + // (undocumented) + getChunkModulesIterableBySourceType(chunk: Chunk, sourceType: string): Iterable; +} + +// @public (undocumented) +export class ChunkGroup { + protected constructor(inner: JsChunkGroup, compilation: JsCompilation); + // (undocumented) + static __from_binding(chunk: JsChunkGroup, compilation: JsCompilation): ChunkGroup; + // (undocumented) + __internal_inner_compilation(): JsCompilation; + // (undocumented) + __internal_inner_ukey(): number; + // (undocumented) + getFiles(): string[]; + // (undocumented) + getParents(): ChunkGroup[]; + // (undocumented) + get index(): number | undefined; + // (undocumented) + get name(): string | undefined; +} + +// @public (undocumented) +export type ChunkLoading = z.infer; + +// @public (undocumented) +const chunkLoading: z.ZodUnion<[z.ZodLiteral, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>; + +// @public (undocumented) +export type ChunkLoadingGlobal = z.infer; + +// @public (undocumented) +const chunkLoadingGlobal: z.ZodString; + +// @public (undocumented) +export type ChunkLoadingType = z.infer; + +// @public (undocumented) +const chunkLoadingType: z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>; + +// @public (undocumented) +const ChunkPrefetchPreloadPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type Clean = z.infer; + +// @public (undocumented) +const clean: z.ZodBoolean; + +// @public (undocumented) +class CodeGenerationResult { + constructor(result: JsCodegenerationResult); + // (undocumented) + get(sourceType: string): string; +} + +// @public (undocumented) +const CommonJsChunkFormatPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +interface CommonJsConfig extends BaseModuleConfig { + // (undocumented) + type: "commonjs"; +} + +// @public (undocumented) +export class Compilation { constructor(compiler: Compiler, inner: JsCompilation); // @internal __internal__deleteAssetSource(filename: string): void; @@ -310,8 +1159,6 @@ export class Compilation { children: Compilation[]; // (undocumented) childrenCounters: Record; - // Warning: (ae-forgotten-export) The symbol "ChunkGraph" needs to be exported by the entry point index.d.ts - // // (undocumented) chunkGraph: ChunkGraph; // (undocumented) @@ -329,8 +1176,6 @@ export class Compilation { createChildCompiler(name: string, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; // (undocumented) createStatsFactory(options: StatsOptions): StatsFactory; - // Warning: (ae-forgotten-export) The symbol "CreateStatsOptionsContext" needs to be exported by the entry point index.d.ts - // // (undocumented) createStatsOptions(optionsOrPreset: StatsValue | undefined, context?: CreateStatsOptionsContext): StatsOptions; // (undocumented) @@ -346,7 +1191,6 @@ export class Compilation { emitAsset(filename: string, source: Source, assetInfo?: AssetInfo): void; // (undocumented) endTime?: number; - // Warning: (ae-forgotten-export) The symbol "Entrypoint" needs to be exported by the entry point index.d.ts get entrypoints(): ReadonlyMap; // (undocumented) get errors(): any; @@ -372,12 +1216,8 @@ export class Compilation { getAssets(): Readonly[]; // (undocumented) getCache(name: string): libCacheFacade; - // Warning: (ae-forgotten-export) The symbol "Logger" needs to be exported by the entry point index.d.ts - // // (undocumented) getLogger(name: string | (() => string)): Logger; - // Warning: (ae-forgotten-export) The symbol "PathData" needs to be exported by the entry point index.d.ts - // // (undocumented) getPath(filename: Filename, data?: PathData): string; // (undocumented) @@ -474,8 +1314,6 @@ export class Compilation { pushDiagnostic(severity: "error" | "warning", title: string, message: string): void; // (undocumented) rebuildModule(m: Module, f: (err: Error, m: Module) => void): void; - // Warning: (ae-forgotten-export) The symbol "MergeCaller" needs to be exported by the entry point index.d.ts - // // (undocumented) _rebuildModuleCaller: MergeCaller<[string, (err: Error, m: Module) => void]>; // (undocumented) @@ -495,8 +1333,6 @@ export class Compilation { // @public (undocumented) export interface CompilationParams { - // Warning: (ae-forgotten-export) The symbol "ContextModuleFactory" needs to be exported by the entry point index.d.ts - // // (undocumented) contextModuleFactory: ContextModuleFactory; // (undocumented) @@ -532,8 +1368,6 @@ export class Compiler { contextTimestamps?: ReadonlyMap; // (undocumented) createChildCompiler(compilation: Compilation, compilerName: string, compilerIndex: number, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; - // Warning: (ae-forgotten-export) The symbol "FileSystemInfoEntry_2" needs to be exported by the entry point index.d.ts - // // (undocumented) fileTimestamps?: ReadonlyMap; // (undocumented) @@ -604,8 +1438,6 @@ export class Compiler { resolverFactory: ResolverFactory; // (undocumented) root: Compiler; - // Warning: (ae-forgotten-export) The symbol "RuleSetCompiler" needs to be exported by the entry point index.d.ts - // // (undocumented) ruleSet: RuleSetCompiler; // (undocumented) @@ -616,8 +1448,6 @@ export class Compiler { running: boolean; // (undocumented) watch(watchOptions: WatchOptions_2, handler: Callback_2): Watching; - // Warning: (ae-forgotten-export) The symbol "WatchFileSystem" needs to be exported by the entry point index.d.ts - // // (undocumented) watchFileSystem: WatchFileSystem; // (undocumented) @@ -631,14 +1461,38 @@ export class Compiler { }; } -// Warning: (ae-forgotten-export) The symbol "Config" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +type Compiler_3 = Compiler_2; + +// @public (undocumented) +type Compiler_4 = any; + +// @public (undocumented) +type Compiler_5 = any; + +// @public (undocumented) +type Config = { + getNormalizedRspackOptions: typeof getNormalizedRspackOptions; + applyRspackOptionsDefaults: typeof applyRspackOptionsDefaults; + getNormalizedWebpackOptions: typeof getNormalizedRspackOptions; + applyWebpackOptionsDefaults: typeof applyRspackOptionsDefaults; +}; + // @public (undocumented) export const config: Config; // @public (undocumented) export type Configuration = RspackOptions; +// @public +type ConstModulesConfig = { + globals?: { + [module: string]: { + [name: string]: string; + }; + }; +}; + // @public (undocumented) export type Consumes = (ConsumesItem | ConsumesObject)[] | ConsumesObject; @@ -654,6 +1508,29 @@ export type ConsumesConfig = { strictVersion?: boolean; }; +// @public (undocumented) +class ConsumeSharedPlugin extends RspackBuiltinPlugin { + constructor(options: ConsumeSharedPluginOptions); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _options: { + consumes: [string, { + import: string | undefined; + shareScope: string; + shareKey: string; + requiredVersion: string | false | undefined; + strictVersion: boolean; + packageName: string | undefined; + singleton: boolean; + eager: boolean; + }][]; + enhanced: boolean; + }; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + // @public (undocumented) export type ConsumeSharedPluginOptions = { consumes: Consumes; @@ -677,6 +1554,44 @@ export const container: { ModuleFederationPluginV1: typeof ModuleFederationPluginV1; }; +// @public (undocumented) +class ContainerPlugin extends RspackBuiltinPlugin { + constructor(options: ContainerPluginOptions); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _options: { + name: string; + shareScope: string; + library: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }; + runtime: string | false | undefined; + filename: string | undefined; + exposes: [string, { + import: string[]; + name: string | undefined; + }][]; + enhanced: boolean; + }; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + // @public (undocumented) export type ContainerPluginOptions = { exposes: Exposes; @@ -688,6 +1603,24 @@ export type ContainerPluginOptions = { enhanced?: boolean; }; +// @public (undocumented) +class ContainerReferencePlugin extends RspackBuiltinPlugin { + constructor(options: ContainerReferencePluginOptions); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _options: { + remoteType: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs"; + remotes: [string, { + external: string[]; + shareScope: string; + }][]; + enhanced: boolean; + }; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + // @public (undocumented) export type ContainerReferencePluginOptions = { remoteType: ExternalsType; @@ -696,11 +1629,22 @@ export type ContainerReferencePluginOptions = { enhanced?: boolean; }; -// Warning: (ae-forgotten-export) The symbol "context" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type Context = z.infer; +// @public (undocumented) +const context: z.ZodString; + +// @public (undocumented) +class ContextModuleFactory { + constructor(); + // (undocumented) + hooks: { + beforeResolve: liteTapable.AsyncSeriesBailHook<[ResolveData], false | void>; + afterResolve: liteTapable.AsyncSeriesBailHook<[ResolveData], false | void>; + }; +} + // @public (undocumented) export const CopyRspackPlugin: { new (copy: CopyRspackPluginOptions): { @@ -719,26 +1663,54 @@ export type CopyRspackPluginOptions = { } & Partial))[]; }; -// Warning: (ae-forgotten-export) The symbol "crossOriginLoading" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +type CreateData = Partial; + +// @public (undocumented) +type CreateStatsOptionsContext = KnownCreateStatsOptionsContext & Record; + // @public (undocumented) export type CrossOriginLoading = z.infer; -// Warning: (ae-forgotten-export) The symbol "cssAutoGeneratorOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const crossOriginLoading: z.ZodUnion<[z.ZodLiteral, z.ZodEnum<["anonymous", "use-credentials"]>]>; + // @public (undocumented) export type CssAutoGeneratorOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "cssAutoParserOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const cssAutoGeneratorOptions: z.ZodObject<{ + exportsConvention: z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; +}, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; +}>; + // @public (undocumented) export type CssAutoParserOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "cssChunkFilename" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const cssAutoParserOptions: z.ZodObject<{ + namedExports: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; +}, { + namedExports?: boolean | undefined; +}>; + // @public (undocumented) export type CssChunkFilename = z.infer; +// @public (undocumented) +const cssChunkFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + // @public (undocumented) export class CssExtractRspackPlugin { constructor(options?: PluginOptions); @@ -748,425 +1720,1999 @@ export class CssExtractRspackPlugin { static loader: string; // (undocumented) normalizeOptions(options: PluginOptions): RawCssExtractPluginOption; - // Warning: (ae-forgotten-export) The symbol "PluginOptions" needs to be exported by the entry point index.d.ts - // // (undocumented) options: PluginOptions; // (undocumented) static pluginName: string; } -// Warning: (ae-forgotten-export) The symbol "cssFilename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type CssFilename = z.infer; -// Warning: (ae-forgotten-export) The symbol "cssGeneratorExportsConvention" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const cssFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + // @public (undocumented) export type CssGeneratorExportsConvention = z.infer; -// Warning: (ae-forgotten-export) The symbol "cssGeneratorExportsOnly" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type CssGeneratorExportsOnly = z.infer; +const cssGeneratorExportsConvention: z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>; -// Warning: (ae-forgotten-export) The symbol "cssGeneratorLocalIdentName" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type CssGeneratorLocalIdentName = z.infer; +export type CssGeneratorExportsOnly = z.infer; -// Warning: (ae-forgotten-export) The symbol "cssGeneratorOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type CssGeneratorOptions = z.infer; +const cssGeneratorExportsOnly: z.ZodBoolean; -// Warning: (ae-forgotten-export) The symbol "cssModuleGeneratorOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type CssModuleGeneratorOptions = z.infer; - -// Warning: (ae-forgotten-export) The symbol "cssModuleParserOptions" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type CssModuleParserOptions = z.infer; - -// Warning: (ae-forgotten-export) The symbol "cssParserNamedExports" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type CssParserNamedExports = z.infer; - -// Warning: (ae-forgotten-export) The symbol "cssParserOptions" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type CssParserOptions = z.infer; - -// @public (undocumented) -export const DefinePlugin: { - new (define: DefinePluginOptions): { - name: BuiltinPluginName; - _options: Record; - affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type DefinePluginOptions = Record; - -// Warning: (ae-forgotten-export) The symbol "dependencies" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type Dependencies = z.infer; - -// @public (undocumented) -export interface DevServer extends webpackDevServer.Configuration { -} - -// Warning: (ae-forgotten-export) The symbol "devTool" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type DevTool = z.infer; - -// Warning: (ae-forgotten-export) The symbol "devtoolFallbackModuleFilenameTemplate" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type DevtoolFallbackModuleFilenameTemplate = z.infer; - -// Warning: (ae-forgotten-export) The symbol "devtoolModuleFilenameTemplate" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type DevtoolModuleFilenameTemplate = z.infer; - -// Warning: (ae-forgotten-export) The symbol "devtoolNamespace" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type DevtoolNamespace = z.infer; - -// Warning: (ae-forgotten-export) The symbol "Electron" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export const electron: Electron; +export type CssGeneratorLocalIdentName = z.infer; -// Warning: (ae-forgotten-export) The symbol "enabledChunkLoadingTypes" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EnabledChunkLoadingTypes = z.infer; +const cssGeneratorLocalIdentName: z.ZodString; -// Warning: (ae-forgotten-export) The symbol "enabledLibraryTypes" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EnabledLibraryTypes = z.infer; +export type CssGeneratorOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "enabledWasmLoadingTypes" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EnabledWasmLoadingTypes = z.infer; +const cssGeneratorOptions: z.ZodObject<{ + exportsConvention: z.ZodOptional>; + exportsOnly: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; +}, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; +}>; -// Warning: (ae-forgotten-export) The symbol "entry" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Entry = z.infer; +export type CssModuleGeneratorOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "entryDependOn" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryDependOn = z.infer; +const cssModuleGeneratorOptions: z.ZodObject<{ + exportsConvention: z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; +}, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; +}>; -// Warning: (ae-forgotten-export) The symbol "entryDescription" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryDescription = z.infer; +export type CssModuleParserOptions = z.infer; // @public (undocumented) -export interface EntryDescriptionNormalized { - // (undocumented) - asyncChunks?: boolean; - // (undocumented) - baseUri?: string; - // (undocumented) - chunkLoading?: ChunkLoading; - // (undocumented) - dependOn?: string[]; - // (undocumented) - filename?: EntryFilename; - // (undocumented) - import?: string[]; - // (undocumented) - library?: LibraryOptions; - // (undocumented) - publicPath?: PublicPath; - // (undocumented) - runtime?: EntryRuntime; -} +const cssModuleParserOptions: z.ZodObject<{ + namedExports: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; +}, { + namedExports?: boolean | undefined; +}>; -// Warning: (ae-forgotten-export) The symbol "entryFilename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryFilename = z.infer; +const CssModulesPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; -// Warning: (ae-forgotten-export) The symbol "entryItem" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryItem = z.infer; +export type CssParserNamedExports = z.infer; // @public (undocumented) -export type EntryNormalized = EntryStaticNormalized; +const cssParserNamedExports: z.ZodBoolean; -// Warning: (ae-forgotten-export) The symbol "entryObject" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryObject = z.infer; +export type CssParserOptions = z.infer; // @public (undocumented) -export class EntryOptionPlugin { - // (undocumented) - apply(compiler: Compiler): void; - // (undocumented) - static applyEntryOption(compiler: Compiler, context: string, entry: EntryNormalized): void; - // (undocumented) - static entryDescriptionToOptions(compiler: Compiler, name: string, desc: EntryDescriptionNormalized): EntryOptions; -} +const cssParserOptions: z.ZodObject<{ + namedExports: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; +}, { + namedExports?: boolean | undefined; +}>; // @public (undocumented) -export type EntryOptions = { - name?: string; - runtime?: EntryRuntime; - chunkLoading?: ChunkLoading; - asyncChunks?: boolean; - publicPath?: PublicPath; - baseUri?: string; - filename?: FilenameTemplate; - library?: LibraryOptions; - dependOn?: string[]; +const DataUriPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; }; // @public (undocumented) -export const EntryPlugin: { - new (context: string, entry: string, options?: string | EntryOptions | undefined): { +export const DefinePlugin: { + new (define: DefinePluginOptions): { name: BuiltinPluginName; - _options: RawEntryPluginOptions; + _options: Record; affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(): BuiltinPlugin; apply(compiler: Compiler_2): void; }; }; -// Warning: (ae-forgotten-export) The symbol "entryRuntime" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryRuntime = z.infer; +export type DefinePluginOptions = Record; -// Warning: (ae-forgotten-export) The symbol "entryStatic" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryStatic = z.infer; +export type Dependencies = z.infer; // @public (undocumented) -export interface EntryStaticNormalized { - // (undocumented) - [k: string]: EntryDescriptionNormalized; -} +const dependencies: z.ZodArray; -// Warning: (ae-forgotten-export) The symbol "entryUnnamed" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type EntryUnnamed = z.infer; - -// @public -export class EnvironmentPlugin { - constructor(...keys: any[]); - // Warning: (ae-forgotten-export) The symbol "Compiler_5" needs to be exported by the entry point index.d.ts - apply(compiler: Compiler_5): void; - // (undocumented) - defaultValues: any; - // (undocumented) - keys: any[]; -} +function deprecated_resolveBuiltins(builtins: Builtins_2, options: RspackOptionsNormalized): RawBuiltins; // @public (undocumented) -export const EvalDevToolModulePlugin: { - new (options: EvalDevToolModulePluginOptions): { +const DeterministicChunkIdsPlugin: { + new (): { name: BuiltinPluginName; - _options: EvalDevToolModulePluginOptions; + _options: void; affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(): BuiltinPlugin; apply(compiler: Compiler_2): void; }; }; -export { EvalDevToolModulePluginOptions } - // @public (undocumented) -export const EvalSourceMapDevToolPlugin: { - new (options: SourceMapDevToolPluginOptions): { +const DeterministicModuleIdsPlugin: { + new (): { name: BuiltinPluginName; - _options: RawSourceMapDevToolPluginOptions; + _options: void; affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(): BuiltinPlugin; apply(compiler: Compiler_2): void; }; }; -export { experimental_cleanupGlobalTrace } - -export { experimental_registerGlobalTrace } - -// Warning: (ae-forgotten-export) The symbol "experiments" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Experiments = z.infer; - -// @public (undocumented) -export interface ExperimentsNormalized { - // (undocumented) - asyncWebAssembly?: boolean; - // (undocumented) - css?: boolean; - // (undocumented) - futureDefaults?: boolean; - // (undocumented) - lazyCompilation?: boolean; - // (undocumented) - newSplitChunks?: boolean; - // (undocumented) - outputModule?: boolean; - // (undocumented) - rspackFuture?: RspackFutureOptions; - // (undocumented) - topLevelAwait?: boolean; +export interface DevServer extends webpackDevServer.Configuration { } // @public (undocumented) -export type Exposes = (ExposesItem | ExposesObject)[] | ExposesObject; +export type DevTool = z.infer; // @public (undocumented) -export type ExposesConfig = { - import: ExposesItem | ExposesItems; - name?: string; -}; +const devTool: z.ZodUnion<[z.ZodLiteral, 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"]>]>; // @public (undocumented) -export type ExposesItem = string; +export type DevtoolFallbackModuleFilenameTemplate = z.infer; // @public (undocumented) -export type ExposesItems = ExposesItem[]; +const devtoolFallbackModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodAny>]>; // @public (undocumented) -export type ExposesObject = { - [k: string]: ExposesConfig | ExposesItem | ExposesItems; -}; +export type DevtoolModuleFilenameTemplate = z.infer; -// Warning: (ae-forgotten-export) The symbol "externalItem" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ExternalItem = z.infer; +const devtoolModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodAny>]>; -// Warning: (ae-forgotten-export) The symbol "externalItemFunctionData" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ExternalItemFunctionData = z.infer; +export type DevtoolNamespace = z.infer; -// Warning: (ae-forgotten-export) The symbol "externalItemObjectUnknown" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ExternalItemObjectUnknown = z.infer; +const devtoolNamespace: z.ZodString; -// Warning: (ae-forgotten-export) The symbol "externalItemValue" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ExternalItemValue = z.infer; +interface Electron { + // (undocumented) + ElectronTargetPlugin: typeof ElectronTargetPlugin; +} -// Warning: (ae-forgotten-export) The symbol "externals" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Externals = z.infer; +export const electron: Electron; // @public (undocumented) -export const ExternalsPlugin: { - new (type: string, externals: string | RegExp | Record> | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - }, ...args_1: unknown[]) => Promise>) | (string | RegExp | Record> | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - }, ...args_1: unknown[]) => Promise>))[]): { +const ElectronTargetPlugin: { + new (context?: string | undefined): { name: BuiltinPluginName; - _options: RawExternalsPluginOptions; + _options: string; affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(): BuiltinPlugin; apply(compiler: Compiler_2): void; }; }; -// Warning: (ae-forgotten-export) The symbol "externalsPresets" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type ExternalsPresets = z.infer; - // @public (undocumented) -export type ExternalsType = z.infer; +type EmotionConfig = { + sourceMap?: boolean; + autoLabel?: "never" | "dev-only" | "always"; + labelFormat?: string; + importMap?: EmotionConfigImportMap; +}; // @public (undocumented) -export 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"]>; +type EmotionConfigImportMap = { + [packageName: string]: { + [exportName: string]: { + canonicalImport?: [string, string]; + }; + }; +}; -// Warning: (ae-forgotten-export) The symbol "falsy" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Falsy = z.infer; +type EmotionOptions = boolean | EmotionConfig | undefined; -// Warning: (ae-forgotten-export) The symbol "filename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Filename = z.infer; +const EnableChunkLoadingPlugin: { + new (type: any): { + name: BuiltinPluginName; + _options: any; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; -// Warning: (ae-forgotten-export) The symbol "filenameTemplate" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type FilenameTemplate = z.infer; +export type EnabledChunkLoadingTypes = z.infer; -// Warning: (ae-forgotten-export) The symbol "filterItemTypes" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type FilterItemTypes = z.infer; +const enabledChunkLoadingTypes: z.ZodArray, z.ZodString]>, "many">; -// Warning: (ae-forgotten-export) The symbol "filterTypes" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type FilterTypes = z.infer; +export type EnabledLibraryTypes = z.infer; -// Warning: (ae-forgotten-export) The symbol "generatorOptionsByModuleType" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type GeneratorOptionsByModuleType = z.infer; +const enabledLibraryTypes: z.ZodArray, z.ZodString]>, "many">; -// Warning: (ae-forgotten-export) The symbol "generatorOptionsByModuleTypeKnown" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type GeneratorOptionsByModuleTypeKnown = z.infer; +export type EnabledWasmLoadingTypes = z.infer; -// Warning: (ae-forgotten-export) The symbol "generatorOptionsByModuleTypeUnknown" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type GeneratorOptionsByModuleTypeUnknown = z.infer; +const enabledWasmLoadingTypes: z.ZodArray, z.ZodString]>, "many">; // @public (undocumented) -export const getNormalizedRspackOptions: (config: RspackOptions) => RspackOptionsNormalized; +class EnableLibraryPlugin extends RspackBuiltinPlugin { + constructor(type: LibraryType); + // (undocumented) + static checkEnabled(compiler: Compiler, type: LibraryType): void; + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin | undefined; + // (undocumented) + static setEnabled(compiler: Compiler, type: LibraryType): void; +} // @public (undocumented) -export function getRawChunkLoading(chunkLoading: ChunkLoading): string; - +const EnableWasmLoadingPlugin: { + new (type: any): { + name: BuiltinPluginName; + _options: any; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +const EnsureChunkConditionsPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type Entry = z.infer; + +// @public (undocumented) +const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodString]>>; + baseUri: z.ZodOptional; + chunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + asyncChunks: z.ZodOptional; + wasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + filename: z.ZodOptional; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodString]>>; + baseUri: z.ZodOptional; + chunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + asyncChunks: z.ZodOptional; + wasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + filename: z.ZodOptional; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>; + +// @public (undocumented) +export type EntryDependOn = z.infer; + +// @public (undocumented) +const entryDependOn: z.ZodUnion<[z.ZodString, z.ZodArray]>; + +// @public (undocumented) +export type EntryDescription = z.infer; + +// @public (undocumented) +const entryDescription: z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodString]>>; + baseUri: z.ZodOptional; + chunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + asyncChunks: z.ZodOptional; + wasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + filename: z.ZodOptional; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>; + +// @public (undocumented) +export interface EntryDescriptionNormalized { + // (undocumented) + asyncChunks?: boolean; + // (undocumented) + baseUri?: string; + // (undocumented) + chunkLoading?: ChunkLoading; + // (undocumented) + dependOn?: string[]; + // (undocumented) + filename?: EntryFilename; + // (undocumented) + import?: string[]; + // (undocumented) + library?: LibraryOptions; + // (undocumented) + publicPath?: PublicPath; + // (undocumented) + runtime?: EntryRuntime; +} + +// @public (undocumented) +export type EntryFilename = z.infer; + +// @public (undocumented) +const entryFilename: z.ZodString; + +// @public (undocumented) +export type EntryItem = z.infer; + +// @public (undocumented) +const entryItem: z.ZodUnion<[z.ZodString, z.ZodArray]>; + +// @public (undocumented) +export type EntryNormalized = EntryStaticNormalized; + +// @public (undocumented) +export type EntryObject = z.infer; + +// @public (undocumented) +const entryObject: z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodString]>>; + baseUri: z.ZodOptional; + chunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + asyncChunks: z.ZodOptional; + wasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + filename: z.ZodOptional; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>; + +// @public (undocumented) +export class EntryOptionPlugin { + // (undocumented) + apply(compiler: Compiler): void; + // (undocumented) + static applyEntryOption(compiler: Compiler, context: string, entry: EntryNormalized): void; + // (undocumented) + static entryDescriptionToOptions(compiler: Compiler, name: string, desc: EntryDescriptionNormalized): EntryOptions; +} + +// @public (undocumented) +export type EntryOptions = { + name?: string; + runtime?: EntryRuntime; + chunkLoading?: ChunkLoading; + asyncChunks?: boolean; + publicPath?: PublicPath; + baseUri?: string; + filename?: FilenameTemplate; + library?: LibraryOptions; + dependOn?: string[]; +}; + +// @public (undocumented) +export const EntryPlugin: { + new (context: string, entry: string, options?: string | EntryOptions | undefined): { + name: BuiltinPluginName; + _options: RawEntryPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +class Entrypoint extends ChunkGroup { + protected constructor(inner: JsChunkGroup, compilation: JsCompilation); + // (undocumented) + static __from_binding(chunk: JsChunkGroup, compilation: JsCompilation): Entrypoint; + // (undocumented) + getRuntimeChunk(): Chunk | null; +} + +// @public (undocumented) +export type EntryRuntime = z.infer; + +// @public (undocumented) +const entryRuntime: z.ZodUnion<[z.ZodLiteral, z.ZodString]>; + +// @public (undocumented) +export type EntryStatic = z.infer; + +// @public (undocumented) +const entryStatic: z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodString]>>; + baseUri: z.ZodOptional; + chunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + asyncChunks: z.ZodOptional; + wasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + filename: z.ZodOptional; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: (string | string[]) & (string | string[] | undefined); + runtime?: string | false | undefined; + publicPath?: string | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + filename?: string | undefined; + library?: { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>; + +// @public (undocumented) +export interface EntryStaticNormalized { + // (undocumented) + [k: string]: EntryDescriptionNormalized; +} + +// @public (undocumented) +export type EntryUnnamed = z.infer; + +// @public (undocumented) +const entryUnnamed: z.ZodUnion<[z.ZodString, z.ZodArray]>; + +// @public +export class EnvironmentPlugin { + constructor(...keys: any[]); + apply(compiler: Compiler_5): void; + // (undocumented) + defaultValues: any; + // (undocumented) + keys: any[]; +} + +// @public (undocumented) +interface Es6Config extends BaseModuleConfig { + // (undocumented) + type: "es6"; +} + +// @public (undocumented) +export const EvalDevToolModulePlugin: { + new (options: EvalDevToolModulePluginOptions): { + name: BuiltinPluginName; + _options: EvalDevToolModulePluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +export { EvalDevToolModulePluginOptions } + +// @public (undocumented) +export const EvalSourceMapDevToolPlugin: { + new (options: SourceMapDevToolPluginOptions): { + name: BuiltinPluginName; + _options: RawSourceMapDevToolPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +interface ExecuteModuleArgument { + // (undocumented) + codeGenerationResult: CodeGenerationResult; + // (undocumented) + moduleObject: { + id: string; + exports: any; + loaded: boolean; + error?: Error; + }; +} + +// @public (undocumented) +interface ExecuteModuleContext { + // (undocumented) + __webpack_require__: (id: string) => any; +} + +export { experimental_cleanupGlobalTrace } + +export { experimental_registerGlobalTrace } + +// @public (undocumented) +export type Experiments = z.infer; + +// @public (undocumented) +const experiments: z.ZodObject<{ + lazyCompilation: z.ZodOptional; + asyncWebAssembly: z.ZodOptional; + outputModule: z.ZodOptional; + topLevelAwait: z.ZodOptional; + newSplitChunks: z.ZodEffects, boolean | undefined, boolean | undefined>; + css: z.ZodOptional; + futureDefaults: z.ZodOptional; + rspackFuture: z.ZodOptional; + bundlerInfo: z.ZodOptional; + force: z.ZodOptional, "many">]>>; + }, "strict", z.ZodTypeAny, { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + }, { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + newTreeshaking?: boolean | undefined; + bundlerInfo?: { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + } | undefined; + }, { + newTreeshaking?: boolean | undefined; + bundlerInfo?: { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + } | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + lazyCompilation?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + newSplitChunks?: boolean | undefined; + css?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + newTreeshaking?: boolean | undefined; + bundlerInfo?: { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + } | undefined; + } | undefined; +}, { + lazyCompilation?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + newSplitChunks?: boolean | undefined; + css?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + newTreeshaking?: boolean | undefined; + bundlerInfo?: { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + } | undefined; + } | undefined; +}>; + +// @public (undocumented) +export interface ExperimentsNormalized { + // (undocumented) + asyncWebAssembly?: boolean; + // (undocumented) + css?: boolean; + // (undocumented) + futureDefaults?: boolean; + // (undocumented) + lazyCompilation?: boolean; + // (undocumented) + newSplitChunks?: boolean; + // (undocumented) + outputModule?: boolean; + // (undocumented) + rspackFuture?: RspackFutureOptions; + // (undocumented) + topLevelAwait?: boolean; +} + +// @public (undocumented) +export type Exposes = (ExposesItem | ExposesObject)[] | ExposesObject; + +// @public (undocumented) +export type ExposesConfig = { + import: ExposesItem | ExposesItems; + name?: string; +}; + +// @public (undocumented) +export type ExposesItem = string; + +// @public (undocumented) +export type ExposesItems = ExposesItem[]; + +// @public (undocumented) +export type ExposesObject = { + [k: string]: ExposesConfig | ExposesItem | ExposesItems; +}; + +// @public (undocumented) +export type ExternalItem = z.infer; + +// @public (undocumented) +const externalItem: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType]>, z.ZodRecord, z.ZodArray]>, z.ZodRecord]>>]>>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, z.ZodRecord]>>]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>; + +// @public (undocumented) +export type ExternalItemFunctionData = z.infer; + +// @public (undocumented) +const externalItemFunctionData: z.ZodObject<{ + context: z.ZodOptional; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>; + +// @public (undocumented) +export type ExternalItemObjectUnknown = z.infer; + +// @public (undocumented) +const externalItemObjectUnknown: z.ZodRecord, z.ZodArray]>, z.ZodRecord]>>]>>; + +// @public (undocumented) +export type ExternalItemValue = z.infer; + +// @public (undocumented) +const externalItemValue: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray]>, z.ZodRecord]>>]>; + +// @public (undocumented) +export type Externals = z.infer; + +// @public (undocumented) +const externals: z.ZodUnion<[z.ZodArray]>, z.ZodRecord, z.ZodArray]>, z.ZodRecord]>>]>>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, z.ZodRecord]>>]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType]>, z.ZodRecord, z.ZodArray]>, z.ZodRecord]>>]>>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, z.ZodRecord]>>]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; +}>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>]>; + +// @public (undocumented) +export const ExternalsPlugin: { + new (type: string, externals: string | RegExp | Record> | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + }, ...args_1: unknown[]) => Promise>) | (string | RegExp | Record> | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + }, ...args_1: unknown[]) => Promise>))[]): { + name: BuiltinPluginName; + _options: RawExternalsPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type ExternalsPresets = z.infer; + +// @public (undocumented) +const externalsPresets: z.ZodObject<{ + node: z.ZodOptional; + web: z.ZodOptional; + webAsync: z.ZodOptional; + electron: z.ZodOptional; + electronMain: z.ZodOptional; + electronPreload: z.ZodOptional; + electronRenderer: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + node?: boolean | undefined; + web?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; +}, { + node?: boolean | undefined; + web?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; +}>; + +// @public (undocumented) +export type ExternalsType = z.infer; + +// @public (undocumented) +export 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"]>; + +// @public (undocumented) +type ExtractCommentsBanner = string | boolean; + +// @public (undocumented) +type ExtractCommentsCondition = boolean | RegExp; + +// @public (undocumented) +type ExtractCommentsObject = { + condition?: ExtractCommentsCondition | undefined; + banner?: ExtractCommentsBanner | undefined; +}; + +// @public (undocumented) +type ExtractCommentsOptions = ExtractCommentsCondition | ExtractCommentsObject; + +// @public (undocumented) +export type Falsy = z.infer; + +// @public (undocumented) +const falsy: z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>; + +// @public (undocumented) +export type Filename = z.infer; + +// @public (undocumented) +const filename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +export type FilenameTemplate = z.infer; + +// @public (undocumented) +const filenameTemplate: z.ZodString; + +// @public (undocumented) +interface FileSystemInfoEntry { + // (undocumented) + safeTime: number; + // (undocumented) + timestamp?: number; +} + +// @public (undocumented) +interface FileSystemInfoEntry_2 { + // (undocumented) + safeTime: number; + // (undocumented) + timestamp?: number; +} + +// @public (undocumented) +const FileUriPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type FilterItemTypes = z.infer; + +// @public (undocumented) +const filterItemTypes: z.ZodUnion<[z.ZodUnion<[z.ZodType, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>; + +// @public (undocumented) +export type FilterTypes = z.infer; + +// @public (undocumented) +const filterTypes: z.ZodUnion<[z.ZodArray, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>]>; + +// @public (undocumented) +type FixedSizeArray = T extends 0 ? void[] : ReadonlyArray & { + 0: U; + length: T; +}; + +// @public (undocumented) +const FlagDependencyExportsPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +const FlagDependencyUsagePlugin: { + new (global: boolean): { + name: BuiltinPluginName; + _options: boolean; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type Fn = (...args: AsArray) => R; + +// @public (undocumented) +type FnWithCallback = (...args: Append, InnerCallback>) => void; + +// @public (undocumented) +type FullTap = Tap & { + type: "sync" | "async" | "promise"; + fn: Function; +}; + +// @public (undocumented) +export type GeneratorOptionsByModuleType = z.infer; + +// @public (undocumented) +const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ + asset: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + emit: z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + }, "strict", z.ZodTypeAny, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }>>; + css: z.ZodOptional>; + exportsOnly: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; +}, { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; +}>, z.ZodRecord>]>; + +// @public (undocumented) +export type GeneratorOptionsByModuleTypeKnown = z.infer; + +// @public (undocumented) +const generatorOptionsByModuleTypeKnown: z.ZodObject<{ + asset: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + emit: z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + }, "strict", z.ZodTypeAny, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }>>; + css: z.ZodOptional>; + exportsOnly: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; +}, { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; +}>; + +// @public (undocumented) +export type GeneratorOptionsByModuleTypeUnknown = z.infer; + +// @public (undocumented) +const generatorOptionsByModuleTypeUnknown: z.ZodRecord>; + +// @public (undocumented) +type GetChildLogger = (name: string | (() => string)) => Logger; + +// @public (undocumented) +export const getNormalizedRspackOptions: (config: RspackOptions) => RspackOptionsNormalized; + +// @public (undocumented) +export function getRawChunkLoading(chunkLoading: ChunkLoading): string; + // @public (undocumented) export function getRawEntryRuntime(runtime: EntryRuntime): string | undefined; @@ -1176,33 +3722,178 @@ export function getRawLibrary(library: LibraryOptions): RawLibraryOptions; // @public (undocumented) export const getRawOptions: (options: RspackOptionsNormalized, compiler: Compiler) => RawOptions; -// Warning: (ae-forgotten-export) The symbol "globalObject" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type GlobalObject = z.infer; -// Warning: (ae-forgotten-export) The symbol "hashDigest" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const globalObject: z.ZodString; + +// @public +interface GlobalPassOption { + envs?: string[] | Record; + typeofs?: Record; + vars?: Record; +} + +// @public (undocumented) +type GroupConfig = { + getKeys: (arg0: any) => string[] | undefined; + createGroup: (arg0: string, arg1: (T | R)[], arg2: T[]) => R; + getOptions?: ((arg0: string, arg1: T[]) => GroupOptions) | undefined; +}; + +// @public +type GroupOptions = { + groupChildren?: boolean | undefined; + force?: boolean | undefined; + targetGroupCount?: number | undefined; +}; + // @public (undocumented) export type HashDigest = z.infer; -// Warning: (ae-forgotten-export) The symbol "hashDigestLength" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const hashDigest: z.ZodString; + // @public (undocumented) export type HashDigestLength = z.infer; -// Warning: (ae-forgotten-export) The symbol "hashFunction" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const hashDigestLength: z.ZodNumber; + // @public (undocumented) export type HashFunction = z.infer; -// Warning: (ae-forgotten-export) The symbol "hashSalt" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const hashFunction: z.ZodEnum<["md4", "xxhash64"]>; + // @public (undocumented) export type HashSalt = z.infer; -// Warning: (ae-forgotten-export) The symbol "RspackBuiltinPlugin" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const hashSalt: z.ZodString; + +// @public (undocumented) +class Hook { + constructor(args?: ArgumentNames>, name?: string); + // (undocumented) + args?: ArgumentNames>; + // (undocumented) + callAsync(...args: Append, Callback>): void; + // (undocumented) + callAsyncStageRange(queried: QueriedHook, ...args: Append, Callback>): void; + // (undocumented) + _insert(item: FullTap & IfSet): void; + // (undocumented) + intercept(interceptor: HookInterceptor): void; + // (undocumented) + interceptors: HookInterceptor[]; + // (undocumented) + isUsed(): boolean; + // (undocumented) + name?: string; + // (undocumented) + promise(...args: AsArray): Promise; + // (undocumented) + promiseStageRange(queried: QueriedHook, ...args: AsArray): Promise; + // (undocumented) + queryStageRange(stageRange: StageRange): QueriedHook; + // (undocumented) + _runCallInterceptors(...args: any[]): void; + // (undocumented) + _runDoneInterceptors(): void; + // (undocumented) + _runErrorInterceptors(e: Error): void; + // (undocumented) + _runRegisterInterceptors(options: FullTap & IfSet): FullTap & IfSet; + // (undocumented) + _runResultInterceptors(r: R): void; + // (undocumented) + _runTapInterceptors(tap: FullTap & IfSet): void; + // (undocumented) + tap(options: Options, fn: Fn): void; + // (undocumented) + _tap(type: "sync" | "async" | "promise", options: Options, fn: Function): void; + // (undocumented) + taps: (FullTap & IfSet)[]; +} + +// @public (undocumented) +type HookFactory = (key: HookMapKey, hook?: H) => H; + +// @public (undocumented) +interface HookInterceptor { + // (undocumented) + call?: (...args: any[]) => void; + // (undocumented) + done?: () => void; + // (undocumented) + error?: (err: Error) => void; + // (undocumented) + loop?: (...args: any[]) => void; + // (undocumented) + name?: string; + // (undocumented) + register?: (tap: FullTap & IfSet) => FullTap & IfSet; + // (undocumented) + result?: (result: R) => void; + // (undocumented) + tap?: (tap: FullTap & IfSet) => void; +} + +// @public (undocumented) +class HookMap> { + constructor(factory: HookFactory, name?: string); + // (undocumented) + _factory: HookFactory; + // (undocumented) + for(key: HookMapKey): H; + // (undocumented) + get(key: HookMapKey): H | undefined; + // (undocumented) + intercept(interceptor: HookMapInterceptor): void; + // (undocumented) + _interceptors: HookMapInterceptor[]; + // (undocumented) + isUsed(): boolean; + // (undocumented) + _map: Map; + // (undocumented) + name?: string; + // (undocumented) + queryStageRange(stageRange: StageRange): QueriedHookMap; +} + +// @public (undocumented) +interface HookMapInterceptor { + // (undocumented) + factory?: HookFactory; +} + +// @public (undocumented) +type HookMapKey = any; + +// @public (undocumented) +type Hooks = Readonly<{ + extract: HookMap_2>; + filter: HookMap_2>; + filterSorted: HookMap_2>; + groupResults: HookMap_2>; + filterResults: HookMap_2>; + sort: HookMap_2 number)[], + StatsFactoryContext + ], undefined>>; + sortResults: HookMap_2 number)[], + StatsFactoryContext + ], undefined>>; + result: HookMap_2>; + merge: HookMap_2>; + getItemName: HookMap_2>; + getItemFactory: HookMap_2>; +}>; + // @public (undocumented) export class HotModuleReplacementPlugin extends RspackBuiltinPlugin { // (undocumented) @@ -1211,57 +3902,288 @@ export class HotModuleReplacementPlugin extends RspackBuiltinPlugin { raw(compiler: Compiler): BuiltinPlugin; } -// Warning: (ae-forgotten-export) The symbol "hotUpdateChunkFilename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type HotUpdateChunkFilename = z.infer; -// Warning: (ae-forgotten-export) The symbol "hotUpdateGlobal" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type HotUpdateGlobal = z.infer; +const hotUpdateChunkFilename: z.ZodString; + +// @public (undocumented) +export type HotUpdateGlobal = z.infer; + +// @public (undocumented) +const hotUpdateGlobal: z.ZodString; + +// @public (undocumented) +export type HotUpdateMainFilename = z.infer; + +// @public (undocumented) +const hotUpdateMainFilename: z.ZodString; + +// @public (undocumented) +export const HtmlRspackPlugin: { + new (c?: { + filename?: string | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + publicPath?: string | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + chunks?: string[] | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; + } | undefined): { + name: BuiltinPluginName; + _options: RawHtmlRspackPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type HtmlRspackPluginOptions = z.infer; + +// @public (undocumented) +const htmlRspackPluginOptions: z.ZodObject<{ + filename: z.ZodOptional; + template: z.ZodOptional; + templateContent: z.ZodOptional; + templateParameters: z.ZodOptional>; + inject: z.ZodOptional, z.ZodBoolean]>>; + publicPath: z.ZodOptional; + scriptLoading: z.ZodOptional>; + chunks: z.ZodOptional>; + excludedChunks: z.ZodOptional>; + sri: z.ZodOptional>; + minify: z.ZodOptional; + title: z.ZodOptional; + favicon: z.ZodOptional; + meta: z.ZodOptional]>>>; +}, "strict", z.ZodTypeAny, { + filename?: string | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + publicPath?: string | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + chunks?: string[] | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; +}, { + filename?: string | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + publicPath?: string | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + chunks?: string[] | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; +}>; + +// @public (undocumented) +const HttpExternalsRspackPlugin: { + new (css: boolean, webAsync: boolean): { + name: BuiltinPluginName; + _options: RawHttpExternalsRspackPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type IfSet = X extends UnsetAdditionalOptions ? {} : X; + +// @public (undocumented) +export const IgnorePlugin: { + new (options: IgnorePluginOptions): { + name: BuiltinPluginName; + _options: RawIgnorePluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type IgnorePluginOptions = { + resourceRegExp: NonNullable; + contextRegExp?: RawIgnorePluginOptions["contextRegExp"]; +} | { + checkResource: NonNullable; +}; + +// @public (undocumented) +export type IgnoreWarnings = z.infer; + +// @public (undocumented) +const ignoreWarnings: z.ZodArray, z.ZodFunction, z.ZodType], z.ZodUnknown>, z.ZodBoolean>]>, "many">; + +// @public (undocumented) +export type IgnoreWarningsNormalized = ((warning: Error, compilation: Compilation) => boolean)[]; + +// @public (undocumented) +export type Iife = z.infer; + +// @public (undocumented) +const iife: z.ZodBoolean; + +// @public (undocumented) +export type ImportFunctionName = z.infer; + +// @public (undocumented) +const importFunctionName: z.ZodString; + +// @public (undocumented) +const InferAsyncModulesPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type InfrastructureLogging = z.infer; + +// @public (undocumented) +const infrastructureLogging: z.ZodObject<{ + appendOnly: z.ZodOptional; + colors: z.ZodOptional; + console: z.ZodOptional>; + debug: z.ZodOptional, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>]>]>>; + level: z.ZodOptional>; + stream: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + appendOnly?: boolean | undefined; + colors?: boolean | undefined; + console?: Console | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined; + stream?: NodeJS.WritableStream | undefined; +}, { + appendOnly?: boolean | undefined; + colors?: boolean | undefined; + console?: Console | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined; + stream?: NodeJS.WritableStream | undefined; +}>; + +// @public (undocumented) +type InnerCallback = (error?: E | null | false, result?: T) => void; + +// @public (undocumented) +interface JavaScript { + // (undocumented) + EnableChunkLoadingPlugin: typeof EnableChunkLoadingPlugin; +} + +// @public (undocumented) +export const javascript: JavaScript; + +// @public (undocumented) +const JavascriptModulesPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type JavascriptParserOptions = z.infer; + +// @public (undocumented) +const javascriptParserOptions: z.ZodObject<{ + dynamicImportMode: z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; +}, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; +}>; + +// @public (undocumented) +type JscTarget = "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "esnext"; -// Warning: (ae-forgotten-export) The symbol "hotUpdateMainFilename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type HotUpdateMainFilename = z.infer; +interface JsFormatOptions { + asciiOnly?: boolean; + beautify?: boolean; + braces?: boolean; + comments?: false | "some" | "all"; + ecma?: TerserEcmaVersion; + indentLevel?: number; + indentStart?: number; + // (undocumented) + inlineScript?: number; + keepNumbers?: number; + keepQuotedProps?: boolean; + maxLineLen?: number | false; + preamble?: string; + preserveAnnotations?: boolean; + quoteKeys?: boolean; + quoteStyle?: boolean; + safari10?: boolean; + semicolons?: boolean; + shebang?: boolean; + webkit?: boolean; + wrapFuncArgs?: boolean; + wrapIife?: boolean; +} // @public (undocumented) -export const HtmlRspackPlugin: { - new (c?: { - filename?: string | undefined; - template?: string | undefined; - templateContent?: string | undefined; - templateParameters?: Record | undefined; - inject?: boolean | "head" | "body" | undefined; - publicPath?: string | undefined; - scriptLoading?: "module" | "blocking" | "defer" | undefined; - chunks?: string[] | undefined; - excludedChunks?: string[] | undefined; - sri?: "sha256" | "sha384" | "sha512" | undefined; - minify?: boolean | undefined; - title?: string | undefined; - favicon?: string | undefined; - meta?: Record> | undefined; - } | undefined): { +const JsLoaderRspackPlugin: { + new (compiler: Compiler): { name: BuiltinPluginName; - _options: RawHtmlRspackPluginOptions; + _options: (rawContext: JsLoaderContext) => Promise; affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(): BuiltinPlugin; - apply(compiler: Compiler_2): void; + apply(compiler: Compiler): void; }; }; -// Warning: (ae-forgotten-export) The symbol "htmlRspackPluginOptions" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type HtmlRspackPluginOptions = z.infer; - // @public (undocumented) -export const IgnorePlugin: { - new (options: IgnorePluginOptions): { +const JsonModulesPlugin: { + new (): { name: BuiltinPluginName; - _options: RawIgnorePluginOptions; + _options: void; affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(): BuiltinPlugin; apply(compiler: Compiler_2): void; @@ -1269,86 +4191,388 @@ export const IgnorePlugin: { }; // @public (undocumented) -export type IgnorePluginOptions = { - resourceRegExp: NonNullable; - contextRegExp?: RawIgnorePluginOptions["contextRegExp"]; -} | { - checkResource: NonNullable; -}; +interface KnownCreateStatsOptionsContext { + // (undocumented) + forToString?: boolean; +} -// Warning: (ae-forgotten-export) The symbol "ignoreWarnings" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type IgnoreWarnings = z.infer; +type KnownStatsAsset = binding.JsStatsAsset; // @public (undocumented) -export type IgnoreWarningsNormalized = ((warning: Error, compilation: Compilation) => boolean)[]; +type KnownStatsChunk = binding.JsStatsChunk; -// Warning: (ae-forgotten-export) The symbol "iife" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Iife = z.infer; +type KnownStatsCompilation = { + version?: string; + rspackVersion?: string; + name?: string; + hash?: string; + time?: number; + builtAt?: number; + publicPath?: string; + outputPath?: string; + assets?: StatsAsset[]; + assetsByChunkName?: Record; + chunks?: StatsChunk[]; + modules?: StatsModule[]; + entrypoints?: Record; + namedChunkGroups?: Record; + errors?: StatsError[]; + errorsCount?: number; + warnings?: StatsWarnings[]; + warningsCount?: number; + filteredModules?: number; + children?: StatsCompilation[]; + logging?: Record; +}; -// Warning: (ae-forgotten-export) The symbol "importFunctionName" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ImportFunctionName = z.infer; +type KnownStatsFactoryContext = { + type: string; + makePathsRelative?: ((arg0: string) => string) | undefined; + compilation?: Compilation | undefined; + cachedGetErrors?: ((arg0: Compilation) => JsStatsError[]) | undefined; + cachedGetWarnings?: ((arg0: Compilation) => JsStatsWarning[]) | undefined; + getInner: (compilation: Compilation) => JsStats; +}; -// Warning: (ae-forgotten-export) The symbol "infrastructureLogging" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type InfrastructureLogging = z.infer; +type KnownStatsLogging = { + entries: StatsLoggingEntry[]; + filteredEntries: number; + debug: boolean; +}; -// Warning: (ae-forgotten-export) The symbol "JavaScript" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export const javascript: JavaScript; +type KnownStatsLoggingEntry = { + type: string; + message: string; + trace?: string[] | undefined; + children?: StatsLoggingEntry[] | undefined; + args?: any[] | undefined; + time?: number | undefined; +}; -// Warning: (ae-forgotten-export) The symbol "javascriptParserOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type JavascriptParserOptions = z.infer; +type KnownStatsModule = Omit & { + profile?: StatsProfile; + usedExports?: null | string[] | boolean; + providedExports?: null | string[]; + optimizationBailout?: null | string[]; +}; + +// @public (undocumented) +type KnownStatsPrinterContext = { + type?: string; + compilation?: StatsCompilation; + chunkGroup?: StatsChunkGroup; + asset?: StatsAsset; + module?: StatsModule; + chunk?: StatsChunk; + moduleReason?: StatsModuleReason; + bold?: (str: string) => string; + yellow?: (str: string) => string; + red?: (str: string) => string; + green?: (str: string) => string; + magenta?: (str: string) => string; + cyan?: (str: string) => string; + formatFilename?: (file: string, oversize?: boolean) => string; + formatModuleId?: (id: string) => string; + formatChunkId?: ((id: string, direction?: "parent" | "child" | "sibling") => string) | undefined; + formatSize?: (size: number) => string; + formatDateTime?: (dateTime: number) => string; + formatFlag?: (flag: string) => string; + formatTime?: (time: number, boldQuantity?: boolean) => string; + chunkGroupKind?: string; +}; + +// @public (undocumented) +type KnownStatsProfile = { + total: number; + resolving: number; + integration: number; + building: number; +}; -// Warning: (ae-forgotten-export) The symbol "library_2" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type Library = z.infer; -// Warning: (ae-forgotten-export) The symbol "Library_2" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export const library: Library_2; -// Warning: (ae-forgotten-export) The symbol "libraryCustomUmdCommentObject" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +interface Library_2 { + // (undocumented) + EnableLibraryPlugin: typeof EnableLibraryPlugin; +} + +// @public (undocumented) +const library_2: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; +}, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; +}>]>, z.ZodObject<{ + amdContainer: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; +}, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; +}>]>>; + // @public (undocumented) export type LibraryCustomUmdCommentObject = z.infer; -// Warning: (ae-forgotten-export) The symbol "libraryCustomUmdObject" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const libraryCustomUmdCommentObject: z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; +}, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; +}>; + // @public (undocumented) export type LibraryCustomUmdObject = z.infer; -// Warning: (ae-forgotten-export) The symbol "libraryExport" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const libraryCustomUmdObject: z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; +}, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; +}>; + // @public (undocumented) export type LibraryExport = z.infer; -// Warning: (ae-forgotten-export) The symbol "libraryName" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const libraryExport: z.ZodUnion<[z.ZodString, z.ZodArray]>; + // @public (undocumented) export type LibraryName = z.infer; -// Warning: (ae-forgotten-export) The symbol "libraryOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const libraryName: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; +}, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; +}>]>; + // @public (undocumented) export type LibraryOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "libraryType" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const libraryOptions: z.ZodObject<{ + amdContainer: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; +}, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; +}>; + // @public (undocumented) export type LibraryType = z.infer; +// @public (undocumented) +const libraryType: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; + +// @public (undocumented) +type LimitChunkCountOptions = { + chunkOverhead?: number; + entryChunkMultiplicator?: number; + maxChunks: number; +}; + +// @public (undocumented) +const LimitChunkCountPlugin: { + new (options: LimitChunkCountOptions): { + name: BuiltinPluginName; + _options: RawLimitChunkCountPluginOptions; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +declare namespace liteTapable { + export { + AsArray, + Fn, + FnWithCallback, + Options, + HookInterceptor, + Hook, + StageRange, + minStage, + maxStage, + safeStage, + QueriedHook, + SyncHook, + SyncBailHook, + AsyncParallelHook, + AsyncSeriesHook, + AsyncSeriesBailHook, + HookMapKey, + HookFactory, + HookMapInterceptor, + HookMap, + QueriedHookMap + } +} + // @public (undocumented) export interface LoaderContext { // @internal @@ -1363,9 +4587,6 @@ export interface LoaderContext { addDependency(file: string): void; // (undocumented) addMissingDependency(missing: string): void; - // Warning: (ae-forgotten-export) The symbol "SourceMap" needs to be exported by the entry point index.d.ts - // Warning: (ae-forgotten-export) The symbol "AdditionalData" needs to be exported by the entry point index.d.ts - // // (undocumented) async(): (err?: Error | null, content?: string | Buffer, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => void; // (undocumented) @@ -1401,124 +4622,354 @@ export interface LoaderContext { // (undocumented) getLogger(name: string): Logger; // (undocumented) - getMissingDependencies(): string[]; + getMissingDependencies(): string[]; + // (undocumented) + getOptions(schema?: any): OptionsType; + // (undocumented) + getResolve(options: Resolve): (context: any, request: any, callback: any) => Promise; + // (undocumented) + hot?: boolean; + // (undocumented) + importModule(request: string, options: { + publicPath?: string; + baseUri?: string; + }, callback: (err?: Error, res?: any) => void): void; + // (undocumented) + loaderIndex: number; + loaders: LoaderObject[]; + // (undocumented) + mode?: Mode; + // (undocumented) + previousRequest: string; + // (undocumented) + query: string | OptionsType; + // (undocumented) + remainingRequest: string; + // (undocumented) + request: string; + // (undocumented) + resolve(context: string, request: string, callback: (arg0: null | Error, arg1?: string | false, arg2?: ResolveRequest) => void): void; + // (undocumented) + resource: string; + // (undocumented) + resourceFragment: string; + // (undocumented) + resourcePath: string; + // (undocumented) + resourceQuery: string; + // (undocumented) + rootContext: string; + // (undocumented) + sourceMap: boolean; + // (undocumented) + utils: { + absolutify: (context: string, request: string) => string; + contextify: (context: string, request: string) => string; + createHash: (algorithm?: string) => Hash; + }; + // (undocumented) + version: 2; +} + +// @public (undocumented) +export type LoaderDefinition = LoaderDefinitionFunction & { + raw?: false; + pitch?: PitchLoaderDefinitionFunction; +}; + +// @public (undocumented) +export interface LoaderDefinitionFunction { + // (undocumented) + (this: LoaderContext & ContextAdditions, content: string, sourceMap?: string | SourceMap, additionalData?: AdditionalData): string | void | Buffer | Promise; +} + +// @public (undocumented) +interface LoaderObject { + // (undocumented) + data: object | undefined; + // (undocumented) + fragment: string; + // (undocumented) + ident: string; + // (undocumented) + normal: Function | undefined; + // (undocumented) + normalExecuted: boolean; + // (undocumented) + options: object | string | undefined; + // (undocumented) + path: string; + // (undocumented) + pitch: Function | undefined; + // (undocumented) + pitchExecuted: boolean; + // (undocumented) + query: string; + // (undocumented) + raw: boolean | undefined; + // (undocumented) + request: string; +} + +// @public (undocumented) +interface LoaderOptions { + // (undocumented) + emit?: boolean; + // (undocumented) + esModule?: boolean; + // (undocumented) + layer?: boolean; + // (undocumented) + publicPath?: string | ((resourcePath: string, context: string) => string); +} + +// @public +export class LoaderOptionsPlugin { + constructor(options?: LoaderOptionsPluginOptions); + apply(compiler: Compiler_3): void; + // (undocumented) + options: any; +} + +// @public (undocumented) +type LoaderOptionsPluginOptions = any; + +// @public +export class LoaderTargetPlugin { + constructor(target: string); + apply(compiler: Compiler_4): void; + // (undocumented) + target: string; +} + +// @public (undocumented) +const LOG_SYMBOL: unique symbol; + +// @public (undocumented) +export interface LogEntry { + // (undocumented) + args: any[]; + // (undocumented) + time?: number; + // (undocumented) + trace?: string[]; + // (undocumented) + type: string; +} + +// @public (undocumented) +type LogFunction = (type: LogTypeEnum, args?: any[]) => void; + +// @public (undocumented) +class Logger { + // (undocumented) + [LOG_SYMBOL]: any; + // (undocumented) + [TIMERS_AGGREGATES_SYMBOL]: any; + // (undocumented) + [TIMERS_SYMBOL]: any; + constructor(log: LogFunction, getChildLogger: GetChildLogger); + // (undocumented) + assert(assertion: any, ...args: any[]): void; // (undocumented) - getOptions(schema?: any): OptionsType; + clear(): void; // (undocumented) - getResolve(options: Resolve): (context: any, request: any, callback: any) => Promise; + debug(...args: string[]): void; // (undocumented) - hot?: boolean; + error(...args: any[]): void; // (undocumented) - importModule(request: string, options: { - publicPath?: string; - baseUri?: string; - }, callback: (err?: Error, res?: any) => void): void; + getChildLogger: GetChildLogger; // (undocumented) - loaderIndex: number; - // Warning: (ae-forgotten-export) The symbol "LoaderObject" needs to be exported by the entry point index.d.ts - loaders: LoaderObject[]; + group(...args: any[]): void; // (undocumented) - mode?: Mode; + groupCollapsed(...args: any[]): void; // (undocumented) - previousRequest: string; + groupEnd(...args: any[]): void; // (undocumented) - query: string | OptionsType; + info(...args: any[]): void; // (undocumented) - remainingRequest: string; + log(...args: any[]): void; // (undocumented) - request: string; + profile(label: any): void; // (undocumented) - resolve(context: string, request: string, callback: (arg0: null | Error, arg1?: string | false, arg2?: ResolveRequest) => void): void; + profileEnd(label: any): void; // (undocumented) - resource: string; + status(...args: any[]): void; // (undocumented) - resourceFragment: string; + time(label: any): void; // (undocumented) - resourcePath: string; + timeAggregate(label: any): void; // (undocumented) - resourceQuery: string; + timeAggregateEnd(label: any): void; // (undocumented) - rootContext: string; + timeEnd(label: any): void; // (undocumented) - sourceMap: boolean; + timeLog(label: any): void; // (undocumented) - utils: { - absolutify: (context: string, request: string) => string; - contextify: (context: string, request: string) => string; - createHash: (algorithm?: string) => Hash; - }; + trace(): void; // (undocumented) - version: 2; + warn(...args: any[]): void; } +// @public +const LogType: Readonly<{ + error: "error"; + warn: "warn"; + info: "info"; + log: "log"; + debug: "debug"; + trace: "trace"; + group: "group"; + groupCollapsed: "groupCollapsed"; + groupEnd: "groupEnd"; + profile: "profile"; + profileEnd: "profileEnd"; + time: "time"; + clear: "clear"; + status: "status"; + cache: "cache"; +}>; + // @public (undocumented) -export type LoaderDefinition = LoaderDefinitionFunction & { - raw?: false; - pitch?: PitchLoaderDefinitionFunction; +type LogTypeEnum = (typeof LogType)[keyof typeof LogType]; + +// @public (undocumented) +const MangleExportsPlugin: { + new (deterministic: boolean): { + name: BuiltinPluginName; + _options: boolean; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; }; // @public (undocumented) -export interface LoaderDefinitionFunction { - // (undocumented) - (this: LoaderContext & ContextAdditions, content: string, sourceMap?: string | SourceMap, additionalData?: AdditionalData): string | void | Buffer | Promise; -} +type Matcher = string | RegExp | (string | RegExp)[]; -// @public -export class LoaderOptionsPlugin { - // Warning: (ae-forgotten-export) The symbol "LoaderOptionsPluginOptions" needs to be exported by the entry point index.d.ts - constructor(options?: LoaderOptionsPluginOptions); - // Warning: (ae-forgotten-export) The symbol "Compiler_3" needs to be exported by the entry point index.d.ts - apply(compiler: Compiler_3): void; +// @public (undocumented) +interface MatchObject { // (undocumented) - options: any; + exclude?: Matcher; + // (undocumented) + include?: Matcher; + // (undocumented) + test?: Matcher; } // @public -export class LoaderTargetPlugin { - constructor(target: string); - // Warning: (ae-forgotten-export) The symbol "Compiler_4" needs to be exported by the entry point index.d.ts - apply(compiler: Compiler_4): void; +const matchObject: (obj: MatchObject, str: string) => boolean; + +// @public (undocumented) +const matchPart: (str: string, test: Matcher) => boolean; + +// @public (undocumented) +const maxStage: number; + +// @public (undocumented) +type Measure = T extends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 ? T : never; + +// @public (undocumented) +class MergeCaller { + constructor(fn: CallFn_2, debounceTime: number); // (undocumented) - target: string; + push(...data: D[]): void; } // @public (undocumented) -export interface LogEntry { +const MergeDuplicateChunksPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type MinifyCondition = string | RegExp; + +// @public (undocumented) +type MinifyConditions = MinifyCondition | MinifyCondition[]; + +// @public (undocumented) +const minStage: number; + +// @public (undocumented) +export type Mode = z.infer; + +// @public (undocumented) +const mode: z.ZodEnum<["development", "production", "none"]>; + +// @public (undocumented) +class Module { + constructor(module: JsModule); // (undocumented) - args: any[]; + static __from_binding(module: JsModule): Module; // (undocumented) - time?: number; + get context(): string | undefined; // (undocumented) - trace?: string[]; + identifier(): string; // (undocumented) - type: string; + nameForCondition(): string | null; + // (undocumented) + get originalSource(): Source | null; + // (undocumented) + _originalSource?: Source; + // (undocumented) + rawRequest?: string; + // (undocumented) + get resource(): string | undefined; } -// Warning: (ae-forgotten-export) The symbol "MatchObject" needs to be exported by the entry point index.d.ts -// -// @public -const matchObject: (obj: MatchObject, str: string) => boolean; +// @public (undocumented) +const MODULE_TYPE = "css/mini-extract"; -// Warning: (ae-forgotten-export) The symbol "Matcher" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -const matchPart: (str: string, test: Matcher) => boolean; +const ModuleChunkFormatPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; -// Warning: (ae-forgotten-export) The symbol "mode" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Mode = z.infer; +const ModuleConcatenationPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +class ModuleFederationPlugin { + constructor(_options: ModuleFederationPluginOptions); + // (undocumented) + apply(compiler: Compiler): void; +} // @public (undocumented) export interface ModuleFederationPluginOptions extends Omit { // (undocumented) implementation?: string; - // Warning: (ae-forgotten-export) The symbol "RuntimePlugins" needs to be exported by the entry point index.d.ts - // // (undocumented) runtimePlugins?: RuntimePlugins; } +// @public (undocumented) +class ModuleFederationPluginV1 { + constructor(_options: ModuleFederationPluginV1Options); + // (undocumented) + apply(compiler: Compiler): void; +} + // @public (undocumented) export interface ModuleFederationPluginV1Options { // (undocumented) @@ -1552,11 +5003,642 @@ declare namespace ModuleFilenameHelpers { } export { ModuleFilenameHelpers } -// Warning: (ae-forgotten-export) The symbol "moduleOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type ModuleOptions = z.infer; +// @public (undocumented) +const moduleOptions: z.ZodObject<{ + defaultRules: z.ZodOptional, z.ZodType]>, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>; + rules: z.ZodOptional, z.ZodType]>, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>; + parser: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + maxSize?: number | undefined; + }, { + maxSize?: number | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + }, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + }>>; + css: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + "css/module": z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + javascript: z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + }, { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + }>, z.ZodRecord>]>>; + generator: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + emit: z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }, { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + }, "strict", z.ZodTypeAny, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }, { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + }>>; + css: z.ZodOptional>; + exportsOnly: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }, { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + }, { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + }>, z.ZodRecord>]>>; + noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; +}, "strict", z.ZodTypeAny, { + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + parser?: { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + } | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; +}, { + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + parser?: { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + asset?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + encoding?: false | "base64" | undefined; + mimetype?: string | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + emit?: boolean | undefined; + filename?: string | undefined; + publicPath?: string | undefined; + } | undefined; + css?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + exportsOnly?: boolean | undefined; + localIdentName?: string | undefined; + } | undefined; + } | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; +}>; + // @public (undocumented) export interface ModuleOptionsNormalized { // (undocumented) @@ -1571,6 +5653,9 @@ export interface ModuleOptionsNormalized { rules: RuleSetRules; } +// @public (undocumented) +type ModuleReplacer = (createData: ResolveData) => void; + // @public (undocumented) export class MultiCompiler { constructor(compilers: Compiler[] | Record, options?: MultiCompilerOptions); @@ -1630,8 +5715,6 @@ export class MultiCompiler { setDependencies(compiler: Compiler, dependencies: string[]): void; // (undocumented) validateDependencies(callback: Callback_2): boolean; - // Warning: (ae-forgotten-export) The symbol "MultiWatching" needs to be exported by the entry point index.d.ts - // // (undocumented) watch(watchOptions: WatchOptions, handler: Callback_2): MultiWatching; // (undocumented) @@ -1668,32 +5751,134 @@ export class MultiStats { toString(options: any): string; } -// Warning: (ae-forgotten-export) The symbol "name_2" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +class MultiWatching { + constructor(watchings: Watching[], compiler: MultiCompiler); + // (undocumented) + close(callback: any): void; + // (undocumented) + compiler: MultiCompiler; + // (undocumented) + invalidate(callback: any): void; + // (undocumented) + resume(): void; + // (undocumented) + suspend(): void; + // (undocumented) + watchings: Watching[]; +} + // @public (undocumented) export type Name = z.infer; -// Warning: (ae-forgotten-export) The symbol "Node_3" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const name_2: z.ZodString; + +// @public (undocumented) +const NamedChunkIdsPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +const NamedModuleIdsPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + // @public (undocumented) export const node: Node_3; -// Warning: (ae-forgotten-export) The symbol "node_2" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type Node_2 = z.infer; export { Node_2 as Node } -// Warning: (ae-forgotten-export) The symbol "nodeOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const node_2: z.ZodUnion<[z.ZodLiteral, z.ZodObject<{ + __dirname: z.ZodOptional]>>; + __filename: z.ZodOptional]>>; + global: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; +}, { + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; +}>]>; + +// @public (undocumented) +interface Node_3 { + // (undocumented) + NodeTargetPlugin: typeof NodeTargetPlugin; + // (undocumented) + NodeTemplatePlugin: typeof NodeTemplatePlugin; +} + +// @public (undocumented) +interface NodeNextConfig extends BaseModuleConfig { + // (undocumented) + type: "nodenext"; +} + // @public (undocumented) export type NodeOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "noParseOption" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const nodeOptions: z.ZodObject<{ + __dirname: z.ZodOptional]>>; + __filename: z.ZodOptional]>>; + global: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; +}, { + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; +}>; + +// @public (undocumented) +const NodeTargetPlugin: { + new (): { + name: BuiltinPluginName; + _options: undefined; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +class NodeTemplatePlugin { + constructor(_options?: NodeTemplatePluginOptions); + // (undocumented) + apply(compiler: Compiler): void; +} + +// @public (undocumented) +type NodeTemplatePluginOptions = { + asyncChunkLoading?: boolean; +}; + // @public (undocumented) export type NoParseOption = z.infer; +// @public (undocumented) +const noParseOption: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>; + // @public (undocumented) export class NormalModule { constructor(); @@ -1705,6 +5890,11 @@ export class NormalModule { }; } +// @public (undocumented) +type NormalModuleCreateData = binding.JsNormalModuleFactoryCreateModuleArgs & { + settings: {}; +}; + // @public (undocumented) export class NormalModuleFactory { constructor(); @@ -1725,58 +5915,1000 @@ export class NormalModuleReplacementPlugin { constructor(resourceRegExp: RegExp, newResource: string | ModuleReplacer); // (undocumented) apply(compiler: Compiler): void; - // Warning: (ae-forgotten-export) The symbol "ModuleReplacer" needs to be exported by the entry point index.d.ts - // // (undocumented) readonly newResource: string | ModuleReplacer; // (undocumented) readonly resourceRegExp: RegExp; } -// Warning: (ae-forgotten-export) The symbol "optimization" needs to be exported by the entry point index.d.ts -// +declare namespace oldBuiltins { + export { + deprecated_resolveBuiltins, + RspackBuiltinPlugin, + Builtins_2 as Builtins, + DefinePluginOptions, + DefinePlugin, + ProvidePluginOptions, + ProvidePlugin, + Rule, + Rules, + BannerFunction, + BannerContent, + BannerPluginOptions, + BannerPluginArgument, + BannerPlugin, + IgnorePluginOptions, + IgnorePlugin, + ProgressPluginArgument, + ProgressPlugin, + EntryOptions, + EntryPlugin, + ExternalsPlugin, + NodeTargetPlugin, + ElectronTargetPlugin, + HttpExternalsRspackPlugin, + EnableChunkLoadingPlugin, + EnableLibraryPlugin, + EnableWasmLoadingPlugin, + ChunkPrefetchPreloadPlugin, + ArrayPushCallbackChunkFormatPlugin, + CommonJsChunkFormatPlugin, + ModuleChunkFormatPlugin, + HotModuleReplacementPlugin, + WebWorkerTemplatePlugin, + WorkerPlugin, + LimitChunkCountOptions, + LimitChunkCountPlugin, + MergeDuplicateChunksPlugin, + SplitChunksPlugin, + NamedModuleIdsPlugin, + DeterministicModuleIdsPlugin, + NamedChunkIdsPlugin, + DeterministicChunkIdsPlugin, + RealContentHashPlugin, + RemoveEmptyChunksPlugin, + EnsureChunkConditionsPlugin, + WarnCaseSensitiveModulesPlugin, + DataUriPlugin, + FileUriPlugin, + RuntimePlugin, + JsonModulesPlugin, + InferAsyncModulesPlugin, + JavascriptModulesPlugin, + AsyncWebAssemblyModulesPlugin, + AssetModulesPlugin, + SourceMapDevToolPluginOptions, + SourceMapDevToolPlugin, + EvalSourceMapDevToolPlugin, + EvalDevToolModulePluginOptions, + EvalDevToolModulePlugin, + SideEffectsFlagPlugin, + FlagDependencyExportsPlugin, + FlagDependencyUsagePlugin, + MangleExportsPlugin, + BundleInfoOptions, + BundlerInfoRspackPlugin, + ModuleConcatenationPlugin, + CssModulesPlugin, + APIPlugin, + HtmlRspackPluginOptions, + HtmlRspackPlugin, + CopyRspackPluginOptions, + CopyRspackPlugin, + SwcJsMinimizerRspackPluginOptions, + JsFormatOptions, + TerserEcmaVersion, + TerserCompressOptions, + TerserMangleOptions, + TerserManglePropertiesOptions, + SwcJsMinimizerRspackPlugin, + SwcCssMinimizerRspackPlugin, + JsLoaderRspackPlugin, + PluginOptions, + CssExtractRspackPlugin, + MODULE_TYPE, + AUTO_PUBLIC_PATH, + ABSOLUTE_PUBLIC_PATH, + BASE_URI, + SINGLE_DOT_PATH_SEGMENT, + LoaderOptions, + pitch + } +} + // @public (undocumented) export type Optimization = z.infer; -// Warning: (ae-forgotten-export) The symbol "optimizationRuntimeChunk" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const optimization: z.ZodObject<{ + moduleIds: z.ZodOptional>; + chunkIds: z.ZodOptional>; + minimize: z.ZodOptional; + minimizer: z.ZodOptional, z.ZodUnion<[z.ZodType, z.ZodType, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>; + mergeDuplicateChunks: z.ZodOptional; + splitChunks: z.ZodOptional, z.ZodObject<{ + chunks: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + defaultSizeTypes: z.ZodOptional>; + minChunks: z.ZodOptional; + name: z.ZodOptional]>, z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + cacheGroups: z.ZodOptional, z.ZodObject<{ + chunks: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + defaultSizeTypes: z.ZodOptional>; + minChunks: z.ZodOptional; + name: z.ZodOptional]>, z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + test: z.ZodOptional]>, z.ZodFunction], z.ZodUnknown>, z.ZodUnknown>]>>; + priority: z.ZodOptional; + enforce: z.ZodOptional; + filename: z.ZodOptional; + reuseExistingChunk: z.ZodOptional; + type: z.ZodOptional]>>; + idHint: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }>]>>>; + maxAsyncRequests: z.ZodOptional; + maxInitialRequests: z.ZodOptional; + fallbackCacheGroup: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + }, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + }>>; + hidePathInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + } | undefined; + hidePathInfo?: boolean | undefined; + }, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + } | undefined; + hidePathInfo?: boolean | undefined; + }>]>>; + runtimeChunk: z.ZodOptional, z.ZodBoolean]>, z.ZodObject<{ + name: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>; + }, "strict", z.ZodTypeAny, { + name?: string | ((...args: unknown[]) => string | undefined) | undefined; + }, { + name?: string | ((...args: unknown[]) => string | undefined) | undefined; + }>]>>; + removeAvailableModules: z.ZodOptional; + removeEmptyChunks: z.ZodOptional; + realContentHash: z.ZodOptional; + sideEffects: z.ZodOptional, z.ZodBoolean]>>; + providedExports: z.ZodOptional; + concatenateModules: z.ZodOptional; + innerGraph: z.ZodOptional; + usedExports: z.ZodOptional, z.ZodBoolean]>>; + mangleExports: z.ZodOptional, z.ZodBoolean]>>; + nodeEnv: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + moduleIds?: "named" | "deterministic" | undefined; + chunkIds?: "named" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + } | undefined; + hidePathInfo?: boolean | undefined; + } | undefined; + runtimeChunk?: boolean | "single" | "multiple" | { + name?: string | ((...args: unknown[]) => string | undefined) | undefined; + } | undefined; + removeAvailableModules?: boolean | undefined; + removeEmptyChunks?: boolean | undefined; + realContentHash?: boolean | undefined; + sideEffects?: boolean | "flag" | undefined; + providedExports?: boolean | undefined; + concatenateModules?: boolean | undefined; + innerGraph?: boolean | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "size" | "deterministic" | undefined; + nodeEnv?: string | false | undefined; +}, { + moduleIds?: "named" | "deterministic" | undefined; + chunkIds?: "named" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + } | undefined; + hidePathInfo?: boolean | undefined; + } | undefined; + runtimeChunk?: boolean | "single" | "multiple" | { + name?: string | ((...args: unknown[]) => string | undefined) | undefined; + } | undefined; + removeAvailableModules?: boolean | undefined; + removeEmptyChunks?: boolean | undefined; + realContentHash?: boolean | undefined; + sideEffects?: boolean | "flag" | undefined; + providedExports?: boolean | undefined; + concatenateModules?: boolean | undefined; + innerGraph?: boolean | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "size" | "deterministic" | undefined; + nodeEnv?: string | false | undefined; +}>; + // @public (undocumented) export type OptimizationRuntimeChunk = z.infer; +// @public (undocumented) +const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{ + name: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>; +}, "strict", z.ZodTypeAny, { + name?: string | ((...args: unknown[]) => string | undefined) | undefined; +}, { + name?: string | ((...args: unknown[]) => string | undefined) | undefined; +}>]>; + // @public (undocumented) export type OptimizationRuntimeChunkNormalized = false | { name: (...args: any[]) => string | undefined; }; -// Warning: (ae-forgotten-export) The symbol "optimizationSplitChunksCacheGroup" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type OptimizationSplitChunksCacheGroup = z.infer; -// Warning: (ae-forgotten-export) The symbol "optimizationSplitChunksNameFunction" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const optimizationSplitChunksCacheGroup: z.ZodObject<{ + chunks: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + defaultSizeTypes: z.ZodOptional>; + minChunks: z.ZodOptional; + name: z.ZodOptional]>, z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + test: z.ZodOptional]>, z.ZodFunction], z.ZodUnknown>, z.ZodUnknown>]>>; + priority: z.ZodOptional; + enforce: z.ZodOptional; + filename: z.ZodOptional; + reuseExistingChunk: z.ZodOptional; + type: z.ZodOptional]>>; + idHint: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; +}, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; +}>; + // @public (undocumented) export type OptimizationSplitChunksNameFunction = z.infer; -// Warning: (ae-forgotten-export) The symbol "optimizationSplitChunksOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const optimizationSplitChunksNameFunction: z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>; + // @public (undocumented) export type OptimizationSplitChunksOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "Optimize" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const optimizationSplitChunksOptions: z.ZodObject<{ + chunks: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + defaultSizeTypes: z.ZodOptional>; + minChunks: z.ZodOptional; + name: z.ZodOptional]>, z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + cacheGroups: z.ZodOptional, z.ZodObject<{ + chunks: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + defaultSizeTypes: z.ZodOptional>; + minChunks: z.ZodOptional; + name: z.ZodOptional]>, z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + test: z.ZodOptional]>, z.ZodFunction], z.ZodUnknown>, z.ZodUnknown>]>>; + priority: z.ZodOptional; + enforce: z.ZodOptional; + filename: z.ZodOptional; + reuseExistingChunk: z.ZodOptional; + type: z.ZodOptional]>>; + idHint: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }>]>>>; + maxAsyncRequests: z.ZodOptional; + maxInitialRequests: z.ZodOptional; + fallbackCacheGroup: z.ZodOptional, z.ZodType]>, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + minSize: z.ZodOptional; + maxSize: z.ZodOptional; + maxAsyncSize: z.ZodOptional; + maxInitialSize: z.ZodOptional; + automaticNameDelimiter: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + }, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + }>>; + hidePathInfo: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + } | undefined; + hidePathInfo?: boolean | undefined; +}, { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + filename?: string | undefined; + reuseExistingChunk?: boolean | undefined; + type?: string | RegExp | undefined; + idHint?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + minSize?: number | undefined; + maxSize?: number | undefined; + maxAsyncSize?: number | undefined; + maxInitialSize?: number | undefined; + automaticNameDelimiter?: string | undefined; + } | undefined; + hidePathInfo?: boolean | undefined; +}>; + +// @public (undocumented) +interface Optimize { + // (undocumented) + LimitChunkCountPlugin: typeof LimitChunkCountPlugin; +} + // @public (undocumented) export const optimize: Optimize; -// Warning: (ae-forgotten-export) The symbol "output" needs to be exported by the entry point index.d.ts -// +// @public +type OptimizerConfig = { + simplify?: boolean; + globals?: GlobalPassOption; + jsonify?: { + minCost: number; + }; +}; + +// @public (undocumented) +type Options = string | (Tap & IfSet); + +// @public (undocumented) +export type Output = z.infer; + +// @public (undocumented) +const output: z.ZodObject<{ + path: z.ZodOptional; + clean: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodString]>>; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + chunkFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + crossOriginLoading: z.ZodOptional, z.ZodEnum<["anonymous", "use-credentials"]>]>>; + cssFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + cssChunkFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + hotUpdateMainFilename: z.ZodOptional; + hotUpdateChunkFilename: z.ZodOptional; + hotUpdateGlobal: z.ZodOptional; + assetModuleFilename: z.ZodOptional; + uniqueName: z.ZodOptional; + chunkLoadingGlobal: z.ZodOptional; + enabledLibraryTypes: z.ZodOptional, z.ZodString]>, "many">>; + library: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>, z.ZodObject<{ + amdContainer: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + }>]>>; + 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]>; + umdNamedDefine: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + }>]>>>; + libraryExport: z.ZodOptional]>>; + libraryTarget: z.ZodOptional, z.ZodString]>>; + umdNamedDefine: z.ZodOptional; + amdContainer: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }, { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + }>]>>; + module: z.ZodOptional; + strictModuleExceptionHandling: z.ZodOptional; + strictModuleErrorHandling: z.ZodOptional; + globalObject: z.ZodOptional; + importFunctionName: z.ZodOptional; + iife: z.ZodOptional; + wasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + enabledWasmLoadingTypes: z.ZodOptional, z.ZodString]>, "many">>; + webassemblyModuleFilename: z.ZodOptional; + chunkFormat: z.ZodOptional, z.ZodString]>>; + chunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + enabledChunkLoadingTypes: z.ZodOptional, z.ZodString]>, "many">>; + trustedTypes: z.ZodOptional, z.ZodString]>, z.ZodObject<{ + policyName: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + policyName?: string | undefined; + }, { + policyName?: string | undefined; + }>]>>; + sourceMapFilename: z.ZodOptional; + hashDigest: z.ZodOptional; + hashDigestLength: z.ZodOptional; + hashFunction: z.ZodOptional>; + hashSalt: z.ZodOptional; + asyncChunks: z.ZodOptional; + workerChunkLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>; + workerWasmLoading: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>; + workerPublicPath: z.ZodOptional; + scriptType: z.ZodOptional, z.ZodLiteral]>>; + devtoolNamespace: z.ZodOptional; + devtoolModuleFilenameTemplate: z.ZodOptional, z.ZodAny>]>>; + devtoolFallbackModuleFilenameTemplate: z.ZodOptional, z.ZodAny>]>>; +}, "strict", z.ZodTypeAny, { + path?: string | undefined; + clean?: boolean | undefined; + publicPath?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssChunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + hotUpdateMainFilename?: string | undefined; + hotUpdateChunkFilename?: string | undefined; + hotUpdateGlobal?: string | undefined; + assetModuleFilename?: string | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + library?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + umdNamedDefine?: boolean | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + module?: boolean | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + iife?: boolean | undefined; + wasmLoading?: string | false | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + chunkLoading?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "md4" | "xxhash64" | undefined; + hashSalt?: string | undefined; + asyncChunks?: boolean | undefined; + workerChunkLoading?: string | false | undefined; + workerWasmLoading?: string | false | undefined; + workerPublicPath?: string | undefined; + scriptType?: false | "module" | "text/javascript" | undefined; + devtoolNamespace?: string | undefined; + devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; + devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; +}, { + path?: string | undefined; + clean?: boolean | undefined; + publicPath?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssChunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + hotUpdateMainFilename?: string | undefined; + hotUpdateChunkFilename?: string | undefined; + hotUpdateGlobal?: string | undefined; + assetModuleFilename?: string | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + library?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + umdNamedDefine?: boolean | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + module?: boolean | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + iife?: boolean | undefined; + wasmLoading?: string | false | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + chunkLoading?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "md4" | "xxhash64" | undefined; + hashSalt?: string | undefined; + asyncChunks?: boolean | undefined; + workerChunkLoading?: string | false | undefined; + workerWasmLoading?: string | false | undefined; + workerPublicPath?: string | undefined; + scriptType?: false | "module" | "text/javascript" | undefined; + devtoolNamespace?: string | undefined; + devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; + devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; +}>; + // @public (undocumented) -export type Output = z.infer; +export type OutputModule = z.infer; -// Warning: (ae-forgotten-export) The symbol "outputModule" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type OutputModule = z.infer; +const outputModule: z.ZodBoolean; // @public (undocumented) export interface OutputNormalized { @@ -1847,52 +6979,555 @@ export interface OutputNormalized { // (undocumented) sourceMapFilename?: SourceMapFilename; // (undocumented) - strictModuleErrorHandling?: StrictModuleErrorHandling; + strictModuleErrorHandling?: StrictModuleErrorHandling; + // (undocumented) + trustedTypes?: TrustedTypes; + // (undocumented) + uniqueName?: UniqueName; + // (undocumented) + wasmLoading?: WasmLoading; + // (undocumented) + webassemblyModuleFilename?: WebassemblyModuleFilename; + // (undocumented) + workerChunkLoading?: ChunkLoading; + // (undocumented) + workerPublicPath?: WorkerPublicPath; + // (undocumented) + workerWasmLoading?: WasmLoading; +} + +// @public (undocumented) +export type ParserOptionsByModuleType = z.infer; + +// @public (undocumented) +const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ + asset: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + maxSize?: number | undefined; + }, { + maxSize?: number | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + }, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + }>>; + css: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + "css/module": z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + javascript: z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; +}, { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; +}>, z.ZodRecord>]>; + +// @public (undocumented) +export type ParserOptionsByModuleTypeKnown = z.infer; + +// @public (undocumented) +const parserOptionsByModuleTypeKnown: z.ZodObject<{ + asset: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + maxSize?: number | undefined; + }, { + maxSize?: number | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + }, { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + }>>; + css: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + "css/module": z.ZodOptional; + }, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; + }, { + namedExports?: boolean | undefined; + }>>; + javascript: z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; +}, { + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + javascript?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + } | undefined; +}>; + +// @public (undocumented) +export type ParserOptionsByModuleTypeUnknown = z.infer; + +// @public (undocumented) +const parserOptionsByModuleTypeUnknown: z.ZodRecord>; + +// @public (undocumented) +export type Path = z.infer; + +// @public (undocumented) +const path: z.ZodString; + +// @public (undocumented) +type PathData = JsPathData; + +// @public (undocumented) +const pitch: LoaderDefinition["pitch"]; + +// @public (undocumented) +interface PitchLoaderDefinitionFunction { + // (undocumented) + (this: LoaderContext & ContextAdditions, remainingRequest: string, previousRequest: string, data: object): string | void | Buffer | Promise; +} + +// @public (undocumented) +type PluginImportConfig = { + libraryName: string; + libraryDirectory?: string; + customName?: string; + customStyleName?: string; + style?: string | boolean; + styleLibraryDirectory?: string; + camelToDashComponentName?: boolean; + transformToDefaultImport?: boolean; + ignoreEsComponent?: string[]; + ignoreStyleComponent?: string[]; +}; + +// @public (undocumented) +type PluginImportOptions = PluginImportConfig[] | undefined; + +// @public (undocumented) +interface PluginOptions { + // (undocumented) + attributes?: Record; // (undocumented) - trustedTypes?: TrustedTypes; + chunkFilename?: string; // (undocumented) - uniqueName?: UniqueName; + filename?: string; // (undocumented) - wasmLoading?: WasmLoading; + ignoreOrder?: boolean; // (undocumented) - webassemblyModuleFilename?: WebassemblyModuleFilename; + insert?: string | ((linkTag: HTMLLinkElement) => void); // (undocumented) - workerChunkLoading?: ChunkLoading; + linkType?: string | "text/css" | false; // (undocumented) - workerPublicPath?: WorkerPublicPath; + pathinfo?: boolean; // (undocumented) - workerWasmLoading?: WasmLoading; + runtime?: boolean; } -// Warning: (ae-forgotten-export) The symbol "parserOptionsByModuleType" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -export type ParserOptionsByModuleType = z.infer; - -// Warning: (ae-forgotten-export) The symbol "parserOptionsByModuleTypeKnown" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ParserOptionsByModuleTypeKnown = z.infer; +export type Plugins = z.infer; -// Warning: (ae-forgotten-export) The symbol "parserOptionsByModuleTypeUnknown" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type ParserOptionsByModuleTypeUnknown = z.infer; +const plugins: z.ZodArray, z.ZodType, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">; -// Warning: (ae-forgotten-export) The symbol "path" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Path = z.infer; +type PrintedElement = { + element: string; + content: string; +}; -// Warning: (ae-forgotten-export) The symbol "plugins" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Plugins = z.infer; +export type Profile = z.infer; -// Warning: (ae-forgotten-export) The symbol "profile" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type Profile = z.infer; +const profile: z.ZodBoolean; // @public (undocumented) export const ProgressPlugin: { @@ -1933,6 +7568,25 @@ export type ProvidesConfig = { version?: false | string; }; +// @public (undocumented) +class ProvideSharedPlugin extends RspackBuiltinPlugin { + constructor(options: ProvideSharedPluginOptions); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _options: { + provides: [string, { + shareKey: string; + version: string | false | undefined; + shareScope: string; + eager: boolean; + }][]; + enhanced: boolean; + }; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + // @public (undocumented) export type ProvideSharedPluginOptions = { provides: Provides; @@ -1948,16 +7602,69 @@ export type ProvidesObject = { [k: string]: ProvidesConfig | ProvidesItem; }; -// Warning: (ae-forgotten-export) The symbol "publicPath" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type PublicPath = z.infer; -// Warning: (ae-forgotten-export) The symbol "rawPublicPath" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const publicPath: z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>; + +// @public (undocumented) +class QueriedHook { + constructor(stageRange: StageRange, hook: Hook); + // (undocumented) + call(...args: AsArray): R; + // (undocumented) + callAsync(...args: Append, Callback>): void; + // (undocumented) + hook: Hook; + // (undocumented) + isUsed(): boolean; + // (undocumented) + promise(...args: AsArray): Promise; + // (undocumented) + stageRange: StageRange; + // (undocumented) + tapsInRange: (FullTap & IfSet)[]; +} + +// @public (undocumented) +class QueriedHookMap> { + constructor(stageRange: StageRange, hookMap: HookMap); + // (undocumented) + for(key: HookMapKey): QueriedHook; + // (undocumented) + get(key: HookMapKey): QueriedHook | undefined; + // (undocumented) + hookMap: HookMap; + // (undocumented) + isUsed(): boolean; + // (undocumented) + stageRange: StageRange; +} + // @public (undocumented) export type RawPublicPath = z.infer; +// @public (undocumented) +const rawPublicPath: z.ZodString; + +// @public (undocumented) +type ReactOptions = RawReactOptions | undefined; + +// @public (undocumented) +const RealContentHashPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type RelayOptions = boolean | RawRelayConfig | undefined; + // @public (undocumented) export type Remotes = (RemotesItem | RemotesObject)[] | RemotesObject; @@ -1978,38 +7685,428 @@ export type RemotesObject = { [k: string]: RemotesConfig | RemotesItem | RemotesItems; }; -// Warning: (ae-forgotten-export) The symbol "resolve" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const RemoveEmptyChunksPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + // @public (undocumented) export type Resolve = z.infer; -// Warning: (ae-forgotten-export) The symbol "resolveAlias" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const resolve: z.ZodType; + // @public (undocumented) export type ResolveAlias = z.infer; -// Warning: (ae-forgotten-export) The symbol "baseResolveOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const resolveAlias: z.ZodRecord, z.ZodString]>, z.ZodArray]>, "many">]>>; + +// @public (undocumented) +type ResolveData = { + context: string; + request: string; + fileDependencies: string[]; + missingDependencies: string[]; + contextDependencies: string[]; + createData?: CreateData; +}; + // @public (undocumented) export type ResolveOptions = z.infer & { byDependency?: Record; }; -// Warning: (ae-forgotten-export) The symbol "resolveTsconfig" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type ResolveTsconfig = z.infer; -// Warning: (ae-forgotten-export) The symbol "Rspack" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const resolveTsconfig: z.ZodObject<{ + configFile: z.ZodString; + references: z.ZodOptional, z.ZodLiteral<"auto">]>>; +}, "strict", z.ZodTypeAny, { + configFile: string; + references?: string[] | "auto" | undefined; +}, { + configFile: string; + references?: string[] | "auto" | undefined; +}>; + +// @public (undocumented) +type ResourceData = { + resource: string; + path: string; + query?: string; + fragment?: string; +}; + +// @public (undocumented) +type ResourceDataWithData = ResourceData & { + data?: Record; +}; + +// @public (undocumented) +type Rspack = typeof rspack_2 & typeof rspackExports & { + rspack: Rspack; + webpack: Rspack; +}; + // @public (undocumented) export const rspack: Rspack; -// Warning: (ae-forgotten-export) The symbol "rspackFutureOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +function rspack_2(options: MultiRspackOptions): MultiCompiler; + +// @public (undocumented) +function rspack_2(options: RspackOptions): Compiler; + +// @public (undocumented) +function rspack_2(options: MultiRspackOptions | RspackOptions): MultiCompiler | Compiler; + +// @public (undocumented) +function rspack_2(options: MultiRspackOptions, callback?: Callback_2): null | MultiCompiler; + +// @public (undocumented) +function rspack_2(options: RspackOptions, callback?: Callback_2): null | Compiler; + +// @public (undocumented) +function rspack_2(options: MultiRspackOptions | RspackOptions, callback?: Callback_2): null | MultiCompiler | Compiler; + +// @public (undocumented) +abstract class RspackBuiltinPlugin implements RspackPluginInstance { + // (undocumented) + affectedHooks?: AffectedHooks; + // (undocumented) + apply(compiler: Compiler): void; + // (undocumented) + abstract name: binding.BuiltinPluginName; + // (undocumented) + abstract raw(compiler: Compiler): binding.BuiltinPlugin | undefined; +} + +declare namespace rspackExports { + export { + version, + rspackVersion, + Compiler, + Compilation, + Asset, + AssetInfo, + Assets, + LogEntry, + CompilationParams, + MultiCompiler, + MultiCompilerOptions, + MultiRspackOptions, + RspackOptionsApply, + RspackOptionsApply as WebpackOptionsApply, + RuntimeGlobals, + Stats, + StatsCompilation, + StatsAsset, + StatsChunk, + StatsError, + StatsModule, + StatsWarnings, + MultiStats, + ChunkGroup, + NormalModuleFactory, + NormalModule, + ModuleFilenameHelpers, + Template, + WebpackError, + Watching, + sources, + config, + util, + experimental_registerGlobalTrace, + experimental_cleanupGlobalTrace, + EntryOptionPlugin, + BannerPlugin, + BannerPluginArgument, + IgnorePlugin, + IgnorePluginOptions, + ProvidePlugin, + ProvidePluginOptions, + DefinePlugin, + DefinePluginOptions, + ProgressPlugin, + ProgressPluginArgument, + EntryPlugin, + EntryOptions, + ExternalsPlugin, + HotModuleReplacementPlugin, + LoaderOptionsPlugin, + LoaderTargetPlugin, + EnvironmentPlugin, + NormalModuleReplacementPlugin, + node, + electron, + library, + wasm, + javascript, + webworker, + optimize, + ModuleFederationPluginOptions, + ModuleFederationPluginV1Options, + ContainerPluginOptions, + Exposes, + ExposesItem, + ExposesItems, + ExposesObject, + ExposesConfig, + ContainerReferencePluginOptions, + Remotes, + RemotesItem, + RemotesItems, + RemotesObject, + RemotesConfig, + container, + ProvideSharedPluginOptions, + Provides, + ProvidesConfig, + ProvidesItem, + ProvidesObject, + ConsumeSharedPluginOptions, + Consumes, + ConsumesConfig, + ConsumesItem, + ConsumesObject, + SharePluginOptions, + Shared, + SharedConfig, + SharedItem, + SharedObject, + sharing, + HtmlRspackPlugin, + HtmlRspackPluginOptions, + SwcJsMinimizerRspackPlugin, + SwcJsMinimizerRspackPluginOptions, + SwcCssMinimizerRspackPlugin, + CopyRspackPlugin, + CopyRspackPluginOptions, + SourceMapDevToolPlugin, + EvalSourceMapDevToolPlugin, + SourceMapDevToolPluginOptions, + EvalDevToolModulePlugin, + EvalDevToolModulePluginOptions, + CssExtractRspackPlugin, + SwcLoaderOptions, + SwcLoaderEnvConfig, + SwcLoaderJscConfig, + SwcLoaderModuleConfig, + SwcLoaderParserConfig, + SwcLoaderEsParserConfig, + SwcLoaderTsParserConfig, + SwcLoaderTransformConfig, + getNormalizedRspackOptions, + EntryNormalized, + EntryStaticNormalized, + EntryDescriptionNormalized, + OutputNormalized, + ModuleOptionsNormalized, + ExperimentsNormalized, + IgnoreWarningsNormalized, + OptimizationRuntimeChunkNormalized, + RspackOptionsNormalized, + Name, + Dependencies, + Context, + Mode, + Falsy, + RawPublicPath, + PublicPath, + BaseUri, + ChunkLoadingType, + ChunkLoading, + AsyncChunks, + WasmLoadingType, + WasmLoading, + ScriptType, + LibraryCustomUmdObject, + LibraryName, + LibraryCustomUmdCommentObject, + AmdContainer, + AuxiliaryComment, + LibraryExport, + LibraryType, + UmdNamedDefine, + LibraryOptions, + Library, + FilenameTemplate, + Filename, + EntryFilename, + EntryRuntime, + EntryItem, + EntryDependOn, + EntryDescription, + EntryUnnamed, + EntryObject, + EntryStatic, + Entry, + Path, + AssetModuleFilename, + WebassemblyModuleFilename, + ChunkFilename, + CrossOriginLoading, + CssFilename, + CssChunkFilename, + HotUpdateChunkFilename, + HotUpdateMainFilename, + HotUpdateGlobal, + UniqueName, + ChunkLoadingGlobal, + EnabledLibraryTypes, + Clean, + OutputModule, + StrictModuleExceptionHandling, + StrictModuleErrorHandling, + GlobalObject, + EnabledWasmLoadingTypes, + ImportFunctionName, + Iife, + EnabledChunkLoadingTypes, + ChunkFormat, + WorkerPublicPath, + TrustedTypes, + HashDigest, + HashDigestLength, + HashFunction, + HashSalt, + SourceMapFilename, + DevtoolNamespace, + DevtoolModuleFilenameTemplate, + DevtoolFallbackModuleFilenameTemplate, + Output, + ResolveAlias, + ResolveTsconfig, + ResolveOptions, + Resolve, + RuleSetCondition, + RuleSetConditions, + RuleSetLogicalConditions, + RuleSetLoader, + RuleSetLoaderOptions, + RuleSetLoaderWithOptions, + RuleSetUseItem, + RuleSetUse, + RuleSetRule, + RuleSetRules, + AssetParserDataUrlOptions, + AssetParserDataUrl, + AssetParserOptions, + CssParserNamedExports, + CssParserOptions, + CssAutoParserOptions, + CssModuleParserOptions, + JavascriptParserOptions, + ParserOptionsByModuleTypeKnown, + ParserOptionsByModuleTypeUnknown, + ParserOptionsByModuleType, + AssetGeneratorDataUrlOptions, + AssetGeneratorDataUrlFunction, + AssetGeneratorDataUrl, + AssetInlineGeneratorOptions, + AssetResourceGeneratorOptions, + AssetGeneratorOptions, + CssGeneratorExportsConvention, + CssGeneratorExportsOnly, + CssGeneratorLocalIdentName, + CssGeneratorOptions, + CssAutoGeneratorOptions, + CssModuleGeneratorOptions, + GeneratorOptionsByModuleTypeKnown, + GeneratorOptionsByModuleTypeUnknown, + GeneratorOptionsByModuleType, + NoParseOption, + ModuleOptions, + Target, + externalsType, + ExternalsType, + ExternalItemValue, + ExternalItemObjectUnknown, + ExternalItemFunctionData, + ExternalItem, + Externals, + ExternalsPresets, + FilterItemTypes, + FilterTypes, + InfrastructureLogging, + DevTool, + NodeOptions, + Node_2 as Node, + SnapshotOptions, + CacheOptions, + StatsOptions, + StatsValue, + RspackPluginInstance, + RspackPluginFunction, + Plugins, + OptimizationRuntimeChunk, + OptimizationSplitChunksNameFunction, + OptimizationSplitChunksCacheGroup, + OptimizationSplitChunksOptions, + Optimization, + RspackFutureOptions, + Experiments, + Watch, + WatchOptions, + DevServer, + IgnoreWarnings, + Profile, + Bail, + Builtins, + rspackOptions, + RspackOptions, + Configuration, + applyRspackOptionsDefaults, + applyRspackOptionsBaseDefaults, + getRawLibrary, + getRawEntryRuntime, + getRawChunkLoading, + LoaderContext, + LoaderDefinition, + LoaderDefinitionFunction, + getRawOptions + } +} + // @public (undocumented) export type RspackFutureOptions = z.infer; +// @public (undocumented) +const rspackFutureOptions: z.ZodObject<{ + newTreeshaking: z.ZodOptional; + bundlerInfo: z.ZodOptional; + force: z.ZodOptional, "many">]>>; + }, "strict", z.ZodTypeAny, { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + }, { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + newTreeshaking?: boolean | undefined; + bundlerInfo?: { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + } | undefined; +}, { + newTreeshaking?: boolean | undefined; + bundlerInfo?: { + version?: string | undefined; + force?: boolean | "version"[] | undefined; + } | undefined; +}>; + // @public (undocumented) export type RspackOptions = z.infer; @@ -4786,29 +10883,67 @@ export interface RspackPluginInstance { // @public (undocumented) export const rspackVersion: any; -// Warning: (ae-forgotten-export) The symbol "baseRuleSetCondition" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +type Rule = z.infer; + +// @public (undocumented) +const rule: z.ZodUnion<[z.ZodString, z.ZodType]>; + +// @public +type Rule_2 = RegExp | string; + +// @public (undocumented) +type Rules = z.infer; + +// @public (undocumented) +const rules: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType]>, z.ZodArray]>, "many">]>; + +// @public +type Rules_2 = Rule_2[] | Rule_2; + +// @public (undocumented) +class RuleSetCompiler { + constructor(); + // (undocumented) + references: Map; +} + // @public (undocumented) export type RuleSetCondition = z.infer | RuleSetConditions | RuleSetLogicalConditions; // @public (undocumented) export type RuleSetConditions = RuleSetCondition[]; -// Warning: (ae-forgotten-export) The symbol "ruleSetLoader" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type RuleSetLoader = z.infer; -// Warning: (ae-forgotten-export) The symbol "ruleSetLoaderOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const ruleSetLoader: z.ZodString; + // @public (undocumented) export type RuleSetLoaderOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "ruleSetLoaderWithOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const ruleSetLoaderOptions: z.ZodUnion<[z.ZodString, z.ZodRecord]>; + // @public (undocumented) export type RuleSetLoaderWithOptions = z.infer; +// @public (undocumented) +const ruleSetLoaderWithOptions: z.ZodObject<{ + ident: z.ZodOptional; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}>; + // @public (undocumented) export type RuleSetLogicalConditions = { and?: RuleSetConditions; @@ -4816,29 +10951,78 @@ export type RuleSetLogicalConditions = { not?: RuleSetCondition; }; -// Warning: (ae-forgotten-export) The symbol "baseRuleSetRule" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type RuleSetRule = z.infer & { oneOf?: RuleSetRule[]; rules?: RuleSetRule[]; }; -// Warning: (ae-forgotten-export) The symbol "ruleSetRules" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type RuleSetRules = z.infer; -// Warning: (ae-forgotten-export) The symbol "ruleSetUse" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const ruleSetRules: z.ZodArray, z.ZodType]>, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">; + // @public (undocumented) export type RuleSetUse = z.infer; -// Warning: (ae-forgotten-export) The symbol "ruleSetUseItem" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const ruleSetUse: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{ + ident: z.ZodOptional; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}>]>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}>]>, "many">]>, z.ZodFunction], z.ZodUnknown>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}>]>, "many">>]>; + // @public (undocumented) export type RuleSetUseItem = z.infer; +// @public (undocumented) +const ruleSetUseItem: z.ZodUnion<[z.ZodString, z.ZodObject<{ + ident: z.ZodOptional; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}, { + loader: string; + ident?: string | undefined; + options?: string | Record | undefined; +}>]>; + // @public export const RuntimeGlobals: { readonly require: "__webpack_require__"; @@ -4913,11 +11097,29 @@ export const RuntimeGlobals: { readonly asyncModule: "__webpack_require__.a"; }; -// Warning: (ae-forgotten-export) The symbol "scriptType" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const RuntimePlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type RuntimePlugins = string[]; + +// @public (undocumented) +const safeStage: (stage: number) => number; + // @public (undocumented) export type ScriptType = z.infer; +// @public (undocumented) +const scriptType: z.ZodUnion<[z.ZodEnum<["text/javascript", "module"]>, z.ZodLiteral]>; + // @public (undocumented) export type Shared = (SharedItem | SharedObject)[] | SharedObject; @@ -4942,6 +11144,39 @@ export type SharedObject = { [k: string]: SharedConfig | SharedItem; }; +// @public (undocumented) +class SharePlugin { + constructor(options: SharePluginOptions); + // (undocumented) + apply(compiler: Compiler): void; + // (undocumented) + _consumes: { + [x: string]: { + import: string | false | undefined; + shareKey: string; + shareScope: string | undefined; + requiredVersion: string | false | undefined; + strictVersion: boolean | undefined; + singleton: boolean | undefined; + packageName: string | undefined; + eager: boolean | undefined; + }; + }[]; + // (undocumented) + _enhanced: boolean; + // (undocumented) + _provides: { + [x: string]: { + shareKey: string; + shareScope: string | undefined; + version: string | false | undefined; + eager: boolean | undefined; + }; + }[]; + // (undocumented) + _shareScope: string | undefined; +} + // @public (undocumented) export type SharePluginOptions = { shareScope?: string; @@ -4956,11 +11191,83 @@ export const sharing: { SharePlugin: typeof SharePlugin; }; -// Warning: (ae-forgotten-export) The symbol "snapshotOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const SideEffectsFlagPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +const SINGLE_DOT_PATH_SEGMENT = "__mini_css_extract_plugin_single_dot_path_segment__"; + // @public (undocumented) export type SnapshotOptions = z.infer; +// @public (undocumented) +const snapshotOptions: z.ZodObject<{ + module: z.ZodOptional; + timestamp: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + }, { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + }>>; + resolve: z.ZodOptional; + timestamp: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + }, { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + module?: { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + } | undefined; + resolve?: { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + } | undefined; +}, { + module?: { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + } | undefined; + resolve?: { + hash?: boolean | undefined; + timestamp?: boolean | undefined; + } | undefined; +}>; + +// @public (undocumented) +interface SourceMap { + // (undocumented) + file?: string; + // (undocumented) + mappings: string; + // (undocumented) + names?: string[]; + // (undocumented) + sourceRoot?: string; + // (undocumented) + sources: string[]; + // (undocumented) + sourcesContent?: string[]; + // (undocumented) + version: number; +} + // @public (undocumented) export const SourceMapDevToolPlugin: { new (options: SourceMapDevToolPluginOptions): { @@ -4974,23 +11281,36 @@ export const SourceMapDevToolPlugin: { // @public (undocumented) export interface SourceMapDevToolPluginOptions extends Omit { - // Warning: (ae-forgotten-export) The symbol "Rules_2" needs to be exported by the entry point index.d.ts - // // (undocumented) exclude?: Rules_2; // (undocumented) - include?: Rules_2; + include?: Rules_2; + // (undocumented) + test?: Rules_2; +} + +// @public (undocumented) +export type SourceMapFilename = z.infer; + +// @public (undocumented) +const sourceMapFilename: z.ZodString; + +// @public (undocumented) +export const sources: any; + +// @public (undocumented) +class SplitChunksPlugin extends RspackBuiltinPlugin { + constructor(options: OptimizationSplitChunksOptions); + // (undocumented) + affectedHooks: "thisCompilation"; + // (undocumented) + name: BuiltinPluginName; // (undocumented) - test?: Rules_2; + raw(compiler: Compiler): BuiltinPlugin; } -// Warning: (ae-forgotten-export) The symbol "sourceMapFilename" needs to be exported by the entry point index.d.ts -// // @public (undocumented) -export type SourceMapFilename = z.infer; - -// @public (undocumented) -export const sources: any; +type StageRange = readonly [number, number]; // @public (undocumented) export class Stats { @@ -5009,52 +11329,337 @@ export class Stats { toString(opts?: StatsValue): string; } -// Warning: (ae-forgotten-export) The symbol "KnownStatsAsset" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type StatsAsset = KnownStatsAsset & Record; -// Warning: (ae-forgotten-export) The symbol "KnownStatsChunk" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type StatsChunk = KnownStatsChunk & Record; -// Warning: (ae-forgotten-export) The symbol "KnownStatsCompilation" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +type StatsChunkGroup = binding.JsStatsChunkGroup & Record; + // @public (undocumented) export type StatsCompilation = KnownStatsCompilation & Record; // @public (undocumented) export type StatsError = binding.JsStatsError & Record; -// Warning: (ae-forgotten-export) The symbol "KnownStatsModule" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +class StatsFactory { + constructor(); + // (undocumented) + create(type: string, data: any, baseContext: Omit): any; + // (undocumented) + _forEachLevel(hookMap: HookMap_2, cache: CacheHookMap, type: string, fn: CallFn): any; + // (undocumented) + _forEachLevelFilter(hookMap: HookMap_2, cache: CacheHookMap, type: string, items: any[], fn: CallFn, forceClone: boolean): any[]; + // (undocumented) + _forEachLevelWaterfall(hookMap: HookMap_2, cache: CacheHookMap, type: string, data: any, fn: CallFn): any; + // (undocumented) + _getAllLevelHooks(hookMap: HookMap_2, cache: CacheHookMap, type: string): any[]; + // (undocumented) + hooks: Hooks; +} + +// @public (undocumented) +type StatsFactoryContext = KnownStatsFactoryContext & Record; + +// @public (undocumented) +type StatsLogging = KnownStatsLogging & Record; + +// @public (undocumented) +type StatsLoggingEntry = KnownStatsLoggingEntry & Record; + // @public (undocumented) export type StatsModule = KnownStatsModule & Record; -// Warning: (ae-forgotten-export) The symbol "statsOptions" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +type StatsModuleReason = binding.JsStatsModuleReason & Record; + // @public (undocumented) export type StatsOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "statsValue" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const statsOptions: z.ZodObject<{ + all: z.ZodOptional; + preset: z.ZodOptional>; + assets: z.ZodOptional; + chunks: z.ZodOptional; + modules: z.ZodOptional; + entrypoints: z.ZodOptional; + chunkGroups: z.ZodOptional; + warnings: z.ZodOptional; + warningsCount: z.ZodOptional; + errors: z.ZodOptional; + errorsCount: z.ZodOptional; + colors: z.ZodOptional; + hash: z.ZodOptional; + version: z.ZodOptional; + reasons: z.ZodOptional; + publicPath: z.ZodOptional; + outputPath: z.ZodOptional; + chunkModules: z.ZodOptional; + chunkRelations: z.ZodOptional; + ids: z.ZodOptional; + timings: z.ZodOptional; + builtAt: z.ZodOptional; + moduleAssets: z.ZodOptional; + modulesSpace: z.ZodOptional; + nestedModules: z.ZodOptional; + source: z.ZodOptional; + logging: z.ZodOptional, z.ZodBoolean]>>; + loggingDebug: z.ZodOptional, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>]>]>>; + loggingTrace: z.ZodOptional; + runtimeModules: z.ZodOptional; + children: z.ZodOptional; + usedExports: z.ZodOptional; + providedExports: z.ZodOptional; + optimizationBailout: z.ZodOptional; + orphanModules: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + all?: boolean | undefined; + preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined; + assets?: boolean | undefined; + chunks?: boolean | undefined; + modules?: boolean | undefined; + entrypoints?: boolean | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + hash?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + publicPath?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + modulesSpace?: number | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined; + loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + loggingTrace?: boolean | undefined; + runtimeModules?: boolean | undefined; + children?: boolean | undefined; + usedExports?: boolean | undefined; + providedExports?: boolean | undefined; + optimizationBailout?: boolean | undefined; + orphanModules?: boolean | undefined; +}, { + all?: boolean | undefined; + preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined; + assets?: boolean | undefined; + chunks?: boolean | undefined; + modules?: boolean | undefined; + entrypoints?: boolean | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + hash?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + publicPath?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + modulesSpace?: number | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined; + loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + loggingTrace?: boolean | undefined; + runtimeModules?: boolean | undefined; + children?: boolean | undefined; + usedExports?: boolean | undefined; + providedExports?: boolean | undefined; + optimizationBailout?: boolean | undefined; + orphanModules?: boolean | undefined; +}>; + +// @public (undocumented) +class StatsPrinter { + constructor(); + // (undocumented) + hooks: Readonly<{ + sortElements: HookMap_2>; + printElements: HookMap_2>; + sortItems: HookMap_2>; + getItemName: HookMap_2>; + printItems: HookMap_2>; + print: HookMap_2>; + result: HookMap_2>; + }>; + // (undocumented) + print(type: string, object: { + [key: string]: any; + }, baseContext?: { + [key: string]: any; + }): string; +} + +// @public (undocumented) +type StatsPrinterContext = KnownStatsPrinterContext & Record; + +// @public (undocumented) +type StatsProfile = KnownStatsProfile & Record; + // @public (undocumented) export type StatsValue = z.infer; +// @public (undocumented) +const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{ + all: z.ZodOptional; + preset: z.ZodOptional>; + assets: z.ZodOptional; + chunks: z.ZodOptional; + modules: z.ZodOptional; + entrypoints: z.ZodOptional; + chunkGroups: z.ZodOptional; + warnings: z.ZodOptional; + warningsCount: z.ZodOptional; + errors: z.ZodOptional; + errorsCount: z.ZodOptional; + colors: z.ZodOptional; + hash: z.ZodOptional; + version: z.ZodOptional; + reasons: z.ZodOptional; + publicPath: z.ZodOptional; + outputPath: z.ZodOptional; + chunkModules: z.ZodOptional; + chunkRelations: z.ZodOptional; + ids: z.ZodOptional; + timings: z.ZodOptional; + builtAt: z.ZodOptional; + moduleAssets: z.ZodOptional; + modulesSpace: z.ZodOptional; + nestedModules: z.ZodOptional; + source: z.ZodOptional; + logging: z.ZodOptional, z.ZodBoolean]>>; + loggingDebug: z.ZodOptional, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodType, z.ZodString]>, z.ZodFunction, z.ZodBoolean>]>]>]>>; + loggingTrace: z.ZodOptional; + runtimeModules: z.ZodOptional; + children: z.ZodOptional; + usedExports: z.ZodOptional; + providedExports: z.ZodOptional; + optimizationBailout: z.ZodOptional; + orphanModules: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + all?: boolean | undefined; + preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined; + assets?: boolean | undefined; + chunks?: boolean | undefined; + modules?: boolean | undefined; + entrypoints?: boolean | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + hash?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + publicPath?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + modulesSpace?: number | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined; + loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + loggingTrace?: boolean | undefined; + runtimeModules?: boolean | undefined; + children?: boolean | undefined; + usedExports?: boolean | undefined; + providedExports?: boolean | undefined; + optimizationBailout?: boolean | undefined; + orphanModules?: boolean | undefined; +}, { + all?: boolean | undefined; + preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined; + assets?: boolean | undefined; + chunks?: boolean | undefined; + modules?: boolean | undefined; + entrypoints?: boolean | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + hash?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + publicPath?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + modulesSpace?: number | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined; + loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + loggingTrace?: boolean | undefined; + runtimeModules?: boolean | undefined; + children?: boolean | undefined; + usedExports?: boolean | undefined; + providedExports?: boolean | undefined; + optimizationBailout?: boolean | undefined; + orphanModules?: boolean | undefined; +}>]>; + // @public (undocumented) export type StatsWarnings = binding.JsStatsWarning & Record; -// Warning: (ae-forgotten-export) The symbol "strictModuleErrorHandling" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type StrictModuleErrorHandling = z.infer; -// Warning: (ae-forgotten-export) The symbol "strictModuleExceptionHandling" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const strictModuleErrorHandling: z.ZodBoolean; + // @public (undocumented) export type StrictModuleExceptionHandling = z.infer; +// @public (undocumented) +const strictModuleExceptionHandling: z.ZodBoolean; + +// @public (undocumented) +type StyledComponentsOptions = { + displayName?: boolean; + ssr?: boolean; + fileName?: boolean; + meaninglessFileNames?: string[]; + namespace?: string; + topLevelImportPaths?: string[]; + transpileTemplateLiterals?: boolean; + minify?: boolean; + pure?: boolean; + cssProps?: boolean; +}; + // @public (undocumented) export const SwcCssMinimizerRspackPlugin: { new (options?: any): { @@ -5157,19 +11762,11 @@ export interface SwcLoaderJscConfig { }; // (undocumented) preserveAllComments?: boolean; - // Warning: (ae-forgotten-export) The symbol "JscTarget" needs to be exported by the entry point index.d.ts target?: JscTarget; // (undocumented) transform?: SwcLoaderTransformConfig; } -// Warning: (ae-forgotten-export) The symbol "Es6Config" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "CommonJsConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "UmdConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "AmdConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "NodeNextConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "SystemjsConfig" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type SwcLoaderModuleConfig = Es6Config | CommonJsConfig | UmdConfig | AmdConfig | NodeNextConfig | SystemjsConfig; @@ -5197,16 +11794,12 @@ export type SwcLoaderParserConfig = SwcLoaderTsParserConfig | SwcLoaderEsParserC // @public (undocumented) export interface SwcLoaderTransformConfig { - // Warning: (ae-forgotten-export) The symbol "ConstModulesConfig" needs to be exported by the entry point index.d.ts - // // (undocumented) constModules?: ConstModulesConfig; decoratorMetadata?: boolean; decoratorVersion?: "2021-12" | "2022-03"; legacyDecorator?: boolean; - // Warning: (ae-forgotten-export) The symbol "OptimizerConfig" needs to be exported by the entry point index.d.ts optimizer?: OptimizerConfig; - // Warning: (ae-forgotten-export) The symbol "ReactOptions" needs to be exported by the entry point index.d.ts react?: ReactOptions; // (undocumented) treatConstEnumAsEnum?: boolean; @@ -5223,28 +11816,258 @@ export interface SwcLoaderTsParserConfig { tsx?: boolean; } -// Warning: (ae-forgotten-export) The symbol "target" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +class SyncBailHook extends Hook { + // (undocumented) + call(...args: AsArray): R; + // (undocumented) + callAsyncStageRange(queried: QueriedHook, ...args: Append, Callback>): void; + // (undocumented) + callStageRange(queried: QueriedHook, ...args: AsArray): R; + // (undocumented) + tapAsync(): never; + // (undocumented) + tapPromise(): never; +} + +// @public (undocumented) +class SyncHook extends Hook { + // (undocumented) + call(...args: AsArray): R; + // (undocumented) + callAsyncStageRange(queried: QueriedHook, ...args: Append, Callback>): void; + // (undocumented) + callStageRange(queried: QueriedHook, ...args: AsArray): R; + // (undocumented) + tapAsync(): never; + // (undocumented) + tapPromise(): never; +} + +// @public (undocumented) +interface SystemjsConfig { + // (undocumented) + allowTopLevelThis?: boolean; + // (undocumented) + type: "systemjs"; +} + +// @public (undocumented) +type Tap = TapOptions & { + name: string; +}; + +// @public (undocumented) +type TapOptions = { + before?: string; + stage?: number; +}; + // @public (undocumented) export type Target = z.infer; +// @public (undocumented) +const target: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>]>, z.ZodArray, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>, "many">]>; + export { Template } -// Warning: (ae-forgotten-export) The symbol "trustedTypes" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +interface TerserCompressOptions { + // (undocumented) + arguments?: boolean; + // (undocumented) + arrows?: boolean; + // (undocumented) + booleans?: boolean; + // (undocumented) + booleans_as_integers?: boolean; + // (undocumented) + collapse_vars?: boolean; + // (undocumented) + comparisons?: boolean; + // (undocumented) + computed_props?: boolean; + // (undocumented) + conditionals?: boolean; + // (undocumented) + const_to_let?: boolean; + // (undocumented) + dead_code?: boolean; + // (undocumented) + defaults?: boolean; + // (undocumented) + directives?: boolean; + // (undocumented) + drop_console?: boolean; + // (undocumented) + drop_debugger?: boolean; + // (undocumented) + ecma?: TerserEcmaVersion; + // (undocumented) + evaluate?: boolean; + // (undocumented) + expression?: boolean; + // (undocumented) + global_defs?: any; + // (undocumented) + hoist_funs?: boolean; + // (undocumented) + hoist_props?: boolean; + // (undocumented) + hoist_vars?: boolean; + // (undocumented) + ie8?: boolean; + // (undocumented) + if_return?: boolean; + // (undocumented) + inline?: 0 | 1 | 2 | 3; + // (undocumented) + join_vars?: boolean; + // (undocumented) + keep_classnames?: boolean; + // (undocumented) + keep_fargs?: boolean; + // (undocumented) + keep_fnames?: boolean; + // (undocumented) + keep_infinity?: boolean; + // (undocumented) + loops?: boolean; + // (undocumented) + module?: boolean; + // (undocumented) + negate_iife?: boolean; + // (undocumented) + passes?: number; + // (undocumented) + properties?: boolean; + // (undocumented) + pure_funcs?: string[]; + // (undocumented) + pure_getters?: any; + // (undocumented) + reduce_funcs?: boolean; + // (undocumented) + reduce_vars?: boolean; + // (undocumented) + sequences?: any; + // (undocumented) + side_effects?: boolean; + // (undocumented) + switches?: boolean; + // (undocumented) + top_retain?: any; + // (undocumented) + toplevel?: any; + // (undocumented) + typeofs?: boolean; + // (undocumented) + unsafe?: boolean; + // (undocumented) + unsafe_arrows?: boolean; + // (undocumented) + unsafe_comps?: boolean; + // (undocumented) + unsafe_function?: boolean; + // (undocumented) + unsafe_math?: boolean; + // (undocumented) + unsafe_methods?: boolean; + // (undocumented) + unsafe_passes?: boolean; + // (undocumented) + unsafe_proto?: boolean; + // (undocumented) + unsafe_regexp?: boolean; + // (undocumented) + unsafe_symbols?: boolean; + // (undocumented) + unsafe_undefined?: boolean; + // (undocumented) + unused?: boolean; +} + +// @public (undocumented) +type TerserEcmaVersion = 5 | 2015 | 2016 | string | number; + +// @public (undocumented) +interface TerserMangleOptions { + // (undocumented) + ie8?: boolean; + // (undocumented) + keep_classnames?: boolean; + // (undocumented) + keep_fnames?: boolean; + // (undocumented) + keep_private_props?: boolean; + // (undocumented) + props?: TerserManglePropertiesOptions; + // (undocumented) + reserved?: string[]; + // (undocumented) + safari10?: boolean; + // (undocumented) + toplevel?: boolean; +} + +// @public (undocumented) +interface TerserManglePropertiesOptions { +} + +// @public (undocumented) +const TIMERS_AGGREGATES_SYMBOL: unique symbol; + +// @public (undocumented) +const TIMERS_SYMBOL: unique symbol; + +// @public (undocumented) +type ToSnakeCase = T extends `${infer A}${infer B}` ? `${A extends Lowercase ? A : `_${Lowercase}`}${ToSnakeCase}` : T; + +// @public (undocumented) +type ToSnakeCaseProperties = { + [K in keyof T as K extends string ? ToSnakeCase : K]: T[K]; +}; + // @public (undocumented) export type TrustedTypes = z.infer; -// Warning: (ae-forgotten-export) The symbol "umdNamedDefine" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const trustedTypes: z.ZodObject<{ + policyName: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + policyName?: string | undefined; +}, { + policyName?: string | undefined; +}>; + +// @public (undocumented) +interface UmdConfig extends BaseModuleConfig { + // (undocumented) + globals?: { + [key: string]: string; + }; + // (undocumented) + type: "umd"; +} + // @public (undocumented) export type UmdNamedDefine = z.infer; -// Warning: (ae-forgotten-export) The symbol "uniqueName" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const umdNamedDefine: z.ZodBoolean; + // @public (undocumented) export type UniqueName = z.infer; +// @public (undocumented) +const uniqueName: z.ZodString; + +// @public (undocumented) +class UnsetAdditionalOptions { + // (undocumented) + _UnsetAdditionalOptions: true; +} + // @public (undocumented) export const util: { createHash: (algorithm: any) => any; @@ -5254,26 +12077,80 @@ export const util: { // @public (undocumented) export const version: any; -// Warning: (ae-forgotten-export) The symbol "Wasm" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const WarnCaseSensitiveModulesPlugin: { + new (): { + name: BuiltinPluginName; + _options: void; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +interface Wasm { + // (undocumented) + EnableWasmLoadingPlugin: typeof EnableWasmLoadingPlugin; +} + // @public (undocumented) export const wasm: Wasm; -// Warning: (ae-forgotten-export) The symbol "wasmLoading" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type WasmLoading = z.infer; -// Warning: (ae-forgotten-export) The symbol "wasmLoadingType" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const wasmLoading: z.ZodUnion<[z.ZodLiteral, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>; + // @public (undocumented) export type WasmLoadingType = z.infer; -// Warning: (ae-forgotten-export) The symbol "watch" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const wasmLoadingType: z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>; + // @public (undocumented) export type Watch = z.infer; +// @public (undocumented) +const watch: z.ZodBoolean; + +// @public (undocumented) +interface Watcher { + // (undocumented) + close(): void; + // (undocumented) + getAggregatedChanges?(): Set; + // (undocumented) + getAggregatedRemovals?(): Set; + // (undocumented) + getContextTimeInfoEntries?(): Map; + // (undocumented) + getFileTimeInfoEntries?(): Map; + // (undocumented) + getInfo(): WatcherInfo; + // (undocumented) + pause(): void; +} + +// @public (undocumented) +interface WatcherInfo { + // (undocumented) + changes: Set; + // (undocumented) + contextTimeInfoEntries: Map; + // (undocumented) + fileTimeInfoEntries: Map; + // (undocumented) + removals: Set; +} + +// @public (undocumented) +interface WatchFileSystem { + // (undocumented) + watch(files: Iterable, directories: Iterable, missing: Iterable, startTime: number, options: WatchOptions, callback: (error: Error | null, fileTimeInfoEntries: Map, contextTimeInfoEntries: Map, changedFiles: Set, removedFiles: Set) => void, callbackUndelayed: (fileName: string, changeTime: number) => void): Watcher; +} + // @public (undocumented) export class Watching { constructor(compiler: Compiler, watchOptions: WatchOptions, handler: (error?: Error, stats?: Stats) => void); @@ -5313,70 +12190,79 @@ export class Watching { suspended: boolean; // (undocumented) watch(files: Iterable, dirs: Iterable, missing: Iterable): void; - // Warning: (ae-forgotten-export) The symbol "Watcher" needs to be exported by the entry point index.d.ts - // // (undocumented) watcher?: Watcher; // (undocumented) watchOptions: WatchOptions; } -// Warning: (ae-forgotten-export) The symbol "watchOptions" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type WatchOptions = z.infer; -// Warning: (ae-forgotten-export) The symbol "webassemblyModuleFilename" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const watchOptions: z.ZodObject<{ + aggregateTimeout: z.ZodOptional; + followSymlinks: z.ZodOptional; + ignored: z.ZodOptional, z.ZodType]>, z.ZodString]>>; + poll: z.ZodOptional>; + stdin: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + aggregateTimeout?: number | undefined; + followSymlinks?: boolean | undefined; + ignored?: string | RegExp | string[] | undefined; + poll?: number | boolean | undefined; + stdin?: boolean | undefined; +}, { + aggregateTimeout?: number | undefined; + followSymlinks?: boolean | undefined; + ignored?: string | RegExp | string[] | undefined; + poll?: number | boolean | undefined; + stdin?: boolean | undefined; +}>; + // @public (undocumented) export type WebassemblyModuleFilename = z.infer; +// @public (undocumented) +const webassemblyModuleFilename: z.ZodString; + // @public (undocumented) export const WebpackError: ErrorConstructor; -// Warning: (ae-forgotten-export) The symbol "Webworker" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +interface Webworker { + // (undocumented) + WebWorkerTemplatePlugin: typeof WebWorkerTemplatePlugin; +} + // @public (undocumented) export const webworker: Webworker; -// Warning: (ae-forgotten-export) The symbol "workerPublicPath" needs to be exported by the entry point index.d.ts -// +// @public (undocumented) +const WebWorkerTemplatePlugin: { + new (): { + name: BuiltinPluginName; + _options: undefined; + affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +class WorkerPlugin extends RspackBuiltinPlugin { + constructor(chunkLoading: ChunkLoading, wasmLoading: WasmLoading, module: OutputModule, workerPublicPath: WorkerPublicPath); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + // @public (undocumented) export type WorkerPublicPath = z.infer; -// Warnings were encountered during analysis: -// -// dist/Compilation.d.ts:66:9 - (ae-forgotten-export) The symbol "liteTapable" needs to be exported by the entry point index.d.ts -// dist/Compilation.d.ts:71:9 - (ae-forgotten-export) The symbol "Module" needs to be exported by the entry point index.d.ts -// dist/Compilation.d.ts:73:9 - (ae-forgotten-export) The symbol "Chunk" needs to be exported by the entry point index.d.ts -// dist/Compilation.d.ts:86:9 - (ae-forgotten-export) The symbol "StatsFactory" needs to be exported by the entry point index.d.ts -// dist/Compilation.d.ts:87:9 - (ae-forgotten-export) The symbol "StatsPrinter" needs to be exported by the entry point index.d.ts -// dist/Compilation.d.ts:89:9 - (ae-forgotten-export) The symbol "ExecuteModuleArgument" needs to be exported by the entry point index.d.ts -// dist/Compilation.d.ts:89:9 - (ae-forgotten-export) The symbol "ExecuteModuleContext" needs to be exported by the entry point index.d.ts -// dist/Compiler.d.ts:82:9 - (ae-forgotten-export) The symbol "AssetEmittedInfo" needs to be exported by the entry point index.d.ts -// dist/MultiCompiler.d.ts:35:9 - (ae-forgotten-export) The symbol "Any" needs to be exported by the entry point index.d.ts -// dist/NormalModuleFactory.d.ts:9:9 - (ae-forgotten-export) The symbol "ResourceDataWithData" needs to be exported by the entry point index.d.ts -// dist/NormalModuleFactory.d.ts:10:9 - (ae-forgotten-export) The symbol "ResolveData" needs to be exported by the entry point index.d.ts -// dist/NormalModuleFactory.d.ts:12:9 - (ae-forgotten-export) The symbol "NormalModuleCreateData" needs to be exported by the entry point index.d.ts -// dist/builtin-loader/swc/types.d.ts:457:9 - (ae-forgotten-export) The symbol "RelayOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-loader/swc/types.d.ts:458:9 - (ae-forgotten-export) The symbol "EmotionOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-loader/swc/types.d.ts:459:9 - (ae-forgotten-export) The symbol "PluginImportOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-loader/swc/types.d.ts:460:9 - (ae-forgotten-export) The symbol "StyledComponentsOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts:40:5 - (ae-forgotten-export) The symbol "ExtractCommentsOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts:41:5 - (ae-forgotten-export) The symbol "TerserCompressOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts:42:5 - (ae-forgotten-export) The symbol "TerserMangleOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts:43:5 - (ae-forgotten-export) The symbol "JsFormatOptions" needs to be exported by the entry point index.d.ts -// dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts:43:5 - (ae-forgotten-export) The symbol "ToSnakeCaseProperties" needs to be exported by the entry point index.d.ts -// dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts:45:5 - (ae-forgotten-export) The symbol "MinifyConditions" needs to be exported by the entry point index.d.ts -// dist/config/adapterRuleUse.d.ts:145:5 - (ae-forgotten-export) The symbol "PitchLoaderDefinitionFunction" needs to be exported by the entry point index.d.ts -// dist/config/zod.d.ts:5734:5 - (ae-forgotten-export) The symbol "oldBuiltins" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:103:5 - (ae-forgotten-export) The symbol "ContainerPlugin" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:104:5 - (ae-forgotten-export) The symbol "ContainerReferencePlugin" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:105:5 - (ae-forgotten-export) The symbol "ModuleFederationPlugin" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:106:5 - (ae-forgotten-export) The symbol "ModuleFederationPluginV1" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:115:5 - (ae-forgotten-export) The symbol "ProvideSharedPlugin" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:116:5 - (ae-forgotten-export) The symbol "ConsumeSharedPlugin" needs to be exported by the entry point index.d.ts -// dist/exports.d.ts:117:5 - (ae-forgotten-export) The symbol "SharePlugin" needs to be exported by the entry point index.d.ts +// @public (undocumented) +const workerPublicPath: z.ZodString; // (No @packageDocumentation comment for this package)