From 650b5dfd7a93a5091c6e355e0b98be260f09741f Mon Sep 17 00:00:00 2001 From: ahabhgk Date: Sun, 28 Jul 2024 23:34:57 +0800 Subject: [PATCH 1/3] external function getResolve fix get resolve # Conflicts: # crates/node_binding/binding.d.ts # crates/rspack_binding_options/src/options/raw_external.rs # crates/rspack_core/src/compiler/make/repair/factorize.rs # crates/rspack_core/src/compiler/module_executor/entry.rs # crates/rspack_core/src/context_module.rs # crates/rspack_core/src/module_factory.rs # crates/rspack_core/src/resolver/mod.rs # crates/rspack_plugin_externals/src/plugin.rs # packages/rspack/etc/api.md # packages/rspack/src/builtin-plugin/ExternalsPlugin.ts # packages/rspack/src/config/zod.ts --- crates/node_binding/binding.d.ts | 7 +- .../src/options/raw_external.rs | 43 +- crates/rspack_binding_values/src/resolver.rs | 1 + .../src/compiler/make/repair/factorize.rs | 6 +- .../src/compiler/make/repair/mod.rs | 1 + .../make/repair/process_dependencies.rs | 1 + .../src/compiler/module_executor/entry.rs | 1 + crates/rspack_core/src/concatenated_module.rs | 4 +- crates/rspack_core/src/context_module.rs | 2 +- .../rspack_core/src/context_module_factory.rs | 5 +- crates/rspack_core/src/module.rs | 2 +- crates/rspack_core/src/module_factory.rs | 6 +- crates/rspack_core/src/normal_module.rs | 6 +- .../rspack_core/src/normal_module_factory.rs | 6 +- crates/rspack_core/src/options/externals.rs | 6 +- crates/rspack_core/src/resolver/mod.rs | 12 +- crates/rspack_plugin_externals/src/plugin.rs | 14 +- .../src/factory.rs | 1 + packages/rspack/etc/api.md | 15383 ++++++++++++++++ .../src/builtin-plugin/ExternalsPlugin.ts | 95 +- packages/rspack/src/config/types.ts | 13 + packages/rspack/src/config/zod.ts | 10 +- packages/rspack/src/loader-runner/index.ts | 2 +- 23 files changed, 15583 insertions(+), 44 deletions(-) create mode 100644 packages/rspack/etc/api.md diff --git a/crates/node_binding/binding.d.ts b/crates/node_binding/binding.d.ts index 6d39a5d9393..a7665830c29 100644 --- a/crates/node_binding/binding.d.ts +++ b/crates/node_binding/binding.d.ts @@ -205,6 +205,11 @@ export declare class JsStats { getLogging(acceptedTypes: number): Array } +export declare class RawExternalItemFnCtx { + data(): RawExternalItemFnCtxData + getResolver(): JsResolver +} + export declare class Rspack { constructor(options: RawOptions, builtinPlugins: Array, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, resolverFactoryReference: JsResolverFactory) setNonSkippableRegisters(kinds: Array): void @@ -1397,7 +1402,7 @@ export interface RawExposeOptions { import: Array } -export interface RawExternalItemFnCtx { +export interface RawExternalItemFnCtxData { request: string context: string dependencyType: string diff --git a/crates/rspack_binding_options/src/options/raw_external.rs b/crates/rspack_binding_options/src/options/raw_external.rs index 870ee263824..28a205471f4 100644 --- a/crates/rspack_binding_options/src/options/raw_external.rs +++ b/crates/rspack_binding_options/src/options/raw_external.rs @@ -1,10 +1,13 @@ use std::collections::HashMap; use std::fmt::Debug; +use std::sync::Arc; use napi::bindgen_prelude::Either4; use napi_derive::napi; -use rspack_core::ExternalItemFnCtx; +use rspack_binding_values::JsResolver; use rspack_core::{ExternalItem, ExternalItemFnResult, ExternalItemValue}; +use rspack_core::{ExternalItemFnCtx, ResolveOptionsWithDependencyType, ResolverFactory}; +// use rspack_napi::regexp::{JsRegExp, JsRegExpExt}; use rspack_napi::threadsafe_function::ThreadsafeFunction; use rspack_regex::RspackRegex; @@ -68,15 +71,47 @@ pub struct ContextInfo { pub issuer: String, } -#[derive(Debug, Clone)] -#[napi(object)] +#[derive(Debug)] +#[napi] pub struct RawExternalItemFnCtx { + request: String, + context: String, + dependency_type: String, + context_info: ContextInfo, + resolve_options_with_dependency_type: ResolveOptionsWithDependencyType, + resolver_factory: Arc, +} + +#[derive(Debug)] +#[napi(object)] +pub struct RawExternalItemFnCtxData { pub request: String, pub context: String, pub dependency_type: String, pub context_info: ContextInfo, } +#[napi] +impl RawExternalItemFnCtx { + #[napi] + pub fn data(&self) -> RawExternalItemFnCtxData { + RawExternalItemFnCtxData { + request: self.request.clone(), + context: self.context.clone(), + dependency_type: self.dependency_type.clone(), + context_info: self.context_info.clone(), + } + } + + #[napi] + pub fn get_resolver(&self) -> JsResolver { + JsResolver::new( + self.resolver_factory.clone(), + self.resolve_options_with_dependency_type.clone(), + ) + } +} + impl From for RawExternalItemFnCtx { fn from(value: ExternalItemFnCtx) -> Self { Self { @@ -86,6 +121,8 @@ impl From for RawExternalItemFnCtx { context_info: ContextInfo { issuer: value.context_info.issuer, }, + resolve_options_with_dependency_type: value.resolve_options_with_dependency_type, + resolver_factory: value.resolver_factory, } } } diff --git a/crates/rspack_binding_values/src/resolver.rs b/crates/rspack_binding_values/src/resolver.rs index f744f35d67e..14c344fef6b 100644 --- a/crates/rspack_binding_values/src/resolver.rs +++ b/crates/rspack_binding_values/src/resolver.rs @@ -10,6 +10,7 @@ use crate::raw_resolve::{ }; #[napi] +#[derive(Debug)] pub struct JsResolver { resolver_factory: Arc, resolver: Arc, diff --git a/crates/rspack_core/src/compiler/make/repair/factorize.rs b/crates/rspack_core/src/compiler/make/repair/factorize.rs index 69582af1da6..872d5e1ab0f 100644 --- a/crates/rspack_core/src/compiler/make/repair/factorize.rs +++ b/crates/rspack_core/src/compiler/make/repair/factorize.rs @@ -11,7 +11,7 @@ use crate::{ utils::task_loop::{Task, TaskResult, TaskType}, BoxDependency, CompilationId, CompilerOptions, Context, ExportInfoData, ExportsInfoData, ModuleFactory, ModuleFactoryCreateData, ModuleFactoryResult, ModuleIdentifier, ModuleLayer, - ModuleProfile, Resolve, + ModuleProfile, Resolve, ResolverFactory, }; #[derive(Debug)] @@ -24,9 +24,10 @@ pub struct FactorizeTask { pub issuer: Option>, pub issuer_layer: Option, pub dependencies: Vec, - pub resolve_options: Option>, + pub resolve_options: Option>, pub options: Arc, pub current_profile: Option>, + pub resolver_factory: Arc, } #[async_trait::async_trait] @@ -89,6 +90,7 @@ impl Task for FactorizeTask { issuer: self.issuer, issuer_identifier: self.original_module_identifier, issuer_layer, + resolver_factory: self.resolver_factory, file_dependencies: Default::default(), missing_dependencies: Default::default(), diff --git a/crates/rspack_core/src/compiler/make/repair/mod.rs b/crates/rspack_core/src/compiler/make/repair/mod.rs index 46598357b8e..a26e8151765 100644 --- a/crates/rspack_core/src/compiler/make/repair/mod.rs +++ b/crates/rspack_core/src/compiler/make/repair/mod.rs @@ -142,6 +142,7 @@ pub async fn repair( resolve_options: parent_module.and_then(|module| module.get_resolve_options()), options: compilation.options.clone(), current_profile, + resolver_factory: compilation.resolver_factory.clone(), })) }) .collect::>(); diff --git a/crates/rspack_core/src/compiler/make/repair/process_dependencies.rs b/crates/rspack_core/src/compiler/make/repair/process_dependencies.rs index 4040797ce72..57236fcbe12 100644 --- a/crates/rspack_core/src/compiler/make/repair/process_dependencies.rs +++ b/crates/rspack_core/src/compiler/make/repair/process_dependencies.rs @@ -109,6 +109,7 @@ impl Task for ProcessDependenciesTask { resolve_options: module.get_resolve_options(), options: context.compiler_options.clone(), current_profile, + resolver_factory: context.resolver_factory.clone(), })); } Ok(res) diff --git a/crates/rspack_core/src/compiler/module_executor/entry.rs b/crates/rspack_core/src/compiler/module_executor/entry.rs index 3b96db25d13..80e3c3c7958 100644 --- a/crates/rspack_core/src/compiler/module_executor/entry.rs +++ b/crates/rspack_core/src/compiler/module_executor/entry.rs @@ -45,6 +45,7 @@ impl Task for EntryTask { .compiler_options .profile .then(Box::::default), + resolver_factory: context.resolver_factory.clone(), })]) } } diff --git a/crates/rspack_core/src/concatenated_module.rs b/crates/rspack_core/src/concatenated_module.rs index 6efdde70cf9..bde515f202e 100644 --- a/crates/rspack_core/src/concatenated_module.rs +++ b/crates/rspack_core/src/concatenated_module.rs @@ -64,7 +64,7 @@ pub struct RootModuleContext { pub readable_identifier: String, pub name_for_condition: Option>, pub lib_indent: Option, - pub resolve_options: Option>, + pub resolve_options: Option>, pub code_generation_dependencies: Option>>, pub presentational_dependencies: Option>>, pub context: Option, @@ -1361,7 +1361,7 @@ impl Module for ConcatenatedModule { self.root_module_ctxt.lib_indent.clone().map(Cow::Owned) } - fn get_resolve_options(&self) -> Option> { + fn get_resolve_options(&self) -> Option> { self.root_module_ctxt.resolve_options.clone() } diff --git a/crates/rspack_core/src/context_module.rs b/crates/rspack_core/src/context_module.rs index 53b1764c89b..08c69bd772d 100644 --- a/crates/rspack_core/src/context_module.rs +++ b/crates/rspack_core/src/context_module.rs @@ -136,7 +136,7 @@ pub struct ContextModuleOptions { pub resource_fragment: String, pub context_options: ContextOptions, pub layer: Option, - pub resolve_options: Option>, + pub resolve_options: Option>, pub type_prefix: ContextTypePrefix, } diff --git a/crates/rspack_core/src/context_module_factory.rs b/crates/rspack_core/src/context_module_factory.rs index f2e2ae777cf..ff50c5b4ac7 100644 --- a/crates/rspack_core/src/context_module_factory.rs +++ b/crates/rspack_core/src/context_module_factory.rs @@ -125,7 +125,10 @@ impl ContextModuleFactory { tracing::trace!("resolving context module path {}", options.resource); let resolver = &resolver_factory.get(ResolveOptionsWithDependencyType { - resolve_options: options.resolve_options.clone(), + resolve_options: options + .resolve_options + .clone() + .map(|arc| Box::new(Arc::try_unwrap(arc).unwrap_or_else(|arc| (*arc).clone()))), resolve_to_context: false, dependency_category: options.context_options.category, }); diff --git a/crates/rspack_core/src/module.rs b/crates/rspack_core/src/module.rs index a211cd4170a..4833bec9f20 100644 --- a/crates/rspack_core/src/module.rs +++ b/crates/rspack_core/src/module.rs @@ -329,7 +329,7 @@ pub trait Module: /// Resolve options matched by module rules. /// e.g `javascript/esm` may have special resolving options like `fullySpecified`. /// `css` and `css/module` may have special resolving options like `preferRelative`. - fn get_resolve_options(&self) -> Option> { + fn get_resolve_options(&self) -> Option> { None } diff --git a/crates/rspack_core/src/module_factory.rs b/crates/rspack_core/src/module_factory.rs index e011910eb25..89332dfbd6c 100644 --- a/crates/rspack_core/src/module_factory.rs +++ b/crates/rspack_core/src/module_factory.rs @@ -6,19 +6,21 @@ use rustc_hash::FxHashSet as HashSet; use crate::{ BoxDependency, BoxModule, CompilationId, CompilerOptions, Context, ModuleIdentifier, ModuleLayer, - Resolve, + Resolve, ResolverFactory, }; #[derive(Debug, Clone)] pub struct ModuleFactoryCreateData { pub compilation_id: CompilationId, - pub resolve_options: Option>, + // pub resolve_options: Option>, + pub resolve_options: Option>, pub options: Arc, pub context: Context, pub dependencies: Vec, pub issuer: Option>, pub issuer_identifier: Option, pub issuer_layer: Option, + pub resolver_factory: Arc, pub file_dependencies: HashSet, pub context_dependencies: HashSet, diff --git a/crates/rspack_core/src/normal_module.rs b/crates/rspack_core/src/normal_module.rs index 8509f119f3d..b5c5731c913 100644 --- a/crates/rspack_core/src/normal_module.rs +++ b/crates/rspack_core/src/normal_module.rs @@ -127,7 +127,7 @@ pub struct NormalModule { source: NormalModuleSource, /// Resolve options derived from [Rule.resolve] - resolve_options: Option>, + resolve_options: Option>, /// Parser options derived from [Rule.parser] parser_options: Option, /// Generator options derived from [Rule.generator] @@ -197,7 +197,7 @@ impl NormalModule { generator_options: Option, match_resource: Option, resource_data: Arc, - resolve_options: Option>, + resolve_options: Option>, loaders: Vec, ) -> Self { let module_type = module_type.into(); @@ -720,7 +720,7 @@ impl Module for NormalModule { Some(Cow::Owned(ident)) } - fn get_resolve_options(&self) -> Option> { + fn get_resolve_options(&self) -> Option> { self.resolve_options.clone() } diff --git a/crates/rspack_core/src/normal_module_factory.rs b/crates/rspack_core/src/normal_module_factory.rs index 2859d227df5..015449eeeff 100644 --- a/crates/rspack_core/src/normal_module_factory.rs +++ b/crates/rspack_core/src/normal_module_factory.rs @@ -329,7 +329,7 @@ impl NormalModuleFactory { span: dependency_source_span, // take the options is safe here, because it // is not used in after_resolve hooks - resolve_options: data.resolve_options.take(), + resolve_options: data.resolve_options.clone(), resolve_to_context: false, optional: dependency_optional, file_dependencies: &mut file_dependencies, @@ -641,7 +641,7 @@ impl NormalModuleFactory { Ok(rules) } - fn calculate_resolve_options(&self, module_rules: &[&ModuleRuleEffect]) -> Option> { + fn calculate_resolve_options(&self, module_rules: &[&ModuleRuleEffect]) -> Option> { let mut resolved: Option = None; for rule in module_rules { if let Some(rule_resolve) = &rule.resolve { @@ -652,7 +652,7 @@ impl NormalModuleFactory { } } } - resolved.map(Box::new) + resolved.map(Arc::new) } fn calculate_side_effects(&self, module_rules: &[&ModuleRuleEffect]) -> Option { diff --git a/crates/rspack_core/src/options/externals.rs b/crates/rspack_core/src/options/externals.rs index cc8de9bb6a7..480234eece8 100644 --- a/crates/rspack_core/src/options/externals.rs +++ b/crates/rspack_core/src/options/externals.rs @@ -1,10 +1,12 @@ -use std::fmt::Debug; +use std::{fmt::Debug, sync::Arc}; use futures::future::BoxFuture; use rspack_error::Result; use rspack_regex::RspackRegex; use rustc_hash::FxHashMap as HashMap; +use crate::{ResolveOptionsWithDependencyType, ResolverFactory}; + pub type Externals = Vec; #[derive(Debug)] @@ -26,6 +28,8 @@ pub struct ExternalItemFnCtx { pub context: String, pub dependency_type: String, pub context_info: ContextInfo, + pub resolve_options_with_dependency_type: ResolveOptionsWithDependencyType, + pub resolver_factory: Arc, } pub struct ExternalItemFnResult { diff --git a/crates/rspack_core/src/resolver/mod.rs b/crates/rspack_core/src/resolver/mod.rs index 0c0ac472732..20afe2c546b 100644 --- a/crates/rspack_core/src/resolver/mod.rs +++ b/crates/rspack_core/src/resolver/mod.rs @@ -5,6 +5,7 @@ use std::borrow::Borrow; use std::fmt; use std::fs; use std::path::PathBuf; +use std::sync::Arc; use std::sync::LazyLock; use regex::Regex; @@ -41,7 +42,7 @@ pub struct ResolveArgs<'a> { pub dependency_type: &'a DependencyType, pub dependency_category: &'a DependencyCategory, pub span: Option, - pub resolve_options: Option>, + pub resolve_options: Option>, pub resolve_to_context: bool, pub optional: bool, pub file_dependencies: &'a mut FxHashSet, @@ -94,7 +95,9 @@ pub fn resolve_for_error_hints( plugin_driver: &SharedPluginDriver, ) -> Option { let dep = ResolveOptionsWithDependencyType { - resolve_options: args.resolve_options.clone(), + resolve_options: args + .resolve_options + .map(|r| Box::new(Arc::unwrap_or_clone(r))), resolve_to_context: args.resolve_to_context, dependency_category: *args.dependency_category, }; @@ -284,7 +287,10 @@ pub async fn resolve( plugin_driver: &SharedPluginDriver, ) -> Result { let dep = ResolveOptionsWithDependencyType { - resolve_options: args.resolve_options.clone(), + resolve_options: args + .resolve_options + .clone() + .map(|r| Box::new(Arc::unwrap_or_clone(r))), resolve_to_context: args.resolve_to_context, dependency_category: *args.dependency_category, }; diff --git a/crates/rspack_plugin_externals/src/plugin.rs b/crates/rspack_plugin_externals/src/plugin.rs index c10dddffa92..a3824bb1c48 100644 --- a/crates/rspack_plugin_externals/src/plugin.rs +++ b/crates/rspack_plugin_externals/src/plugin.rs @@ -1,12 +1,12 @@ -use std::fmt::Debug; use std::sync::LazyLock; +use std::{fmt::Debug, sync::Arc}; use regex::Regex; use rspack_core::{ ApplyContext, BoxModule, CompilerOptions, ContextInfo, DependencyMeta, ExternalItem, ExternalItemFnCtx, ExternalItemValue, ExternalModule, ExternalRequest, ExternalRequestValue, ExternalType, ExternalTypeEnum, ModuleDependency, ModuleExt, ModuleFactoryCreateData, - NormalModuleFactoryFactorize, Plugin, PluginContext, + NormalModuleFactoryFactorize, Plugin, PluginContext, ResolveOptionsWithDependencyType, }; use rspack_error::Result; use rspack_hook::{plugin, plugin_hook}; @@ -182,6 +182,16 @@ async fn factorize(&self, data: &mut ModuleFactoryCreateData) -> Result Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +/// + +import { AsyncParallelHook } from '@rspack/lite-tapable'; +import { AsyncSeriesBailHook } from '@rspack/lite-tapable'; +import * as binding from '@rspack/binding'; +import { BuiltinPlugin } from '@rspack/binding'; +import { BuiltinPluginName } from '@rspack/binding'; +import { CacheFacade as CacheFacade_2 } from './lib/CacheFacade'; +import type { Callback } from '@rspack/lite-tapable'; +import { cleanupGlobalTrace } from '@rspack/binding'; +import { Compiler as Compiler_2 } from '../Compiler'; +import { default as default_2 } from './util/hash'; +import { RawEvalDevToolModulePluginOptions as EvalDevToolModulePluginOptions } from '@rspack/binding'; +import { EventEmitter } from 'events'; +import { ExternalObject } from '@rspack/binding'; +import fs from 'graceful-fs'; +import { fs as fs_2 } from 'fs'; +import { HookMap } from '@rspack/lite-tapable'; +import { inspect } from 'node:util'; +import type { JsAssetInfo } from '@rspack/binding'; +import { JsChunk } from '@rspack/binding'; +import { JsChunkGroup } from '@rspack/binding'; +import type { JsCodegenerationResult } from '@rspack/binding'; +import { JsCompilation } from '@rspack/binding'; +import type { JsCreateData } from '@rspack/binding'; +import type { JsFactoryMeta } from '@rspack/binding'; +import { JsLibraryOptions } from '@rspack/binding'; +import { JsLoaderItem } from '@rspack/binding'; +import { JsModule } from '@rspack/binding'; +import { JsPathData } from '@rspack/binding'; +import { JsRuntimeModule } from '@rspack/binding'; +import type { JsStats } from '@rspack/binding'; +import type { JsStatsCompilation } from '@rspack/binding'; +import type { JsStatsError } from '@rspack/binding'; +import type { JsStatsWarning } from '@rspack/binding'; +import * as liteTapable from '@rspack/lite-tapable'; +import { Logger as Logger_2 } from './logging/Logger'; +import { RawCopyPattern } from '@rspack/binding'; +import type { RawCssExtractPluginOption } from '@rspack/binding'; +import type { RawFuncUseCtx } from '@rspack/binding'; +import { RawIgnorePluginOptions } from '@rspack/binding'; +import { RawOptions } from '@rspack/binding'; +import { RawProgressPluginOptions } from '@rspack/binding'; +import { RawProvideOptions } from '@rspack/binding'; +import { RawRuntimeChunkOptions } from '@rspack/binding'; +import { RawSourceMapDevToolPluginOptions } from '@rspack/binding'; +import { registerGlobalTrace } from '@rspack/binding'; +import { RspackOptionsNormalized as RspackOptionsNormalized_2 } from '.'; +import sources = require('../compiled/webpack-sources'); +import { SyncBailHook } from '@rspack/lite-tapable'; +import { SyncHook } from '@rspack/lite-tapable'; +import { SyncWaterfallHook } from '@rspack/lite-tapable'; +import type * as webpackDevServer from 'webpack-dev-server'; + +// @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) +export const applyRspackOptionsBaseDefaults: (options: RspackOptionsNormalized) => void; + +// @public (undocumented) +export const applyRspackOptionsDefaults: (options: RspackOptionsNormalized) => void; + +// @public +const asRegExp: (test: string | RegExp) => RegExp; + +// @public (undocumented) +export interface Asset { + // (undocumented) + info: AssetInfo; + // (undocumented) + name: string; + // (undocumented) + source: Source; +} + +// @public (undocumented) +type AssetCondition = string | RegExp; + +// @public (undocumented) +type AssetConditions = AssetCondition | AssetCondition[]; + +// @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; + +// @public (undocumented) +const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{ + encoding: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; +}, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; +}>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +export type AssetGeneratorDataUrlFunction = z.infer; + +// @public (undocumented) +const assetGeneratorDataUrlFunction: z.ZodFunction], z.ZodUnknown>, z.ZodString>; + +// @public (undocumented) +export type AssetGeneratorDataUrlOptions = z.infer; + +// @public (undocumented) +const assetGeneratorDataUrlOptions: z.ZodObject<{ + encoding: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; +}, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; +}>; + +// @public (undocumented) +export type AssetGeneratorOptions = z.infer; + +// @public (undocumented) +const assetGeneratorOptions: z.ZodObject, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; +}, { + emit: z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; +}>, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; +}, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; +}>; + +// @public (undocumented) +export type AssetInfo = Partial> & Record; + +// @public (undocumented) +export type AssetInlineGeneratorOptions = z.infer; + +// @public (undocumented) +const assetInlineGeneratorOptions: z.ZodObject<{ + dataUrl: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; +}, "strict", z.ZodTypeAny, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; +}, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; +}>; + +// @public (undocumented) +export type AssetModuleFilename = z.infer; + +// @public (undocumented) +const assetModuleFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +export type AssetParserDataUrl = z.infer; + +// @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; + +// @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; + +// @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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; +}, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; +}, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; +}>; + +// @public (undocumented) +export type Assets = Record; + +// @public (undocumented) +export type AsyncChunks = z.infer; + +// @public (undocumented) +const asyncChunks: z.ZodBoolean; + +// @public (undocumented) +export type AuxiliaryComment = z.infer; + +// @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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; +}, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; +}>]>; + +// @public (undocumented) +export type Bail = z.infer; + +// @public (undocumented) +const bail: z.ZodBoolean; + +// @public (undocumented) +export const BannerPlugin: { + new (args: string | ((args_0: { + filename: string; + hash: string; + chunk: JsChunk; + }, ...args_1: unknown[]) => string) | { + banner: string | ((args_0: { + filename: string; + hash: string; + chunk: JsChunk; + }, ...args_1: unknown[]) => string); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + stage?: number | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; + }): { + name: BuiltinPluginName; + _args: [args: string | ((args_0: { + filename: string; + hash: string; + chunk: JsChunk; + }, ...args_1: unknown[]) => string) | { + banner: string | ((args_0: { + filename: string; + hash: string; + chunk: JsChunk; + }, ...args_1: unknown[]) => string); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + stage?: number | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; + }]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type BannerPluginArgument = z.infer; + +// @public (undocumented) +const bannerPluginArgument: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction; + filename: z.ZodString; +}, "strip", z.ZodTypeAny, { + filename: string; + hash: string; + chunk: JsChunk; +}, { + filename: string; + hash: string; + chunk: JsChunk; +}>], z.ZodUnknown>, z.ZodString>]>, z.ZodObject<{ + banner: z.ZodUnion<[z.ZodString, z.ZodFunction; + filename: z.ZodString; + }, "strip", z.ZodTypeAny, { + filename: string; + hash: string; + chunk: JsChunk; + }, { + filename: string; + hash: string; + chunk: JsChunk; + }>], 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; + stage: z.ZodOptional; + test: z.ZodOptional]>, z.ZodArray]>, "many">]>>; +}, "strict", z.ZodTypeAny, { + banner: string | ((args_0: { + filename: string; + hash: string; + chunk: JsChunk; + }, ...args_1: unknown[]) => string); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + stage?: number | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; +}, { + banner: string | ((args_0: { + filename: string; + hash: string; + chunk: JsChunk; + }, ...args_1: unknown[]) => string); + entryOnly?: boolean | undefined; + exclude?: string | RegExp | (string | RegExp)[] | undefined; + include?: string | RegExp | (string | RegExp)[] | undefined; + raw?: boolean | undefined; + footer?: boolean | undefined; + stage?: number | undefined; + test?: string | RegExp | (string | RegExp)[] | undefined; +}>]>; + +// @public (undocumented) +abstract class BaseCache { + // (undocumented) + abstract get(callback: CallbackCache): void; + // (undocumented) + abstract getPromise(): Promise; + // (undocumented) + abstract store(data: T, callback: CallbackCache): void; + // (undocumented) + abstract storePromise(data: T): Promise; +} + +// @public (undocumented) +interface BaseModuleConfig { + // (undocumented) + allowTopLevelThis?: boolean; + exportInteropAnnotation?: boolean; + ignoreDynamic?: boolean; + importInterop?: "swc" | "babel" | "node" | "none"; + lazy?: boolean | string[]; + // @deprecated (undocumented) + noInterop?: boolean; + // (undocumented) + preserveImportMeta?: boolean; + strict?: boolean; + strictMode?: boolean; +} + +// @public (undocumented) +const baseResolveOptions: z.ZodObject<{ + alias: z.ZodOptional, z.ZodString]>, z.ZodArray]>, "many">]>>>; + 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; + enforceExtension: z.ZodOptional; + importsFields: z.ZodOptional>; + descriptionFiles: 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, { + modules?: string[] | undefined; + alias?: Record | undefined; + conditionNames?: string[] | undefined; + extensions?: string[] | undefined; + fallback?: Record | undefined; + mainFields?: string[] | undefined; + mainFiles?: string[] | undefined; + preferRelative?: boolean | undefined; + preferAbsolute?: boolean | undefined; + symlinks?: boolean | undefined; + enforceExtension?: boolean | undefined; + importsFields?: string[] | undefined; + descriptionFiles?: string[] | undefined; + tsConfig?: string | { + 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; +}, { + modules?: string[] | undefined; + alias?: Record | undefined; + conditionNames?: string[] | undefined; + extensions?: string[] | undefined; + fallback?: Record | undefined; + mainFields?: string[] | undefined; + mainFiles?: string[] | undefined; + preferRelative?: boolean | undefined; + preferAbsolute?: boolean | undefined; + symlinks?: boolean | undefined; + enforceExtension?: boolean | undefined; + importsFields?: string[] | undefined; + descriptionFiles?: string[] | undefined; + tsConfig?: string | { + 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) +interface BaseResolveRequest { + // (undocumented) + descriptionFileData?: object; + // (undocumented) + descriptionFilePath?: string; + // (undocumented) + descriptionFileRoot?: string; + // (undocumented) + fullySpecified?: boolean; + // (undocumented) + ignoreSymlinks?: boolean; + // (undocumented) + path: string | false; + // (undocumented) + relativePath?: string; +} + +// @public (undocumented) +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>; + issuerLayer: z.ZodOptional>; + dependency: z.ZodOptional>; + resource: z.ZodOptional>; + resourceFragment: z.ZodOptional>; + resourceQuery: z.ZodOptional>; + scheme: z.ZodOptional>; + mimetype: z.ZodOptional>; + descriptionData: z.ZodOptional>>; + with: z.ZodOptional>>; + type: z.ZodOptional; + layer: z.ZodOptional; + loader: z.ZodOptional; + options: z.ZodOptional]>>; + use: z.ZodOptional; + loader: z.ZodString; + options: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + }, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + }>]>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + }, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + }>]>, "many">]>, z.ZodFunction], z.ZodUnknown>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + }, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + }>]>, "many">>]>>; + parser: z.ZodOptional>; + generator: z.ZodOptional>; + resolve: z.ZodOptional>; + sideEffects: z.ZodOptional; + enforce: z.ZodOptional, z.ZodLiteral<"post">]>>; +}, "strict", z.ZodTypeAny, { + options?: string | Record | undefined; + type?: string | undefined; + exclude?: RuleSetCondition | undefined; + include?: RuleSetCondition | undefined; + test?: RuleSetCondition | undefined; + layer?: string | undefined; + enforce?: "pre" | "post" | undefined; + sideEffects?: boolean | undefined; + resource?: RuleSetCondition | undefined; + loader?: string | undefined; + issuer?: RuleSetCondition | undefined; + issuerLayer?: RuleSetCondition | undefined; + dependency?: RuleSetCondition | undefined; + resourceFragment?: RuleSetCondition | undefined; + resourceQuery?: RuleSetCondition | undefined; + scheme?: RuleSetCondition | undefined; + mimetype?: RuleSetCondition | undefined; + descriptionData?: Record | undefined; + with?: Record | undefined; + use?: string | { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + } | (string | { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + })[] | ((args_0: RawFuncUseCtx, ...args_1: unknown[]) => (string | { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + })[]) | undefined; + parser?: Record | undefined; + generator?: Record | undefined; + resolve?: ResolveOptions | undefined; +}, { + options?: string | Record | undefined; + type?: string | undefined; + exclude?: RuleSetCondition | undefined; + include?: RuleSetCondition | undefined; + test?: RuleSetCondition | undefined; + layer?: string | undefined; + enforce?: "pre" | "post" | undefined; + sideEffects?: boolean | undefined; + resource?: RuleSetCondition | undefined; + loader?: string | undefined; + issuer?: RuleSetCondition | undefined; + issuerLayer?: RuleSetCondition | undefined; + dependency?: RuleSetCondition | undefined; + resourceFragment?: RuleSetCondition | undefined; + resourceQuery?: RuleSetCondition | undefined; + scheme?: RuleSetCondition | undefined; + mimetype?: RuleSetCondition | undefined; + descriptionData?: Record | undefined; + with?: Record | undefined; + use?: string | { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + } | (string | { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + })[] | ((args_0: RawFuncUseCtx, ...args_1: unknown[]) => (string | { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; + })[]) | undefined; + parser?: Record | undefined; + generator?: Record | undefined; + resolve?: ResolveOptions | undefined; +}>; + +// @public (undocumented) +export type BaseUri = z.infer; + +// @public (undocumented) +const baseUri: z.ZodString; + +// @public (undocumented) +class Cache_2 { + constructor(); + // (undocumented) + beginIdle(): void; + // (undocumented) + endIdle(callback: CallbackCache): void; + // (undocumented) + get(identifier: string, etag: Etag | null, callback: CallbackCache): void; + // (undocumented) + hooks: { + get: AsyncSeriesBailHook<[string, Etag | null, GotHandler[]], any>; + store: AsyncParallelHook<[string, Etag | null, any]>; + storeBuildDependencies: AsyncParallelHook<[Iterable]>; + beginIdle: SyncHook<[]>; + endIdle: AsyncParallelHook<[]>; + shutdown: AsyncParallelHook<[]>; + }; + // (undocumented) + shutdown(callback: CallbackCache): void; + // (undocumented) + static STAGE_DEFAULT: number; + // (undocumented) + static STAGE_DISK: number; + // (undocumented) + static STAGE_MEMORY: number; + // (undocumented) + static STAGE_NETWORK: number; + // (undocumented) + store(identifier: string, etag: Etag | null, data: T, callback: CallbackCache): void; + storeBuildDependencies(dependencies: Iterable, callback: CallbackCache): void; +} + +// @public (undocumented) +class CacheFacade { + constructor(cache: Cache_2, name: string, hashFunction: string | HashConstructor); + // (undocumented) + _cache: Cache_2; + // (undocumented) + get(identifier: string, etag: Etag | null, callback: CallbackCache): void; + // (undocumented) + getChildCache(name: string): CacheFacade; + // (undocumented) + getItemCache(identifier: string, etag: Etag | null): ItemCacheFacade; + // (undocumented) + getLazyHashedEtag(obj: HashableObject): Etag; + // (undocumented) + getPromise(identifier: string, etag: Etag | null): Promise; + // (undocumented) + _hashFunction: string | HashConstructor; + // (undocumented) + mergeEtags(a: Etag, b: Etag): Etag; + // (undocumented) + _name: string; + // (undocumented) + provide(identifier: string, etag: Etag | null, computer: (callback: CallbackNormalErrorCache) => void, callback: CallbackNormalErrorCache): void; + // (undocumented) + providePromise(identifier: string, etag: Etag | null, computer: () => Promise | T): Promise<{} | T | null>; + // (undocumented) + store(identifier: string, etag: Etag | null, data: T, callback: CallbackCache): void; + // (undocumented) + storePromise(identifier: string, etag: Etag | null, data: T): Promise; +} + +// @public (undocumented) +type CacheHookMap = Map[]>; + +// @public (undocumented) +export type CacheOptions = z.infer; + +// @public (undocumented) +const cacheOptions: z.ZodBoolean; + +// @public (undocumented) +type CallbackCache = (err?: WebpackError_2 | null, result?: T) => void; + +// @public (undocumented) +type CallbackNormalErrorCache = (err?: WebpackError_2 | null, result?: T) => void; + +// @public (undocumented) +type CallFn = (...args: any[]) => any; + +// @public (undocumented) +export 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; + // @internal + __internal__innerUkey(): number; + // (undocumented) + auxiliaryFiles: ReadonlySet; + // (undocumented) + canBeInitial(): boolean; + // (undocumented) + chunkReason?: Readonly; + // (undocumented) + contentHash: Readonly>; + // (undocumented) + cssFilenameTemplate?: Readonly; + // (undocumented) + filenameTemplate?: Readonly; + // (undocumented) + files: ReadonlySet; + // (undocumented) + getAllAsyncChunks(): Iterable; + // (undocumented) + getAllInitialChunks(): Iterable; + // (undocumented) + getAllReferencedChunks(): Iterable; + // (undocumented) + get groupsIterable(): Iterable; + // (undocumented) + hash?: Readonly; + // (undocumented) + hasRuntime(): boolean; + // (undocumented) + id?: Readonly; + // (undocumented) + idNameHints: ReadonlyArray; + // (undocumented) + ids: ReadonlyArray; + // (undocumented) + isOnlyInitial(): boolean; + // (undocumented) + name?: Readonly; + // (undocumented) + renderedHash?: Readonly; + // (undocumented) + runtime: ReadonlySet; +} + +// @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): Readonly; + // (undocumented) + getChunkModulesIterable(chunk: Chunk): Iterable; + // (undocumented) + getChunkModulesIterableBySourceType(chunk: Chunk, sourceType: string): Iterable; + // (undocumented) + getModuleId(module: Module): string | null; +} + +// @public (undocumented) +export class ChunkGroup { + protected constructor(inner: JsChunkGroup, compilation: JsCompilation); + // (undocumented) + static __from_binding(chunk: JsChunkGroup, compilation: JsCompilation): ChunkGroup; + // @internal + __internal__innerCompilation(): JsCompilation; + // @internal + __internal__innerUkey(): number; + // (undocumented) + get chunks(): ReadonlyArray; + // (undocumented) + getFiles(): ReadonlyArray; + // (undocumented) + getParents(): ReadonlyArray; + // (undocumented) + get index(): Readonly; + // (undocumented) + isInitial(): boolean; + // (undocumented) + get name(): Readonly; +} + +// @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) +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) +type CodeValue = RecursiveArrayOrRecord; + +// @public (undocumented) +type CodeValuePrimitive = null | undefined | RegExp | Function | string | number | boolean | bigint | undefined; + +// @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; + // @internal + __internal__emit_asset_from_loader(filename: string, source: Source, assetInfo: AssetInfo, module: string): void; + // @internal + __internal__getAssetFilenames(): string[]; + // @internal + __internal__getAssetSource(filename: string): Source | void; + // @internal + __internal__getChunks(): Chunk[]; + // @internal + __internal__getCustomModule(moduleIdentifier: string): { + buildInfo: Record; + buildMeta: Record; + }; + // @internal + __internal__getModules(): JsModule[]; + // @internal + __internal__hasAsset(name: string): boolean; + // @internal + __internal__pushDiagnostic(diagnostic: binding.JsDiagnostic): void; + // @internal + __internal__pushNativeDiagnostics(diagnostics: ExternalObject<"Diagnostic[]">): void; + // @internal + __internal__setAssetSource(filename: string, source: Source): void; + // @internal + __internal_getInner(): binding.JsCompilation; + get assets(): Record; + // (undocumented) + buildDependencies: { + [Symbol.iterator](): Generator; + has(dep: string): boolean; + add: (dep: string) => void; + addAll: (deps: Iterable) => void; + }; + // (undocumented) + children: Compilation[]; + // (undocumented) + childrenCounters: Record; + // (undocumented) + chunkGraph: ChunkGraph; + // (undocumented) + get chunkGroups(): ReadonlyArray; + // (undocumented) + get chunks(): ReadonlySet; + // (undocumented) + compiler: Compiler; + // (undocumented) + contextDependencies: { + [Symbol.iterator](): Generator; + has(dep: string): boolean; + add: (dep: string) => void; + addAll: (deps: Iterable) => void; + }; + // (undocumented) + createChildCompiler(name: string, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; + // (undocumented) + createStatsFactory(options: StatsOptions): StatsFactory; + // (undocumented) + createStatsOptions(statsValue: StatsValue | undefined, context?: CreateStatsOptionsContext): NormalizedStatsOptions; + // (undocumented) + createStatsPrinter(options: StatsOptions): StatsPrinter; + // (undocumented) + deleteAsset(filename: string): void; + emitAsset(filename: string, source: Source, assetInfo?: AssetInfo): void; + // (undocumented) + endTime?: number; + // (undocumented) + get entries(): Map; + get entrypoints(): ReadonlyMap; + // (undocumented) + get errors(): RspackError[]; + // (undocumented) + fileDependencies: { + [Symbol.iterator](): Generator; + has(dep: string): boolean; + add: (dep: string) => void; + addAll: (deps: Iterable) => void; + }; + // (undocumented) + fileSystemInfo: { + createSnapshot(): null; + }; + // (undocumented) + get fullHash(): Readonly; + // (undocumented) + getAsset(name: string): Readonly | void; + // (undocumented) + getAssetPath(filename: Filename, data?: PathData): string; + // (undocumented) + getAssetPathWithInfo(filename: Filename, data?: PathData): binding.PathWithInfo; + getAssets(): ReadonlyArray; + // (undocumented) + getCache(name: string): CacheFacade_2; + // (undocumented) + getLogger(name: string | (() => string)): Logger; + // (undocumented) + getPath(filename: Filename, data?: PathData): string; + // (undocumented) + getPathWithInfo(filename: Filename, data?: PathData): binding.PathWithInfo; + // (undocumented) + getStats(): Stats; + // (undocumented) + get hash(): Readonly; + // (undocumented) + hooks: Readonly<{ + processAssets: liteTapable.AsyncSeriesHook; + afterProcessAssets: liteTapable.SyncHook; + childCompiler: liteTapable.SyncHook<[Compiler, string, number]>; + log: liteTapable.SyncBailHook<[string, LogEntry], true>; + additionalAssets: any; + optimizeModules: liteTapable.SyncBailHook, void>; + afterOptimizeModules: liteTapable.SyncHook, void>; + optimizeTree: liteTapable.AsyncSeriesHook<[ + Iterable, + Iterable + ]>; + optimizeChunkModules: liteTapable.AsyncSeriesBailHook<[ + Iterable, + Iterable + ], void>; + finishModules: liteTapable.AsyncSeriesHook<[Iterable], void>; + chunkHash: liteTapable.SyncHook<[Chunk, Hash_2], void>; + chunkAsset: liteTapable.SyncHook<[Chunk, string], void>; + processWarnings: liteTapable.SyncWaterfallHook<[Error[]]>; + succeedModule: liteTapable.SyncHook<[Module], void>; + stillValidModule: liteTapable.SyncHook<[Module], void>; + statsPreset: liteTapable.HookMap, + CreateStatsOptionsContext + ], void>>; + statsNormalize: liteTapable.SyncHook<[ + Partial, + CreateStatsOptionsContext + ], void>; + statsFactory: liteTapable.SyncHook<[StatsFactory, StatsOptions], void>; + statsPrinter: liteTapable.SyncHook<[StatsPrinter, StatsOptions], void>; + buildModule: liteTapable.SyncHook<[Module]>; + executeModule: liteTapable.SyncHook<[ + ExecuteModuleArgument, + ExecuteModuleContext + ]>; + additionalTreeRuntimeRequirements: liteTapable.SyncHook<[ + Chunk, + Set + ], void>; + runtimeModule: RuntimeModule; + seal: liteTapable.SyncHook<[], void>; + afterSeal: liteTapable.AsyncSeriesHook<[], void>; + }>; + // (undocumented) + inputFileSystem: any; + // (undocumented) + logging: Map; + // (undocumented) + missingDependencies: { + [Symbol.iterator](): Generator; + has(dep: string): boolean; + add: (dep: string) => void; + addAll: (deps: Iterable) => void; + }; + // (undocumented) + get modules(): ReadonlySet; + // (undocumented) + name?: string; + get namedChunkGroups(): ReadonlyMap>; + get namedChunks(): ReadonlyMap>; + // (undocumented) + options: RspackOptionsNormalized; + // (undocumented) + outputOptions: OutputNormalized; + // (undocumented) + static PROCESS_ASSETS_STAGE_ADDITIONAL: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_ADDITIONS: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_ANALYSE: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_DERIVED: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_DEV_TOOLING: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_NONE: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE_HASH: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_PRE_PROCESS: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_REPORT: number; + // (undocumented) + static PROCESS_ASSETS_STAGE_SUMMARIZE: number; + // (undocumented) + rebuildModule(m: Module, f: (err: Error, m: Module) => void): void; + // (undocumented) + renameAsset(filename: string, newFilename: string): void; + // (undocumented) + resolverFactory: ResolverFactory; + // (undocumented) + seal(): void; + // (undocumented) + startTime?: number; + // (undocumented) + unseal(): void; + updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction?: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo)): void; + // (undocumented) + get warnings(): RspackError[]; +} + +// @public (undocumented) +type CompilationHooks = { + chunkHash: liteTapable.SyncHook<[Chunk, Hash_2]>; +}; + +// @public (undocumented) +export interface CompilationParams { + // (undocumented) + contextModuleFactory: ContextModuleFactory; + // (undocumented) + normalModuleFactory: NormalModuleFactory; +} + +// @public (undocumented) +export class Compiler { + constructor(context: string, options: RspackOptionsNormalized); + // @internal + get __internal__builtinPlugins(): binding.BuiltinPlugin[]; + // (undocumented) + __internal__getModuleExecutionResult(id: number): any; + // @internal + __internal__rebuild(modifiedFiles?: ReadonlySet, removedFiles?: ReadonlySet, callback?: (error: Error | null) => void): void; + // (undocumented) + __internal__registerBuiltinPlugin(plugin: binding.BuiltinPlugin): void; + // @internal + get __internal__ruleSet(): RuleSetCompiler; + // (undocumented) + cache: Cache_2; + // (undocumented) + close(callback: (error?: Error | null) => void): void; + // (undocumented) + compile(callback: liteTapable.Callback): void; + // (undocumented) + compilerPath: string; + // (undocumented) + context: string; + // (undocumented) + contextTimestamps?: ReadonlyMap; + // (undocumented) + createChildCompiler(compilation: Compilation, compilerName: string, compilerIndex: number, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; + // (undocumented) + fileTimestamps?: ReadonlyMap; + // (undocumented) + fsStartTime?: number; + // (undocumented) + getCache(name: string): CacheFacade; + // (undocumented) + getInfrastructureLogger(name: string | (() => string)): Logger; + // (undocumented) + hooks: { + done: liteTapable.AsyncSeriesHook; + afterDone: liteTapable.SyncHook; + thisCompilation: liteTapable.SyncHook<[Compilation, CompilationParams]>; + compilation: liteTapable.SyncHook<[Compilation, CompilationParams]>; + invalid: liteTapable.SyncHook<[string | null, number]>; + compile: liteTapable.SyncHook<[CompilationParams]>; + normalModuleFactory: liteTapable.SyncHook; + contextModuleFactory: liteTapable.SyncHook; + initialize: liteTapable.SyncHook<[]>; + shouldEmit: liteTapable.SyncBailHook<[Compilation], boolean>; + infrastructureLog: liteTapable.SyncBailHook<[string, string, any[]], true>; + beforeRun: liteTapable.AsyncSeriesHook<[Compiler]>; + run: liteTapable.AsyncSeriesHook<[Compiler]>; + emit: liteTapable.AsyncSeriesHook<[Compilation]>; + assetEmitted: liteTapable.AsyncSeriesHook<[string, AssetEmittedInfo]>; + afterEmit: liteTapable.AsyncSeriesHook<[Compilation]>; + failed: liteTapable.SyncHook<[Error]>; + shutdown: liteTapable.AsyncSeriesHook<[]>; + watchRun: liteTapable.AsyncSeriesHook<[Compiler]>; + watchClose: liteTapable.SyncHook<[]>; + environment: liteTapable.SyncHook<[]>; + afterEnvironment: liteTapable.SyncHook<[]>; + afterPlugins: liteTapable.SyncHook<[Compiler]>; + afterResolvers: liteTapable.SyncHook<[Compiler]>; + make: liteTapable.AsyncParallelHook<[Compilation]>; + beforeCompile: liteTapable.AsyncSeriesHook<[CompilationParams]>; + afterCompile: liteTapable.AsyncSeriesHook<[Compilation]>; + finishMake: liteTapable.AsyncSeriesHook<[Compilation]>; + entryOption: liteTapable.SyncBailHook<[string, EntryNormalized], any>; + }; + // (undocumented) + idle: boolean; + // (undocumented) + get immutablePaths(): never; + // (undocumented) + infrastructureLogger: any; + // (undocumented) + inputFileSystem: any; + // (undocumented) + intermediateFileSystem: any; + // (undocumented) + isChild(): boolean; + // (undocumented) + get _lastCompilation(): Compilation | undefined; + // (undocumented) + get managedPaths(): never; + // (undocumented) + modifiedFiles?: ReadonlySet; + // (undocumented) + name?: string; + // (undocumented) + options: RspackOptionsNormalized; + // (undocumented) + outputFileSystem: OutputFileSystem | null; + // (undocumented) + outputPath: string; + // (undocumented) + parentCompilation?: Compilation; + // (undocumented) + purgeInputFileSystem(): void; + // (undocumented) + records: Record; + // (undocumented) + get recordsInputPath(): never; + // (undocumented) + get recordsOutputPath(): never; + // (undocumented) + removedFiles?: ReadonlySet; + // (undocumented) + resolverFactory: ResolverFactory; + // (undocumented) + root: Compiler; + // (undocumented) + rspack: typeof rspack; + // (undocumented) + run(callback: liteTapable.Callback): void; + // (undocumented) + runAsChild(callback: (err?: null | Error, entries?: Chunk[], compilation?: Compilation) => any): void; + // (undocumented) + running: boolean; + // (undocumented) + watch(watchOptions: Watchpack.WatchOptions, handler: liteTapable.Callback): Watching; + // (undocumented) + watchFileSystem: WatchFileSystem | null; + // (undocumented) + watching?: Watching; + // (undocumented) + watchMode: boolean; + // (undocumented) + webpack: typeof rspack; +} + +// @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; + +// @public (undocumented) +export type ConsumesConfig = { + eager?: boolean; + import?: false | ConsumesItem; + packageName?: string; + requiredVersion?: false | string; + shareKey?: string; + shareScope?: string; + singleton?: boolean; + 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; + shareScope?: string; + enhanced?: boolean; +}; + +// @public (undocumented) +export type ConsumesItem = string; + +// @public (undocumented) +export type ConsumesObject = { + [k: string]: ConsumesConfig | ConsumesItem; +}; + +// @public (undocumented) +export const container: { + ContainerPlugin: typeof ContainerPlugin; + ContainerReferencePlugin: typeof ContainerReferencePlugin; + ModuleFederationPlugin: typeof ModuleFederationPlugin; + ModuleFederationPluginV1: typeof ModuleFederationPluginV1; +}; + +// @public (undocumented) +class ContainerPlugin extends RspackBuiltinPlugin { + constructor(options: ContainerPluginOptions); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _options: { + name: string; + shareScope: string; + library: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | 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; + filename?: FilenameTemplate; + library?: LibraryOptions; + name: string; + runtime?: EntryRuntime; + shareScope?: string; + enhanced?: boolean; +}; + +// @public (undocumented) +class ContainerReferencePlugin extends RspackBuiltinPlugin { + constructor(options: ContainerReferencePluginOptions); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _options: { + remoteType: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs"; + remotes: [string, { + external: string[]; + shareScope: string; + }][]; + enhanced: boolean; + }; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + +// @public (undocumented) +export type ContainerReferencePluginOptions = { + remoteType: ExternalsType; + remotes: Remotes; + shareScope?: string; + enhanced?: boolean; +}; + +// @public (undocumented) +export type Context = z.infer; + +// @public (undocumented) +const context: z.ZodString; + +// @public (undocumented) +type ContextInfo = { + issuer: string; +}; + +// @public (undocumented) +class ContextModuleFactory { + constructor(); + // (undocumented) + hooks: { + beforeResolve: liteTapable.AsyncSeriesWaterfallHook<[ + ContextModuleFactoryBeforeResolveResult + ], ContextModuleFactoryBeforeResolveResult | void>; + afterResolve: liteTapable.AsyncSeriesWaterfallHook<[ + ContextModuleFactoryAfterResolveResult + ], ContextModuleFactoryAfterResolveResult | void>; + }; +} + +// @public (undocumented) +type ContextModuleFactoryAfterResolveResult = false | { + resource: string; + context: string; + request: string; + regExp?: RegExp; + dependencies: Array; +}; + +// @public (undocumented) +type ContextModuleFactoryBeforeResolveResult = false | { + context: string; + request?: string; +}; + +// @public (undocumented) +export const CopyRspackPlugin: { + new (copy: CopyRspackPluginOptions): { + name: BuiltinPluginName; + _args: [copy: CopyRspackPluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type CopyRspackPluginOptions = { + patterns: (string | ({ + from: string; + } & Partial))[]; +}; + +// @public (undocumented) +type CreateData = Partial; + +// @public (undocumented) +type CreateStatsOptionsContext = KnownCreateStatsOptionsContext & Record; + +// @public (undocumented) +export type CrossOriginLoading = z.infer; + +// @public (undocumented) +const crossOriginLoading: z.ZodUnion<[z.ZodLiteral, z.ZodEnum<["anonymous", "use-credentials"]>]>; + +// @public (undocumented) +export type CssAutoGeneratorOptions = z.infer; + +// @public (undocumented) +const cssAutoGeneratorOptions: z.ZodObject<{ + exportsConvention: z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; +}, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; +}>; + +// @public (undocumented) +export type CssAutoParserOptions = z.infer; + +// @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 interface CssExtractRspackLoaderOptions { + // (undocumented) + defaultExport?: boolean; + // (undocumented) + emit?: boolean; + // (undocumented) + esModule?: boolean; + // (undocumented) + layer?: boolean; + // (undocumented) + publicPath?: string | ((resourcePath: string, context: string) => string); +} + +// @public (undocumented) +export class CssExtractRspackPlugin { + constructor(options?: CssExtractRspackPluginOptions); + // (undocumented) + apply(compiler: Compiler): void; + // (undocumented) + static loader: string; + // (undocumented) + normalizeOptions(options: CssExtractRspackPluginOptions): RawCssExtractPluginOption; + // (undocumented) + options: CssExtractRspackPluginOptions; + // (undocumented) + static pluginName: string; +} + +// @public (undocumented) +export interface CssExtractRspackPluginOptions { + // (undocumented) + attributes?: Record; + // (undocumented) + chunkFilename?: RawCssExtractPluginOption["chunkFilename"]; + // (undocumented) + filename?: RawCssExtractPluginOption["filename"]; + // (undocumented) + ignoreOrder?: boolean; + // (undocumented) + insert?: string | ((linkTag: HTMLLinkElement) => void); + // (undocumented) + linkType?: string | "text/css" | false; + // (undocumented) + pathinfo?: boolean; + // (undocumented) + runtime?: boolean; +} + +// @public (undocumented) +export type CssFilename = z.infer; + +// @public (undocumented) +const cssFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +export type CssGeneratorEsModule = z.infer; + +// @public (undocumented) +const cssGeneratorEsModule: z.ZodBoolean; + +// @public (undocumented) +export type CssGeneratorExportsConvention = z.infer; + +// @public (undocumented) +const cssGeneratorExportsConvention: z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>; + +// @public (undocumented) +export type CssGeneratorExportsOnly = z.infer; + +// @public (undocumented) +const cssGeneratorExportsOnly: z.ZodBoolean; + +// @public (undocumented) +export type CssGeneratorLocalIdentName = z.infer; + +// @public (undocumented) +const cssGeneratorLocalIdentName: z.ZodString; + +// @public (undocumented) +export type CssGeneratorOptions = z.infer; + +// @public (undocumented) +const cssGeneratorOptions: z.ZodObject<{ + exportsOnly: z.ZodOptional; + esModule: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; +}, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; +}>; + +// @public (undocumented) +export type CssModuleGeneratorOptions = z.infer; + +// @public (undocumented) +const cssModuleGeneratorOptions: z.ZodObject<{ + exportsConvention: z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; +}, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; +}>; + +// @public (undocumented) +export type CssModuleParserOptions = z.infer; + +// @public (undocumented) +const cssModuleParserOptions: z.ZodObject<{ + namedExports: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; +}, { + namedExports?: boolean | undefined; +}>; + +// @public (undocumented) +export type CssParserNamedExports = z.infer; + +// @public (undocumented) +const cssParserNamedExports: z.ZodBoolean; + +// @public (undocumented) +export type CssParserOptions = z.infer; + +// @public (undocumented) +const cssParserOptions: z.ZodObject<{ + namedExports: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + namedExports?: boolean | undefined; +}, { + namedExports?: boolean | undefined; +}>; + +// @public (undocumented) +export const DefinePlugin: { + new (define: DefinePluginOptions): { + name: BuiltinPluginName; + _args: [define: DefinePluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type DefinePluginOptions = Record; + +// @public (undocumented) +export type Dependencies = z.infer; + +// @public (undocumented) +const dependencies: z.ZodArray; + +// @public (undocumented) +type DependencyLocation = any; + +// @public (undocumented) +export interface DevServer extends webpackDevServer.Configuration { +} + +// @public (undocumented) +export type DevTool = z.infer; + +// @public (undocumented) +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 DevtoolFallbackModuleFilenameTemplate = z.infer; + +// @public (undocumented) +const devtoolFallbackModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodAny>]>; + +// @public (undocumented) +export type DevtoolModuleFilenameTemplate = z.infer; + +// @public (undocumented) +const devtoolModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodAny>]>; + +// @public (undocumented) +export type DevtoolNamespace = z.infer; + +// @public (undocumented) +const devtoolNamespace: z.ZodString; + +// @public (undocumented) +class DirectoryWatcher extends EventEmitter { + constructor(directoryPath: string, options: Watchpack.WatcherOptions); + // (undocumented) + close(): void; + // (undocumented) + createNestedWatcher(directoryPath: string): void; + // (undocumented) + directories: { + [path: string]: Watcher_2 | true; + }; + // (undocumented) + doInitialScan(): void; + // (undocumented) + files: { + [path: string]: [number, number]; + }; + // (undocumented) + getTimes(): { + [path: string]: number; + }; + // (undocumented) + initialScan: boolean; + // (undocumented) + initialScanRemoved: string[]; + // (undocumented) + nestedWatching: boolean; + // (undocumented) + onChange(filePath: string, stat: fs.Stats): void; + // (undocumented) + onDirectoryAdded(directoryPath: string): void; + // (undocumented) + onDirectoryUnlinked(directoryPath: string): void; + // (undocumented) + onFileAdded(filePath: string, stat: fs.Stats): void; + // (undocumented) + onFileUnlinked(filePath: string): void; + // (undocumented) + onWatcherError(): void; + // (undocumented) + options: Watchpack.WatcherOptions; + // (undocumented) + path: string; + // (undocumented) + refs: number; + // (undocumented) + setDirectory(directoryPath: string, exist: boolean, initial: boolean): void; + // (undocumented) + setFileTime(filePath: string, mtime: number, initial: boolean, type?: string | boolean): void; + // (undocumented) + setNestedWatching(flag: boolean): void; + // (undocumented) + watch(filePath: string, startTime: number): Watcher_2; + // (undocumented) + watcher: fs.FSWatcher; + // (undocumented) + watchers: { + [path: string]: Watcher_2[]; + }; +} + +// @public (undocumented) +interface Drafts { + customMedia?: boolean; +} + +// @public (undocumented) +export class DynamicEntryPlugin extends RspackBuiltinPlugin { + constructor(context: string, entry: EntryDynamicNormalized); + // (undocumented) + affectedHooks: "make"; + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin | undefined; +} + +// @public (undocumented) +interface Electron { + // (undocumented) + ElectronTargetPlugin: typeof ElectronTargetPlugin; +} + +// @public (undocumented) +export const electron: Electron; + +// @public (undocumented) +const ElectronTargetPlugin: { + new (context?: string | undefined): { + name: BuiltinPluginName; + _args: [context?: string | undefined]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +const EnableChunkLoadingPlugin: { + new (type: string): { + name: BuiltinPluginName; + _args: [type: string]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type EnabledChunkLoadingTypes = z.infer; + +// @public (undocumented) +const enabledChunkLoadingTypes: z.ZodArray, z.ZodString]>, "many">; + +// @public (undocumented) +export type EnabledLibraryTypes = z.infer; + +// @public (undocumented) +const enabledLibraryTypes: z.ZodArray, z.ZodString]>, "many">; + +// @public (undocumented) +export type EnabledWasmLoadingTypes = z.infer; + +// @public (undocumented) +const enabledWasmLoadingTypes: z.ZodArray, z.ZodString]>, "many">; + +// @public (undocumented) +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) +const EnableWasmLoadingPlugin: { + new (type: string): { + name: BuiltinPluginName; + _args: [type: string]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): 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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>]>; + +// @public (undocumented) +interface Entry_2 { + safeTime: number; + timestamp: number; +} + +// @public (undocumented) +type EntryData = binding.JsEntryData; + +// @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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>; + +// @public (undocumented) +export interface EntryDescriptionNormalized { + // (undocumented) + asyncChunks?: AsyncChunks; + // (undocumented) + baseUri?: BaseUri; + // (undocumented) + chunkLoading?: ChunkLoading; + // (undocumented) + dependOn?: string[]; + // (undocumented) + filename?: EntryFilename; + // (undocumented) + import?: string[]; + // (undocumented) + layer?: Layer; + // (undocumented) + library?: LibraryOptions; + // (undocumented) + publicPath?: PublicPath; + // (undocumented) + runtime?: EntryRuntime; +} + +// @public (undocumented) +export type EntryDynamic = z.infer; + +// @public (undocumented) +const entryDynamic: z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>; + +// @public (undocumented) +export type EntryDynamicNormalized = () => Promise; + +// @public (undocumented) +export type EntryFilename = z.infer; + +// @public (undocumented) +const entryFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; + +// @public (undocumented) +export type EntryItem = z.infer; + +// @public (undocumented) +const entryItem: z.ZodUnion<[z.ZodString, z.ZodArray]>; + +// @public (undocumented) +export type EntryNormalized = EntryDynamicNormalized | 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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | 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?: Filename; + library?: LibraryOptions; + layer?: Layer; + dependOn?: string[]; +}; + +// @public (undocumented) +export const EntryPlugin: { + new (context: string, entry: string, options?: string | EntryOptions | undefined): { + name: BuiltinPluginName; + _args: [context: string, entry: string, options?: string | EntryOptions | undefined]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): 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(): Readonly; +} + +// @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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; +}, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | 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 (undocumented) +export type Environment = z.infer; + +// @public (undocumented) +const environment: z.ZodObject<{ + arrowFunction: z.ZodOptional; + asyncFunction: z.ZodOptional; + bigIntLiteral: z.ZodOptional; + const: z.ZodOptional; + destructuring: z.ZodOptional; + document: z.ZodOptional; + dynamicImport: z.ZodOptional; + dynamicImportInWorker: z.ZodOptional; + forOf: z.ZodOptional; + globalThis: z.ZodOptional; + module: z.ZodOptional; + nodePrefixForCoreModules: z.ZodOptional; + optionalChaining: z.ZodOptional; + templateLiteral: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; +}, { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; +}>; + +// @public (undocumented) +export class EnvironmentPlugin { + constructor(...keys: string[] | [Record | string]); + apply(compiler: Compiler): void; + // (undocumented) + defaultValues: Record; + // (undocumented) + keys: string[]; +} + +// @public (undocumented) +type ErrorWithDetail = Error & { + details?: string; +}; + +// @public (undocumented) +interface Es6Config extends BaseModuleConfig { + // (undocumented) + type: "es6"; +} + +// @public (undocumented) +interface Etag { + // (undocumented) + toString(): string; +} + +// @public (undocumented) +export const EvalDevToolModulePlugin: { + new (options: EvalDevToolModulePluginOptions): { + name: BuiltinPluginName; + _args: [options: EvalDevToolModulePluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +export { EvalDevToolModulePluginOptions } + +// @public (undocumented) +export const EvalSourceMapDevToolPlugin: { + new (options: SourceMapDevToolPluginOptions): { + name: BuiltinPluginName; + _args: [options: SourceMapDevToolPluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): 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; +} + +// @public (undocumented) +export type Experiments = z.infer; + +// @public (undocumented) +export const experiments: Experiments_2; + +// @public (undocumented) +interface Experiments_2 { + // (undocumented) + globalTrace: { + register: typeof registerGlobalTrace; + cleanup: typeof cleanupGlobalTrace; + }; +} + +// @public (undocumented) +const experiments_2: z.ZodObject<{ + lazyCompilation: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ + backend: z.ZodOptional; + listen: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ + port: z.ZodOptional; + host: z.ZodOptional; + backlog: z.ZodOptional; + path: z.ZodOptional; + exclusive: z.ZodOptional; + readableAll: z.ZodOptional; + writableAll: z.ZodOptional; + ipv6Only: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + }, { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + }>]>; + protocol: z.ZodOptional>; + }, "strip", z.ZodTypeAny, { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + }, { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + }>>; + imports: z.ZodOptional; + entries: z.ZodOptional; + test: z.ZodOptional, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + }, "strip", z.ZodTypeAny, { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + }, { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + }>]>; + asyncWebAssembly: z.ZodOptional; + outputModule: z.ZodOptional; + topLevelAwait: z.ZodOptional; + css: z.ZodOptional; + layers: z.ZodOptional; + futureDefaults: z.ZodOptional; + rspackFuture: z.ZodOptional; + bundler: z.ZodOptional; + force: z.ZodOptional, "many">]>>; + }, "strict", z.ZodTypeAny, { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + }, { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + }, { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + css?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + } | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + layers?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + } | undefined; +}, { + css?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + } | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + layers?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + } | undefined; +}>; + +// @public (undocumented) +export interface ExperimentsNormalized { + // (undocumented) + asyncWebAssembly?: boolean; + // (undocumented) + css?: boolean; + // (undocumented) + futureDefaults?: boolean; + // (undocumented) + layers?: boolean; + // (undocumented) + lazyCompilation?: false | LazyCompilationOptions; + // (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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; +}, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; +}>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>]>; + +// @public (undocumented) +export class ExternalsPlugin extends RspackBuiltinPlugin { + constructor(type: string, externals: Externals); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin | undefined; +} + +// @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; + nwjs: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + node?: boolean | undefined; + web?: boolean | undefined; + nwjs?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; +}, { + node?: boolean | undefined; + web?: boolean | undefined; + nwjs?: 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) +const FetchCompileAsyncWasmPlugin: { + new (): { + name: BuiltinPluginName; + _args: []; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @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) +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) +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, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, { + emit: z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }>, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }>>; + css: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; +}, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | 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, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, { + emit: z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }>, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }>>; + css: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; +}, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | 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 getRawLibrary(library: LibraryOptions): JsLibraryOptions; + +// @public (undocumented) +export const getRawOptions: (options: RspackOptionsNormalized, compiler: Compiler) => RawOptions; + +// @public (undocumented) +export function getRawResolve(resolve: Resolve): RawOptions["resolve"]; + +// @public (undocumented) +export type GlobalObject = z.infer; + +// @public (undocumented) +const globalObject: z.ZodString; + +// @public +interface GlobalPassOption { + envs?: string[] | Record; + typeofs?: Record; + vars?: Record; +} + +// @public (undocumented) +type GotHandler = (result: any | null, callback: (error: Error | null) => void) => void; + +// @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) +class Hash { + constructor(); + + digest(encoding?: string): string | Buffer; + + update(data: string | Buffer, inputEncoding?: string): Hash; +} + +// @public (undocumented) +class Hash_2 { + digest(encoding?: string): string | Buffer; + update(data: string | Buffer, inputEncoding?: string): this; +} + +// @public (undocumented) +interface HashableObject { + // (undocumented) + updateHash(hash: Hash_2): void; +} + +// @public (undocumented) +type HashConstructor = typeof Hash_2; + +// @public (undocumented) +export type HashDigest = z.infer; + +// @public (undocumented) +const hashDigest: z.ZodString; + +// @public (undocumented) +export type HashDigestLength = z.infer; + +// @public (undocumented) +const hashDigestLength: z.ZodNumber; + +// @public (undocumented) +export type HashFunction = z.infer; + +// @public (undocumented) +const hashFunction: z.ZodEnum<["md4", "xxhash64"]>; + +// @public (undocumented) +export type HashSalt = z.infer; + +// @public (undocumented) +const hashSalt: z.ZodString; + +// @public (undocumented) +type Hooks = Readonly<{ + extract: HookMap>; + filter: HookMap>; + filterSorted: HookMap>; + groupResults: HookMap>; + filterResults: HookMap>; + sort: HookMap number)[], + StatsFactoryContext + ], undefined>>; + sortResults: HookMap number)[], + StatsFactoryContext + ], undefined>>; + result: HookMap>; + merge: HookMap>; + getItemName: HookMap>; + getItemFactory: HookMap>; +}>; + +// @public (undocumented) +export class HotModuleReplacementPlugin extends RspackBuiltinPlugin { + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + +// @public (undocumented) +export type HotUpdateChunkFilename = z.infer; + +// @public (undocumented) +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; + publicPath?: string | undefined; + chunks?: string[] | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; + } | undefined): { + name: BuiltinPluginName; + _args: [c?: { + filename?: string | undefined; + publicPath?: string | undefined; + chunks?: string[] | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; + } | undefined]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): 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; + publicPath?: string | undefined; + chunks?: string[] | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; +}, { + filename?: string | undefined; + publicPath?: string | undefined; + chunks?: string[] | undefined; + template?: string | undefined; + templateContent?: string | undefined; + templateParameters?: Record | undefined; + inject?: boolean | "head" | "body" | undefined; + scriptLoading?: "module" | "blocking" | "defer" | undefined; + excludedChunks?: string[] | undefined; + sri?: "sha256" | "sha384" | "sha512" | undefined; + minify?: boolean | undefined; + title?: string | undefined; + favicon?: string | undefined; + meta?: Record> | undefined; +}>; + +// @public (undocumented) +interface IDirent { + // (undocumented) + isBlockDevice: () => boolean; + // (undocumented) + isCharacterDevice: () => boolean; + // (undocumented) + isDirectory: () => boolean; + // (undocumented) + isFIFO: () => boolean; + // (undocumented) + isFile: () => boolean; + // (undocumented) + isSocket: () => boolean; + // (undocumented) + isSymbolicLink: () => boolean; + // (undocumented) + name: string | Buffer; +} + +// @public (undocumented) +export const IgnorePlugin: { + new (options: IgnorePluginOptions): { + name: BuiltinPluginName; + _args: [options: IgnorePluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): 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) +export type ImportMetaName = z.infer; + +// @public (undocumented) +const importMetaName: z.ZodString; + +// @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, { + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + colors?: boolean | undefined; + appendOnly?: boolean | undefined; + console?: Console | undefined; + level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; + stream?: NodeJS.WritableStream | undefined; +}, { + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + colors?: boolean | undefined; + appendOnly?: boolean | undefined; + console?: Console | undefined; + level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; + stream?: NodeJS.WritableStream | undefined; +}>; + +// @public (undocumented) +interface IStats { + // (undocumented) + atime: Date; + // (undocumented) + atimeMs: number | bigint; + // (undocumented) + birthtime: Date; + // (undocumented) + birthtimeMs: number | bigint; + // (undocumented) + blksize: number | bigint; + // (undocumented) + blocks: number | bigint; + // (undocumented) + ctime: Date; + // (undocumented) + ctimeMs: number | bigint; + // (undocumented) + dev: number | bigint; + // (undocumented) + gid: number | bigint; + // (undocumented) + ino: number | bigint; + // (undocumented) + isBlockDevice: () => boolean; + // (undocumented) + isCharacterDevice: () => boolean; + // (undocumented) + isDirectory: () => boolean; + // (undocumented) + isFIFO: () => boolean; + // (undocumented) + isFile: () => boolean; + // (undocumented) + isSocket: () => boolean; + // (undocumented) + isSymbolicLink: () => boolean; + // (undocumented) + mode: number | bigint; + // (undocumented) + mtime: Date; + // (undocumented) + mtimeMs: number | bigint; + // (undocumented) + nlink: number | bigint; + // (undocumented) + rdev: number | bigint; + // (undocumented) + size: number | bigint; + // (undocumented) + uid: number | bigint; +} + +// @public (undocumented) +class ItemCacheFacade implements BaseCache { + constructor(cache: Cache_2, name: string, etag: Etag | null); + // (undocumented) + _cache: Cache_2; + // (undocumented) + _etag: Etag | null; + // (undocumented) + get(callback: CallbackCache): void; + // (undocumented) + getPromise(): Promise; + // (undocumented) + _name: string; + // (undocumented) + provide(computer: (callback: CallbackNormalErrorCache) => void, callback: CallbackNormalErrorCache): void; + // (undocumented) + providePromise(computer: () => Promise | T): Promise; + // (undocumented) + store(data: T, callback: CallbackCache): void; + // (undocumented) + storePromise(data: T): Promise; +} + +// @public (undocumented) +interface JavaScript { + // (undocumented) + EnableChunkLoadingPlugin: typeof EnableChunkLoadingPlugin; + // (undocumented) + JavascriptModulesPlugin: typeof JavascriptModulesPlugin; +} + +// @public (undocumented) +export const javascript: JavaScript; + +// @public (undocumented) +class JavascriptModulesPlugin extends RspackBuiltinPlugin { + // (undocumented) + affectedHooks: "compilation"; + // (undocumented) + static getCompilationHooks(compilation: Compilation): CompilationHooks; + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(): BuiltinPlugin; +} + +// @public (undocumented) +export type JavascriptParserOptions = z.infer; + +// @public (undocumented) +const javascriptParserOptions: z.ZodObject<{ + dynamicImportMode: z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; +}, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; +}, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; +}>; + +// @public (undocumented) +type JscTarget = "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "esnext"; + +// @public (undocumented) +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) +interface KnownCreateStatsOptionsContext { + // (undocumented) + forToString?: boolean; +} + +// @public (undocumented) +interface KnownNormalizedStatsOptions { + // (undocumented) + assets: boolean; + // (undocumented) + assetsSort: string; + // (undocumented) + assetsSpace: number; + // (undocumented) + cachedAssets: boolean; + // (undocumented) + cachedModules: boolean; + // (undocumented) + chunkGroupAuxiliary: boolean; + // (undocumented) + chunkGroupChildren: boolean; + // (undocumented) + chunkGroupMaxAssets: number; + // (undocumented) + chunkGroups: boolean; + // (undocumented) + chunkModules: boolean; + // (undocumented) + chunkModulesSort: string; + // (undocumented) + chunkModulesSpace: number; + // (undocumented) + chunkRelations: boolean; + // (undocumented) + chunks: boolean; + // (undocumented) + chunksSort: string; + // (undocumented) + context: string; + // (undocumented) + dependentModules: boolean; + // (undocumented) + depth: boolean; + // (undocumented) + entrypoints: boolean | "auto"; + // (undocumented) + errors: boolean; + // (undocumented) + errorsCount: boolean; + // (undocumented) + excludeAssets: ((value: string, asset: StatsAsset) => boolean)[]; + // (undocumented) + excludeModules: ((name: string, module: StatsModule, type: "module" | "chunk" | "root-of-chunk" | "nested") => boolean)[]; + // (undocumented) + groupAssetsByEmitStatus: boolean; + // (undocumented) + groupAssetsByExtension: boolean; + // (undocumented) + groupAssetsByPath: boolean; + // (undocumented) + groupModulesByAttributes: boolean; + // (undocumented) + groupModulesByCacheStatus: boolean; + // (undocumented) + groupModulesByExtension: boolean; + // (undocumented) + groupModulesByLayer: boolean; + // (undocumented) + groupModulesByPath: boolean; + // (undocumented) + groupModulesByType: boolean; + // (undocumented) + hash: boolean; + // (undocumented) + ids: boolean; + // (undocumented) + logging: false | "none" | "error" | "warn" | "info" | "log" | "verbose"; + // (undocumented) + loggingDebug: ((value: string) => boolean)[]; + // (undocumented) + loggingTrace: boolean; + // (undocumented) + moduleAssets: boolean; + // (undocumented) + modules: boolean; + // (undocumented) + modulesSort: string; + // (undocumented) + modulesSpace: number; + // (undocumented) + nestedModules: boolean; + // (undocumented) + nestedModulesSort: string; + // (undocumented) + nestedModulesSpace: number; + // (undocumented) + optimizationBailout: boolean; + // (undocumented) + orphanModules: boolean; + // (undocumented) + providedExports: boolean; + // (undocumented) + reasons: boolean; + // (undocumented) + runtimeModules: boolean; + // (undocumented) + source: boolean; + // (undocumented) + usedExports: boolean; + // (undocumented) + warnings: boolean; + // (undocumented) + warningsCount: boolean; + // (undocumented) + warningsFilter: ((warning: StatsError, textValue: string) => boolean)[]; +} + +// @public (undocumented) +type KnownStatsAsset = Omit; + +// @public (undocumented) +type KnownStatsChunk = Omit & { + sizes: Record; + origins: StatsChunkOrigin[]; +}; + +// @public (undocumented) +type KnownStatsChunkOrigin = { + module: string; + moduleIdentifier: string; + moduleName: string; + loc: string; + request: string; + moduleId?: string; +}; + +// @public (undocumented) +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; +}; + +// @public (undocumented) +type KnownStatsFactoryContext = { + type: string; + makePathsRelative?: ((arg0: string) => string) | undefined; + compilation?: Compilation | undefined; + cachedGetErrors?: ((arg0: Compilation) => JsStatsError[]) | undefined; + cachedGetWarnings?: ((arg0: Compilation) => JsStatsWarning[]) | undefined; + getStatsCompilation: (compilation: Compilation) => JsStatsCompilation; + getInner: (compilation: Compilation) => JsStats; +}; + +// @public (undocumented) +type KnownStatsLogging = { + entries: StatsLoggingEntry[]; + filteredEntries: number; + debug: boolean; +}; + +// @public (undocumented) +type KnownStatsLoggingEntry = { + type: string; + message: string; + trace?: string[] | undefined; + children?: StatsLoggingEntry[] | undefined; + args?: any[] | undefined; + time?: number | undefined; +}; + +// @public (undocumented) +type KnownStatsModule = { + type: string; + moduleType: string; + layer?: string; + identifier?: string; + name?: string; + nameForCondition?: string; + index?: number; + index2?: number; + preOrderIndex?: number; + postOrderIndex?: number; + size: number; + sizes: Record; + cacheable?: boolean; + built: boolean; + codeGenerated: boolean; + buildTimeExecuted: boolean; + cached: boolean; + optional?: boolean; + orphan?: boolean; + id?: string; + issuerId?: string; + chunks?: string[]; + assets?: string[]; + dependent?: boolean; + issuer?: string; + issuerName?: string; + issuerPath?: StatsModuleIssuer[]; + failed?: boolean; + errors?: number; + warnings?: number; + profile?: StatsProfile; + reasons?: StatsModuleReason[]; + usedExports?: boolean | string[] | null; + providedExports?: string[] | null; + optimizationBailout?: string[] | null; + depth?: number; + modules?: StatsModule[]; + filteredModules?: number; + source?: string | Buffer; +}; + +// @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; + building: number; +}; + +// @public (undocumented) +export type Layer = z.infer; + +// @public (undocumented) +const layer: z.ZodUnion<[z.ZodString, z.ZodNull]>; + +// @public (undocumented) +export type LazyCompilationOptions = z.infer; + +// @public (undocumented) +const lazyCompilationOptions: z.ZodObject<{ + backend: z.ZodOptional; + listen: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ + port: z.ZodOptional; + host: z.ZodOptional; + backlog: z.ZodOptional; + path: z.ZodOptional; + exclusive: z.ZodOptional; + readableAll: z.ZodOptional; + writableAll: z.ZodOptional; + ipv6Only: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + }, { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + }>]>; + protocol: z.ZodOptional>; + }, "strip", z.ZodTypeAny, { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + }, { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + }>>; + imports: z.ZodOptional; + entries: z.ZodOptional; + test: z.ZodOptional, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; +}, "strip", z.ZodTypeAny, { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; +}, { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; +}>; + +// @public (undocumented) +export type Library = z.infer; + +// @public (undocumented) +export const library: Library_2; + +// @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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; +}, { + commonjs?: string | undefined; + amd?: 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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; +}, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; +}>]>>; + +// @public (undocumented) +export type LibraryCustomUmdCommentObject = z.infer; + +// @public (undocumented) +const libraryCustomUmdCommentObject: z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; +}, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; +}>; + +// @public (undocumented) +export type LibraryCustomUmdObject = z.infer; + +// @public (undocumented) +const libraryCustomUmdObject: z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; +}, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; +}>; + +// @public (undocumented) +export type LibraryExport = z.infer; + +// @public (undocumented) +const libraryExport: z.ZodUnion<[z.ZodString, z.ZodArray]>; + +// @public (undocumented) +export type LibraryName = z.infer; + +// @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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; +}, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; +}>]>; + +// @public (undocumented) +export type LibraryOptions = z.infer; + +// @public (undocumented) +const libraryOptions: z.ZodObject<{ + amdContainer: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; +}, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | 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) +export type LightningcssFeatureOptions = { + nesting?: boolean; + notSelectorList?: boolean; + dirSelector?: boolean; + langSelectorList?: boolean; + isSelector?: boolean; + textDecorationThicknessPercent?: boolean; + mediaIntervalSyntax?: boolean; + mediaRangeSyntax?: boolean; + customMediaQueries?: boolean; + clampFunction?: boolean; + colorFunction?: boolean; + oklabColors?: boolean; + labColors?: boolean; + p3Colors?: boolean; + hexAlphaColors?: boolean; + spaceSeparatedColorNotation?: boolean; + fontFamilySystemUi?: boolean; + doublePositionGradients?: boolean; + vendorPrefixes?: boolean; + logicalProperties?: boolean; + selectors?: boolean; + mediaQueries?: boolean; + color?: boolean; +}; + +// @public (undocumented) +export type LightningcssLoaderOptions = { + errorRecovery?: boolean; + targets?: Targets | string[] | string; + include?: LightningcssFeatureOptions; + exclude?: LightningcssFeatureOptions; + draft?: Drafts; + nonStandard?: NonStandard; + pseudoClasses?: PseudoClasses; + unusedSymbols?: string[]; +}; + +// @public (undocumented) +export const LightningCssMinimizerRspackPlugin: { + new (options?: LightningCssMinimizerRspackPluginOptions | undefined): { + name: BuiltinPluginName; + _args: [options?: LightningCssMinimizerRspackPluginOptions | undefined]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type LightningCssMinimizerRspackPluginOptions = { + test?: AssetConditions; + include?: AssetConditions; + exclude?: AssetConditions; + removeUnusedLocalIdents?: boolean; + minimizerOptions?: { + errorRecovery?: boolean; + targets?: Targets | string[] | string; + include?: LightningcssFeatureOptions; + exclude?: LightningcssFeatureOptions; + draft?: Drafts; + nonStandard?: NonStandard; + pseudoClasses?: PseudoClasses; + unusedSymbols?: string[]; + }; +}; + +// @public (undocumented) +type LimitChunkCountOptions = { + chunkOverhead?: number; + entryChunkMultiplicator?: number; + maxChunks: number; +}; + +// @public (undocumented) +const LimitChunkCountPlugin: { + new (options: LimitChunkCountOptions): { + name: BuiltinPluginName; + _args: [options: LimitChunkCountOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type Loader = z.infer; + +// @public (undocumented) +const loader: z.ZodRecord; + +// @public (undocumented) +export interface LoaderContext { + // (undocumented) + addBuildDependency(file: string): void; + // (undocumented) + addContextDependency(context: string): void; + // (undocumented) + addDependency(file: string): void; + // (undocumented) + addMissingDependency(missing: string): void; + // (undocumented) + async(): (err?: Error | null, content?: string | Buffer, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => void; + // (undocumented) + cacheable(cacheable?: boolean): void; + // (undocumented) + callback(err?: Error | null, content?: string | Buffer, sourceMap?: string | SourceMap, additionalData?: AdditionalData): void; + // (undocumented) + clearDependencies(): void; + // (undocumented) + _compilation: Compilation; + // (undocumented) + _compiler: Compiler; + // (undocumented) + context: string | null; + // (undocumented) + currentRequest: string; + // (undocumented) + data: unknown; + // (undocumented) + dependency(file: string): void; + // (undocumented) + emitError(error: Error): void; + // (undocumented) + emitFile(name: string, content: string | Buffer, sourceMap?: string, assetInfo?: JsAssetInfo): void; + // (undocumented) + emitWarning(warning: Error): void; + // (undocumented) + fs: any; + // (undocumented) + getContextDependencies(): string[]; + // (undocumented) + getDependencies(): string[]; + // (undocumented) + getLogger(name: string): Logger; + // (undocumented) + 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?: PublicPath; + baseUri?: string; + }, callback: (err?: Error, res?: any) => void): void; + // (undocumented) + loaderIndex: number; + loaders: LoaderObject[]; + // (undocumented) + mode?: Mode; + // (undocumented) + _module: Module; + // (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) + target?: Target; + // (undocumented) + utils: { + absolutify: (context: string, request: string) => string; + contextify: (context: string, request: string) => string; + createHash: (algorithm?: string) => Hash_2; + }; + // (undocumented) + version: 2; +} + +// @public (undocumented) +export type LoaderDefinition = LoaderDefinitionFunction & { + raw?: false; + pitch?: PitchLoaderDefinitionFunction; +}; + +// @public (undocumented) +export type LoaderDefinitionFunction = (this: LoaderContext & ContextAdditions, content: string, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => string | void | Buffer | Promise; + +// @public (undocumented) +class LoaderObject { + constructor(loaderItem: JsLoaderItem, compiler: Compiler); + // (undocumented) + static __from_binding(loaderItem: JsLoaderItem, compiler: Compiler): LoaderObject; + // (undocumented) + static __to_binding(loader: LoaderObject): JsLoaderItem; + // (undocumented) + get data(): any; + set data(data: any); + // (undocumented) + fragment: string; + // (undocumented) + ident: string; + // (undocumented) + normal?: Function; + // (undocumented) + get normalExecuted(): boolean; + set normalExecuted(value: boolean); + // (undocumented) + options?: string | object; + // (undocumented) + path: string; + // (undocumented) + pitch?: Function; + // (undocumented) + get pitchExecuted(): boolean; + set pitchExecuted(value: boolean); + // (undocumented) + query: string; + // (undocumented) + raw?: boolean; + // (undocumented) + request: string; + // (undocumented) + shouldYield(): boolean; + // (undocumented) + type?: "module" | "commonjs"; +} + +// @public (undocumented) +export class LoaderOptionsPlugin { + constructor(options?: LoaderOptionsPluginOptions); + apply(compiler: Compiler): void; + // (undocumented) + options: LoaderOptionsPluginOptions; +} + +// @public (undocumented) +type LoaderOptionsPluginOptions = MatchObject & { + [key: string]: unknown; +}; + +// @public (undocumented) +export class LoaderTargetPlugin { + constructor(target: Target); + apply(compiler: Compiler): void; + // (undocumented) + readonly target: Target; +} + +// @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) + clear(): void; + // (undocumented) + debug(...args: string[]): void; + // (undocumented) + error(...args: any[]): void; + // (undocumented) + getChildLogger: GetChildLogger; + // (undocumented) + group(...args: any[]): void; + // (undocumented) + groupCollapsed(...args: any[]): void; + // (undocumented) + groupEnd(...args: any[]): void; + // (undocumented) + info(...args: any[]): void; + // (undocumented) + log(...args: any[]): void; + // (undocumented) + profile(label: any): void; + // (undocumented) + profileEnd(label: any): void; + // (undocumented) + status(...args: any[]): void; + // (undocumented) + time(label: any): void; + // (undocumented) + timeAggregate(label: any): void; + // (undocumented) + timeAggregateEnd(label: any): void; + // (undocumented) + timeEnd(label: any): void; + // (undocumented) + timeLog(label: any): void; + // (undocumented) + trace(): void; + // (undocumented) + 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) +type LogTypeEnum = (typeof LogType)[keyof typeof LogType]; + +// @public (undocumented) +type MapOptions = { columns?: boolean; module?: boolean }; + +// @public +type Matcher = string | RegExp | (string | RegExp)[]; + +// @public (undocumented) +interface MatchObject { + // (undocumented) + exclude?: Matcher; + // (undocumented) + include?: Matcher; + // (undocumented) + test?: Matcher; +} + +// @public +const matchObject: (obj: MatchObject, str: string) => boolean; + +// @public (undocumented) +const matchPart: (str: string, test: Matcher) => boolean; + +// @public (undocumented) +export type Mode = z.infer; + +// @public (undocumented) +const mode: z.ZodEnum<["development", "production", "none"]>; + +// @public (undocumented) +export class Module { + constructor(module: JsModule, compilation?: Compilation); + // (undocumented) + static __from_binding(module: JsModule, compilation?: Compilation): Module; + buildInfo: Record; + buildMeta: Record; + // (undocumented) + context?: Readonly; + // (undocumented) + factoryMeta?: Readonly; + // (undocumented) + identifier(): string; + // (undocumented) + layer: null | string; + // (undocumented) + nameForCondition(): string | null; + // (undocumented) + originalSource(): Source | null; + // (undocumented) + rawRequest?: Readonly; + // (undocumented) + request?: Readonly; + // (undocumented) + resource?: Readonly; + // (undocumented) + type: string; + // (undocumented) + userRequest?: Readonly; +} + +// @public (undocumented) +class ModuleFederationPlugin { + constructor(_options: ModuleFederationPluginOptions); + // (undocumented) + apply(compiler: Compiler): void; +} + +// @public (undocumented) +export interface ModuleFederationPluginOptions extends Omit { + // (undocumented) + implementation?: string; + // (undocumented) + runtimePlugins?: RuntimePlugins; +} + +// @public (undocumented) +class ModuleFederationPluginV1 { + constructor(_options: ModuleFederationPluginV1Options); + // (undocumented) + apply(compiler: Compiler): void; +} + +// @public (undocumented) +export interface ModuleFederationPluginV1Options { + // (undocumented) + enhanced?: boolean; + // (undocumented) + exposes?: Exposes; + // (undocumented) + filename?: string; + // (undocumented) + library?: LibraryOptions; + // (undocumented) + name: string; + // (undocumented) + remotes?: Remotes; + // (undocumented) + remoteType?: ExternalsType; + // (undocumented) + runtime?: EntryRuntime; + // (undocumented) + shared?: Shared; + // (undocumented) + shareScope?: string; +} + +declare namespace ModuleFilenameHelpers { + export { + asRegExp, + matchPart, + MatchObject, + matchObject + } +} +export { ModuleFilenameHelpers } + +// @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>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + }, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + }>, z.ZodRecord>]>>; + generator: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, { + emit: z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }>, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }>>; + css: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + }, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + }>, z.ZodRecord>]>>; + noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; +}, "strict", z.ZodTypeAny, { + parser?: { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + } | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; +}, { + parser?: { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + } | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | 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) + defaultRules?: RuleSetRules; + // (undocumented) + generator: GeneratorOptionsByModuleType; + // (undocumented) + noParse?: NoParseOption; + // (undocumented) + parser: ParserOptionsByModuleType; + // (undocumented) + rules: RuleSetRules; +} + +// @public (undocumented) +type ModuleReplacer = (createData: ResolveData) => void; + +// @public (undocumented) +export class MultiCompiler { + constructor(compilers: Compiler[] | Record, options?: MultiCompilerOptions); + // (undocumented) + close(callback: liteTapable.Callback): void; + // (undocumented) + compilers: Compiler[]; + // (undocumented) + dependencies: WeakMap; + // (undocumented) + getInfrastructureLogger(name: string): Logger_2; + // (undocumented) + hooks: { + done: liteTapable.SyncHook; + invalid: liteTapable.MultiHook>; + run: liteTapable.MultiHook>; + watchClose: liteTapable.SyncHook<[]>; + watchRun: liteTapable.MultiHook>; + infrastructureLog: liteTapable.MultiHook>; + }; + // (undocumented) + get inputFileSystem(): void; + set inputFileSystem(value: void); + // (undocumented) + get intermediateFileSystem(): void; + set intermediateFileSystem(value: void); + // (undocumented) + get options(): RspackOptionsNormalized_2[] & MultiCompilerOptions; + // (undocumented) + _options: MultiCompilerOptions; + // (undocumented) + get outputFileSystem(): fs_2; + set outputFileSystem(value: fs_2); + // (undocumented) + get outputPath(): string; + // (undocumented) + purgeInputFileSystem(): void; + // (undocumented) + run(callback: liteTapable.Callback): void; + // (undocumented) + running: boolean; + // (undocumented) + setDependencies(compiler: Compiler, dependencies: string[]): void; + // (undocumented) + validateDependencies(callback: liteTapable.Callback): boolean; + // (undocumented) + watch(watchOptions: WatchOptions, handler: liteTapable.Callback): MultiWatching; + // (undocumented) + get watchFileSystem(): WatchFileSystem; + set watchFileSystem(value: WatchFileSystem); +} + +// @public (undocumented) +export interface MultiCompilerOptions { + parallelism?: number; +} + +// @public (undocumented) +export type MultiRspackOptions = ReadonlyArray & MultiCompilerOptions; + +// @public (undocumented) +export class MultiStats { + constructor(stats: Stats[]); + // (undocumented) + hasErrors(): boolean; + // (undocumented) + get hash(): string; + // (undocumented) + hasWarnings(): boolean; + // (undocumented) + stats: Stats[]; + // (undocumented) + toJson(options: any): StatsCompilation; + // (undocumented) + toString(options: any): string; +} + +// @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; + +// @public (undocumented) +const name_2: z.ZodString; + +// @public (undocumented) +export const node: Node_3; + +// @public (undocumented) +type Node_2 = z.infer; +export { Node_2 as Node } + +// @public (undocumented) +const node_2: z.ZodUnion<[z.ZodLiteral, z.ZodObject<{ + __dirname: z.ZodOptional]>>; + __filename: z.ZodOptional]>>; + global: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + global?: boolean | "warn" | undefined; + __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; +}>]>; + +// @public (undocumented) +interface Node_3 { + // (undocumented) + NodeEnvironmentPlugin: typeof NodeEnvironmentPlugin; + // (undocumented) + NodeTargetPlugin: typeof NodeTargetPlugin; + // (undocumented) + NodeTemplatePlugin: typeof NodeTemplatePlugin; +} + +// @public (undocumented) +class NodeEnvironmentPlugin { + constructor(options: NodeEnvironmentPluginOptions); + // (undocumented) + apply(compiler: Compiler): void; + // (undocumented) + options: NodeEnvironmentPluginOptions; +} + +// @public (undocumented) +interface NodeEnvironmentPluginOptions { + // (undocumented) + infrastructureLogging: InfrastructureLogging; +} + +// @public (undocumented) +interface NodeNextConfig extends BaseModuleConfig { + // (undocumented) + type: "nodenext"; +} + +// @public (undocumented) +export type NodeOptions = z.infer; + +// @public (undocumented) +const nodeOptions: z.ZodObject<{ + __dirname: z.ZodOptional]>>; + __filename: z.ZodOptional]>>; + global: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + global?: boolean | "warn" | undefined; + __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; +}>; + +// @public (undocumented) +const NodeTargetPlugin: { + new (): { + name: BuiltinPluginName; + _args: []; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): 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) +interface NonStandard { + deepSelectorCombinator?: 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) +type NormalizedStatsOptions = KnownNormalizedStatsOptions & Omit & Record; + +// @public (undocumented) +export class NormalModule { + // (undocumented) + static getCompilationHooks(compilation: Compilation): { + loader: liteTapable.SyncHook<[LoaderContext<{}>], void, { + _UnsetAdditionalOptions: true; + }>; + readResourceForScheme: any; + readResource: liteTapable.HookMap], string | Buffer, { + _UnsetAdditionalOptions: true; + }>>; + }; +} + +// @public (undocumented) +type NormalModuleCreateData = binding.JsNormalModuleFactoryCreateModuleArgs & { + settings: {}; +}; + +// @public (undocumented) +export class NormalModuleFactory { + constructor(); + // (undocumented) + hooks: { + resolveForScheme: liteTapable.HookMap>; + beforeResolve: liteTapable.AsyncSeriesBailHook<[ResolveData], false | void>; + factorize: liteTapable.AsyncSeriesBailHook<[ResolveData], void>; + resolve: liteTapable.AsyncSeriesBailHook<[ResolveData], void>; + afterResolve: liteTapable.AsyncSeriesBailHook<[ResolveData], false | void>; + createModule: liteTapable.AsyncSeriesBailHook<[ + NormalModuleCreateData, + {} + ], void>; + }; +} + +// @public (undocumented) +export class NormalModuleReplacementPlugin { + constructor(resourceRegExp: RegExp, newResource: string | ModuleReplacer); + apply(compiler: Compiler): void; + // (undocumented) + readonly newResource: string | ModuleReplacer; + // (undocumented) + readonly resourceRegExp: RegExp; +} + +// @public (undocumented) +export type Optimization = z.infer; + +// @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, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: 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" | "initial" | "all" | ((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" | "initial" | "all" | ((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, { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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; + }, { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + name?: string | ((args_0: { + name: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + name?: string | ((args_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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" | "natural" | "deterministic" | undefined; + chunkIds?: "named" | "natural" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; + nodeEnv?: string | false | undefined; +}, { + moduleIds?: "named" | "natural" | "deterministic" | undefined; + chunkIds?: "named" | "natural" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | 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.ZodUnknown>, z.ZodString>]>>; +}, "strict", z.ZodTypeAny, { + name?: string | ((args_0: { + name: string; + }, ...args_1: unknown[]) => string) | undefined; +}, { + name?: string | ((args_0: { + name: string; + }, ...args_1: unknown[]) => string) | undefined; +}>]>; + +// @public (undocumented) +export type OptimizationRuntimeChunkNormalized = false | { + name: string | ((entrypoint: { + name: string; + }) => string); +}; + +// @public (undocumented) +export type OptimizationSplitChunksCacheGroup = z.infer; + +// @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, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; +}, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; +}>; + +// @public (undocumented) +export type OptimizationSplitChunksNameFunction = z.infer; + +// @public (undocumented) +const optimizationSplitChunksNameFunction: z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>; + +// @public (undocumented) +export type OptimizationSplitChunksOptions = z.infer; + +// @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, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: 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" | "initial" | "all" | ((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" | "initial" | "all" | ((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, { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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; +}, { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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; + // (undocumented) + RuntimeChunkPlugin: typeof RuntimeChunkPlugin; + // (undocumented) + SplitChunksPlugin: typeof SplitChunksPlugin; +} + +// @public (undocumented) +export const optimize: Optimize; + +// @public +type OptimizerConfig = { + simplify?: boolean; + globals?: GlobalPassOption; + jsonify?: { + minCost: number; + }; +}; + +// @public (undocumented) +export type Output = z.infer; + +// @public (undocumented) +const output: z.ZodObject<{ + path: z.ZodOptional; + pathinfo: z.ZodOptional]>>; + clean: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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>]>>; + cssHeadDataCompression: z.ZodOptional; + cssChunkFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + hotUpdateMainFilename: z.ZodOptional; + hotUpdateChunkFilename: z.ZodOptional; + hotUpdateGlobal: z.ZodOptional; + assetModuleFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + 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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>]>>>; + libraryExport: z.ZodOptional]>>; + libraryTarget: z.ZodOptional, z.ZodString]>>; + umdNamedDefine: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + module: z.ZodOptional; + strictModuleExceptionHandling: z.ZodOptional; + strictModuleErrorHandling: z.ZodOptional; + globalObject: z.ZodOptional; + importFunctionName: z.ZodOptional; + importMetaName: 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>]>>; + chunkLoadTimeout: z.ZodOptional; + charset: z.ZodOptional; + environment: z.ZodOptional; + asyncFunction: z.ZodOptional; + bigIntLiteral: z.ZodOptional; + const: z.ZodOptional; + destructuring: z.ZodOptional; + document: z.ZodOptional; + dynamicImport: z.ZodOptional; + dynamicImportInWorker: z.ZodOptional; + forOf: z.ZodOptional; + globalThis: z.ZodOptional; + module: z.ZodOptional; + nodePrefixForCoreModules: z.ZodOptional; + optionalChaining: z.ZodOptional; + templateLiteral: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + }, { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + module?: boolean | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + } | undefined; + path?: string | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + importMetaName?: string | undefined; + iife?: boolean | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | 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; + chunkLoadTimeout?: number | undefined; + charset?: boolean | undefined; +}, { + module?: boolean | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + } | undefined; + path?: string | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + importMetaName?: string | undefined; + iife?: boolean | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | 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; + chunkLoadTimeout?: number | undefined; + charset?: boolean | undefined; +}>; + +// @public (undocumented) +export interface OutputFileSystem { + // (undocumented) + dirname?: (arg0: string) => string; + // (undocumented) + join?: (arg0: string, arg1: string) => string; + // (undocumented) + lstat?: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: IStats) => void) => void; + // (undocumented) + mkdir: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException) => void) => void; + // (undocumented) + readdir: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: (string | Buffer)[] | IDirent[]) => void) => void; + // (undocumented) + readFile: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: string | Buffer) => void) => void; + // (undocumented) + relative?: (arg0: string, arg1: string) => string; + // (undocumented) + rmdir: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException) => void) => void; + // (undocumented) + stat: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: IStats) => void) => void; + // (undocumented) + unlink: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException) => void) => void; + // (undocumented) + writeFile: (arg0: string, arg1: string | Buffer, arg2: (arg0?: null | NodeJS.ErrnoException) => void) => void; +} + +// @public (undocumented) +export type OutputModule = z.infer; + +// @public (undocumented) +const outputModule: z.ZodBoolean; + +// @public (undocumented) +export interface OutputNormalized { + // (undocumented) + assetModuleFilename?: AssetModuleFilename; + // (undocumented) + asyncChunks?: boolean; + // (undocumented) + charset?: boolean; + // (undocumented) + chunkFilename?: ChunkFilename; + // (undocumented) + chunkFormat?: string | false; + // (undocumented) + chunkLoading?: string | false; + // (undocumented) + chunkLoadingGlobal?: ChunkLoadingGlobal; + // (undocumented) + chunkLoadTimeout?: number; + // (undocumented) + clean?: Clean; + // (undocumented) + crossOriginLoading?: CrossOriginLoading; + // (undocumented) + cssChunkFilename?: CssChunkFilename; + // (undocumented) + cssFilename?: CssFilename; + // (undocumented) + cssHeadDataCompression?: boolean; + // (undocumented) + devtoolFallbackModuleFilenameTemplate?: DevtoolFallbackModuleFilenameTemplate; + // (undocumented) + devtoolModuleFilenameTemplate?: DevtoolModuleFilenameTemplate; + // (undocumented) + devtoolNamespace?: DevtoolNamespace; + // (undocumented) + enabledChunkLoadingTypes?: string[]; + // (undocumented) + enabledLibraryTypes?: EnabledLibraryTypes; + // (undocumented) + enabledWasmLoadingTypes?: EnabledWasmLoadingTypes; + // (undocumented) + environment?: Environment; + // (undocumented) + filename?: Filename; + // (undocumented) + globalObject?: GlobalObject; + // (undocumented) + hashDigest?: HashDigest; + // (undocumented) + hashDigestLength?: HashDigestLength; + // (undocumented) + hashFunction?: HashFunction; + // (undocumented) + hashSalt?: HashSalt; + // (undocumented) + hotUpdateChunkFilename?: HotUpdateChunkFilename; + // (undocumented) + hotUpdateGlobal?: HotUpdateGlobal; + // (undocumented) + hotUpdateMainFilename?: HotUpdateMainFilename; + // (undocumented) + iife?: Iife; + // (undocumented) + importFunctionName?: ImportFunctionName; + // (undocumented) + importMetaName?: ImportMetaName; + // (undocumented) + library?: LibraryOptions; + // (undocumented) + module?: OutputModule; + // (undocumented) + path?: Path; + // (undocumented) + pathinfo?: boolean | "verbose"; + // (undocumented) + publicPath?: PublicPath; + // (undocumented) + scriptType?: ScriptType; + // (undocumented) + sourceMapFilename?: SourceMapFilename; + // (undocumented) + 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) +interface ParsedIdentifier { + // (undocumented) + directory: boolean; + // (undocumented) + file: boolean; + // (undocumented) + fragment: string; + // (undocumented) + internal: boolean; + // (undocumented) + module: boolean; + // (undocumented) + query: string; + // (undocumented) + request: string; +} + +// @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>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; +}, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | 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>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; +}, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | 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) +export type Pathinfo = z.infer; + +// @public (undocumented) +const pathinfo: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>; + +// @public (undocumented) +type Performance_2 = z.infer; +export { Performance_2 as Performance } + +// @public (undocumented) +const performance_2: z.ZodUnion<[z.ZodObject<{ + assetFilter: z.ZodOptional, z.ZodBoolean>>; + hints: z.ZodOptional, z.ZodLiteral]>>; + maxAssetSize: z.ZodOptional; + maxEntrypointSize: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; +}, { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; +}>, z.ZodLiteral]>; + +// @public (undocumented) +type PitchLoaderDefinitionFunction = (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) +export type Plugins = z.infer; + +// @public (undocumented) +const plugins: z.ZodArray, z.ZodType, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">; + +// @public (undocumented) +type PrintedElement = { + element: string; + content: string; +}; + +// @public (undocumented) +export type Profile = z.infer; + +// @public (undocumented) +const profile: z.ZodBoolean; + +// @public (undocumented) +export const ProgressPlugin: { + new (progress?: ProgressPluginArgument): { + name: BuiltinPluginName; + _args: [progress?: ProgressPluginArgument]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type ProgressPluginArgument = Partial | undefined; + +// @public (undocumented) +export const ProvidePlugin: { + new (provide: ProvidePluginOptions): { + name: BuiltinPluginName; + _args: [provide: ProvidePluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type ProvidePluginOptions = Record; + +// @public (undocumented) +export type Provides = (ProvidesItem | ProvidesObject)[] | ProvidesObject; + +// @public (undocumented) +export type ProvidesConfig = Enhanced extends true ? ProvidesEnhancedConfig : ProvidesV1Config; + +// @public (undocumented) +type ProvidesEnhancedConfig = ProvidesV1Config & ProvidesEnhancedExtraConfig; + +// @public (undocumented) +type ProvidesEnhancedExtraConfig = { + singleton?: boolean; + strictVersion?: boolean; + requiredVersion?: false | string; +}; + +// @public (undocumented) +class ProvideSharedPlugin extends RspackBuiltinPlugin { + constructor(options: ProvideSharedPluginOptions); + // (undocumented) + _enhanced?: Enhanced; + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + _provides: [string, Omit][]; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + +// @public (undocumented) +export type ProvideSharedPluginOptions = { + provides: Provides; + shareScope?: string; + enhanced?: Enhanced; +}; + +// @public (undocumented) +export type ProvidesItem = string; + +// @public (undocumented) +export type ProvidesObject = { + [k: string]: ProvidesConfig | ProvidesItem; +}; + +// @public (undocumented) +type ProvidesV1Config = { + eager?: boolean; + shareKey: string; + shareScope?: string; + version?: false | string; +}; + +// @public (undocumented) +interface PseudoClasses { + // (undocumented) + active?: string; + // (undocumented) + focus?: string; + // (undocumented) + focusVisible?: string; + // (undocumented) + focusWithin?: string; + // (undocumented) + hover?: string; +} + +// @public (undocumented) +export type PublicPath = z.infer; + +// @public (undocumented) +const publicPath: z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>; + +// @public (undocumented) +type RawReactOptions = { + runtime?: "automatic" | "classic"; + importSource?: string; + pragma?: string; + pragmaFrag?: string; + throwIfNamespace?: boolean; + development?: boolean; + useBuiltins?: boolean; + useSpread?: boolean; + refresh?: boolean; +}; + +// @public (undocumented) +type RawSourceMap = { + version: number; + sources: string[]; + names: string[]; + sourceRoot?: string; + sourcesContent?: string[]; + mappings: string; + file: string; +}; + +// @public (undocumented) +type ReactOptions = RawReactOptions | undefined; + +// @public (undocumented) +type RecursiveArrayOrRecord = { + [index: string]: RecursiveArrayOrRecord; +} | Array> | T; + +// @public (undocumented) +export type Remotes = (RemotesItem | RemotesObject)[] | RemotesObject; + +// @public (undocumented) +export type RemotesConfig = { + external: RemotesItem | RemotesItems; + shareScope?: string; +}; + +// @public (undocumented) +export type RemotesItem = string; + +// @public (undocumented) +export type RemotesItems = RemotesItem[]; + +// @public (undocumented) +export type RemotesObject = { + [k: string]: RemotesConfig | RemotesItem | RemotesItems; +}; + +// @public (undocumented) +export type Resolve = z.infer; + +// @public (undocumented) +export type ResolveAlias = z.infer; + +// @public (undocumented) +const resolveAlias: z.ZodRecord, z.ZodString]>, z.ZodArray]>, "many">]>>; + +// @public (undocumented) +type ResolveContext = {}; + +// @public (undocumented) +type ResolveData = { + contextInfo: ContextInfo; + context: string; + request: string; + fileDependencies: string[]; + missingDependencies: string[]; + contextDependencies: string[]; + createData?: CreateData; +}; + +// @public (undocumented) +export type ResolveOptions = z.infer & { + byDependency?: Record; +}; + +// @public (undocumented) +const resolveOptions: z.ZodType; + +// @public (undocumented) +type ResolveOptionsWithDependencyType = Resolve & { + dependencyCategory?: string; + resolveToContext?: boolean; +}; + +// @public (undocumented) +type ResolveOptionsWithDependencyType_2 = Resolve & { + dependencyCategory?: string; + resolveToContext?: boolean; +}; + +// @public (undocumented) +class Resolver { + constructor(binding: binding.JsResolver); + // (undocumented) + binding: binding.JsResolver; + // (undocumented) + resolve(context: object, path: string, request: string, resolveContext: ResolveContext, callback: (err: null | ErrorWithDetail, res?: string | false) => void): void; + // (undocumented) + resolveSync(context: object, path: string, request: string): string | false; + // (undocumented) + withOptions({ dependencyCategory, resolveToContext, ...resolve }: ResolveOptionsWithDependencyType_2): Resolver; +} + +// @public (undocumented) +type ResolveRequest = BaseResolveRequest & Partial; + +// @public (undocumented) +class ResolverFactory { + constructor(); + // (undocumented) + static __to_binding(resolver_factory: ResolverFactory): binding.JsResolverFactory; + // (undocumented) + get(type: string, resolveOptions?: ResolveOptionsWithDependencyType): Resolver; +} + +// @public (undocumented) +export type ResolveTsConfig = z.infer; + +// @public (undocumented) +const resolveTsConfig: z.ZodUnion<[z.ZodString, 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; + +// @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): null | MultiCompiler; + +// @public (undocumented) +function rspack_2(options: RspackOptions, callback?: Callback): null | Compiler; + +// @public (undocumented) +function rspack_2(options: MultiRspackOptions | RspackOptions, callback?: Callback): 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; +} + +// @public (undocumented) +type RspackError = binding.JsRspackError; + +declare namespace rspackExports { + export { + rspackVersion, + version, + Asset, + AssetInfo, + Assets, + CompilationParams, + LogEntry, + Compilation, + Compiler, + MultiCompilerOptions, + MultiRspackOptions, + MultiCompiler, + RspackOptionsApply, + RspackOptionsApply as WebpackOptionsApply, + Chunk, + ChunkGroup, + Module, + MultiStats, + NormalModule, + NormalModuleFactory, + RuntimeGlobals, + StatsAsset, + StatsChunk, + StatsCompilation, + StatsError, + StatsModule, + StatsWarnings, + Stats, + ModuleFilenameHelpers, + Template, + WebpackError, + Watching, + sources, + config, + util, + EntryOptionPlugin, + OutputFileSystem, + BannerPluginArgument, + ProvidePluginOptions, + DefinePluginOptions, + ProgressPluginArgument, + EntryOptions, + BannerPlugin, + IgnorePlugin, + IgnorePluginOptions, + ProvidePlugin, + DefinePlugin, + ProgressPlugin, + EntryPlugin, + DynamicEntryPlugin, + ExternalsPlugin, + HotModuleReplacementPlugin, + EnvironmentPlugin, + LoaderOptionsPlugin, + LoaderTargetPlugin, + NormalModuleReplacementPlugin, + web, + node, + electron, + library, + wasm, + javascript, + webworker, + optimize, + ModuleFederationPluginOptions, + ModuleFederationPluginV1Options, + ContainerPluginOptions, + Exposes, + ExposesConfig, + ExposesItem, + ExposesItems, + ExposesObject, + ContainerReferencePluginOptions, + Remotes, + RemotesConfig, + RemotesItem, + RemotesItems, + RemotesObject, + container, + Consumes, + ConsumesConfig, + ConsumeSharedPluginOptions, + ConsumesItem, + ConsumesObject, + Provides, + ProvidesConfig, + ProvideSharedPluginOptions, + ProvidesItem, + ProvidesObject, + Shared, + SharedConfig, + SharedItem, + SharedObject, + SharePluginOptions, + sharing, + HtmlRspackPluginOptions, + SwcJsMinimizerRspackPluginOptions, + LightningCssMinimizerRspackPluginOptions, + CopyRspackPluginOptions, + SourceMapDevToolPluginOptions, + EvalDevToolModulePluginOptions, + CssExtractRspackLoaderOptions, + CssExtractRspackPluginOptions, + HtmlRspackPlugin, + SwcJsMinimizerRspackPlugin, + SwcCssMinimizerRspackPlugin, + LightningCssMinimizerRspackPlugin, + CopyRspackPlugin, + SourceMapDevToolPlugin, + EvalSourceMapDevToolPlugin, + EvalDevToolModulePlugin, + CssExtractRspackPlugin, + SwcLoaderEnvConfig, + SwcLoaderEsParserConfig, + SwcLoaderJscConfig, + SwcLoaderModuleConfig, + SwcLoaderOptions, + SwcLoaderParserConfig, + SwcLoaderTransformConfig, + SwcLoaderTsParserConfig, + LightningcssLoaderOptions, + LightningcssFeatureOptions, + experiments, + getRawResolve, + getRawLibrary, + getRawChunkLoading, + LoaderContext, + LoaderDefinition, + LoaderDefinitionFunction, + getRawOptions, + applyRspackOptionsDefaults, + applyRspackOptionsBaseDefaults, + getNormalizedRspackOptions, + EntryDynamicNormalized, + EntryNormalized, + EntryStaticNormalized, + EntryDescriptionNormalized, + OutputNormalized, + ModuleOptionsNormalized, + ExperimentsNormalized, + IgnoreWarningsNormalized, + OptimizationRuntimeChunkNormalized, + RspackOptionsNormalized, + FilenameTemplate, + Filename, + Name, + Dependencies, + Context, + Mode, + Falsy, + PublicPath, + BaseUri, + ChunkLoadingType, + ChunkLoading, + AsyncChunks, + WasmLoadingType, + WasmLoading, + ScriptType, + LibraryCustomUmdObject, + LibraryName, + LibraryCustomUmdCommentObject, + AmdContainer, + AuxiliaryComment, + LibraryExport, + LibraryType, + UmdNamedDefine, + LibraryOptions, + Library, + Layer, + EntryFilename, + EntryRuntime, + EntryItem, + EntryDependOn, + EntryDescription, + EntryUnnamed, + EntryObject, + EntryStatic, + EntryDynamic, + Entry, + Path, + Pathinfo, + AssetModuleFilename, + WebassemblyModuleFilename, + ChunkFilename, + CrossOriginLoading, + CssFilename, + CssChunkFilename, + HotUpdateChunkFilename, + HotUpdateMainFilename, + HotUpdateGlobal, + UniqueName, + ChunkLoadingGlobal, + EnabledLibraryTypes, + Clean, + OutputModule, + StrictModuleExceptionHandling, + StrictModuleErrorHandling, + GlobalObject, + EnabledWasmLoadingTypes, + ImportFunctionName, + ImportMetaName, + Iife, + EnabledChunkLoadingTypes, + ChunkFormat, + WorkerPublicPath, + TrustedTypes, + HashDigest, + HashDigestLength, + HashFunction, + HashSalt, + SourceMapFilename, + DevtoolNamespace, + DevtoolModuleFilenameTemplate, + DevtoolFallbackModuleFilenameTemplate, + Environment, + 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, + CssGeneratorEsModule, + 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, + Loader, + SnapshotOptions, + CacheOptions, + StatsOptions, + StatsValue, + RspackPluginInstance, + RspackPluginFunction, + Plugins, + OptimizationRuntimeChunk, + OptimizationSplitChunksNameFunction, + OptimizationSplitChunksCacheGroup, + OptimizationSplitChunksOptions, + Optimization, + RspackFutureOptions, + LazyCompilationOptions, + Experiments, + Watch, + WatchOptions, + DevServer, + IgnoreWarnings, + Profile, + Bail, + Performance_2 as Performance, + rspackOptions, + RspackOptions, + Configuration + } +} + +// @public (undocumented) +export type RspackFutureOptions = z.infer; + +// @public (undocumented) +const rspackFutureOptions: z.ZodObject<{ + bundlerInfo: z.ZodOptional; + bundler: z.ZodOptional; + force: z.ZodOptional, "many">]>>; + }, "strict", z.ZodTypeAny, { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + }, { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + }>>; +}, "strict", z.ZodTypeAny, { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; +}, { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; +}>; + +// @public (undocumented) +export type RspackOptions = z.infer; + +// @public (undocumented) +export const rspackOptions: z.ZodObject<{ + name: z.ZodOptional; + dependencies: z.ZodOptional>; + entry: z.ZodOptional]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ + import: z.ZodUnion<[z.ZodString, z.ZodArray]>; + runtime: z.ZodOptional, z.ZodString]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + library: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>>; + dependOn: z.ZodOptional]>>; + layer: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }, { + import: string | string[]; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>]>>; + output: z.ZodOptional; + pathinfo: z.ZodOptional]>>; + clean: z.ZodOptional; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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>]>>; + cssHeadDataCompression: z.ZodOptional; + cssChunkFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + hotUpdateMainFilename: z.ZodOptional; + hotUpdateChunkFilename: z.ZodOptional; + hotUpdateGlobal: z.ZodOptional; + assetModuleFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + 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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + export: z.ZodOptional]>>; + name: z.ZodOptional]>, z.ZodObject<{ + amd: z.ZodOptional; + commonjs: z.ZodOptional; + root: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + }, { + commonjs?: string | undefined; + amd?: 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; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }, { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + }>]>>>; + libraryExport: z.ZodOptional]>>; + libraryTarget: z.ZodOptional, z.ZodString]>>; + umdNamedDefine: z.ZodOptional; + auxiliaryComment: z.ZodOptional; + commonjs: z.ZodOptional; + commonjs2: z.ZodOptional; + root: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }, { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + }>]>>; + module: z.ZodOptional; + strictModuleExceptionHandling: z.ZodOptional; + strictModuleErrorHandling: z.ZodOptional; + globalObject: z.ZodOptional; + importFunctionName: z.ZodOptional; + importMetaName: 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>]>>; + chunkLoadTimeout: z.ZodOptional; + charset: z.ZodOptional; + environment: z.ZodOptional; + asyncFunction: z.ZodOptional; + bigIntLiteral: z.ZodOptional; + const: z.ZodOptional; + destructuring: z.ZodOptional; + document: z.ZodOptional; + dynamicImport: z.ZodOptional; + dynamicImportInWorker: z.ZodOptional; + forOf: z.ZodOptional; + globalThis: z.ZodOptional; + module: z.ZodOptional; + nodePrefixForCoreModules: z.ZodOptional; + optionalChaining: z.ZodOptional; + templateLiteral: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + }, { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + module?: boolean | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + } | undefined; + path?: string | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + importMetaName?: string | undefined; + iife?: boolean | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | 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; + chunkLoadTimeout?: number | undefined; + charset?: boolean | undefined; + }, { + module?: boolean | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + } | undefined; + path?: string | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + importMetaName?: string | undefined; + iife?: boolean | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | 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; + chunkLoadTimeout?: number | undefined; + charset?: boolean | undefined; + }>>; + target: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>>; + mode: z.ZodOptional>; + experiments: z.ZodOptional, z.ZodObject<{ + backend: z.ZodOptional; + listen: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ + port: z.ZodOptional; + host: z.ZodOptional; + backlog: z.ZodOptional; + path: z.ZodOptional; + exclusive: z.ZodOptional; + readableAll: z.ZodOptional; + writableAll: z.ZodOptional; + ipv6Only: z.ZodOptional; + }, "strip", z.ZodTypeAny, { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + }, { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + }>]>; + protocol: z.ZodOptional>; + }, "strip", z.ZodTypeAny, { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + }, { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + }>>; + imports: z.ZodOptional; + entries: z.ZodOptional; + test: z.ZodOptional, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; + }, "strip", z.ZodTypeAny, { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + }, { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + }>]>; + asyncWebAssembly: z.ZodOptional; + outputModule: z.ZodOptional; + topLevelAwait: z.ZodOptional; + css: z.ZodOptional; + layers: z.ZodOptional; + futureDefaults: z.ZodOptional; + rspackFuture: z.ZodOptional; + bundler: z.ZodOptional; + force: z.ZodOptional, "many">]>>; + }, "strict", z.ZodTypeAny, { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + }, { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + }, { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + css?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + } | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + layers?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + } | undefined; + }, { + css?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + } | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + layers?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + } | undefined; + }>>; + externals: z.ZodOptional]>, z.ZodRecord, z.ZodArray]>, z.ZodRecord]>>]>>]>, z.ZodFunction; + dependencyType: z.ZodOptional; + request: z.ZodOptional; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; + }, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; + }, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; + }, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; + contextInfo: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + issuer: string; + issuerLayer: string | null; + }, { + issuer: string; + issuerLayer: string | null; + }>>; + getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; + }, "strict", z.ZodTypeAny, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>]>>; + externalsType: z.ZodOptional>; + externalsPresets: z.ZodOptional; + web: z.ZodOptional; + webAsync: z.ZodOptional; + electron: z.ZodOptional; + electronMain: z.ZodOptional; + electronPreload: z.ZodOptional; + electronRenderer: z.ZodOptional; + nwjs: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + node?: boolean | undefined; + web?: boolean | undefined; + nwjs?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; + }, { + node?: boolean | undefined; + web?: boolean | undefined; + nwjs?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; + }>>; + infrastructureLogging: 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, { + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + colors?: boolean | undefined; + appendOnly?: boolean | undefined; + console?: Console | undefined; + level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; + stream?: NodeJS.WritableStream | undefined; + }, { + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + colors?: boolean | undefined; + appendOnly?: boolean | undefined; + console?: Console | undefined; + level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; + stream?: NodeJS.WritableStream | undefined; + }>>; + cache: z.ZodOptional; + context: z.ZodOptional; + devtool: z.ZodOptional, 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"]>]>>; + node: z.ZodOptional, z.ZodObject<{ + __dirname: z.ZodOptional]>>; + __filename: z.ZodOptional]>>; + global: z.ZodOptional]>>; + }, "strict", z.ZodTypeAny, { + global?: boolean | "warn" | undefined; + __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; + }>]>>; + loader: z.ZodOptional>; + ignoreWarnings: z.ZodOptional, z.ZodFunction, z.ZodType], z.ZodUnknown>, z.ZodBoolean>]>, "many">>; + watchOptions: 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; + }>>; + watch: z.ZodOptional; + stats: z.ZodOptional]>, 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; + 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; + groupModulesByType: z.ZodOptional; + groupModulesByCacheStatus: z.ZodOptional; + groupModulesByLayer: z.ZodOptional; + groupModulesByAttributes: z.ZodOptional; + groupModulesByPath: z.ZodOptional; + groupModulesByExtension: z.ZodOptional; + modulesSpace: z.ZodOptional; + chunkModulesSpace: z.ZodOptional; + nestedModulesSpace: z.ZodOptional; + relatedAssets: z.ZodOptional; + groupAssetsByEmitStatus: z.ZodOptional; + groupAssetsByInfo: z.ZodOptional; + groupAssetsByPath: z.ZodOptional; + groupAssetsByExtension: z.ZodOptional; + groupAssetsByChunk: z.ZodOptional; + assetsSpace: z.ZodOptional; + orphanModules: z.ZodOptional; + excludeModules: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodBoolean]>>; + excludeAssets: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>>; + modulesSort: z.ZodOptional; + chunkModulesSort: z.ZodOptional; + nestedModulesSort: z.ZodOptional; + chunksSort: z.ZodOptional; + assetsSort: z.ZodOptional; + performance: z.ZodOptional; + env: z.ZodOptional; + chunkGroupAuxiliary: z.ZodOptional; + chunkGroupChildren: z.ZodOptional; + chunkGroupMaxAssets: z.ZodOptional; + dependentModules: z.ZodOptional; + chunkOrigins: z.ZodOptional; + runtime: z.ZodOptional; + depth: z.ZodOptional; + reasonsSpace: z.ZodOptional; + groupReasonsByOrigin: z.ZodOptional; + errorDetails: z.ZodOptional; + errorStack: z.ZodOptional; + moduleTrace: z.ZodOptional; + cachedModules: z.ZodOptional; + cached: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; + }, { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; + }>]>>; + snapshot: z.ZodOptional>; + optimization: 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, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }, { + filename?: string | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: 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" | "initial" | "all" | ((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" | "initial" | "all" | ((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, { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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; + }, { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + name?: string | ((args_0: { + name: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + name?: string | ((args_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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" | "natural" | "deterministic" | undefined; + chunkIds?: "named" | "natural" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; + nodeEnv?: string | false | undefined; + }, { + moduleIds?: "named" | "natural" | "deterministic" | undefined; + chunkIds?: "named" | "natural" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; + nodeEnv?: string | false | undefined; + }>>; + resolve: z.ZodOptional>; + resolveLoader: z.ZodOptional>; + plugins: z.ZodOptional, z.ZodType, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>; + devServer: z.ZodOptional>; + module: 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>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/auto": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/dynamic": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + "javascript/esm": z.ZodOptional>; + dynamicImportPreload: z.ZodOptional>; + dynamicImportPrefetch: z.ZodOptional>; + dynamicImportFetchPriority: z.ZodOptional>; + importMeta: z.ZodOptional; + url: z.ZodOptional, z.ZodBoolean]>>; + exprContextCritical: z.ZodOptional; + wrappedContextCritical: z.ZodOptional; + exportsPresence: z.ZodOptional, z.ZodLiteral]>>; + importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; + strictExportPresence: z.ZodOptional; + worker: z.ZodOptional, z.ZodBoolean]>>; + overrideStrict: z.ZodOptional>; + }, "strict", z.ZodTypeAny, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }, { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + }, { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + }>, z.ZodRecord>]>>; + generator: z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, { + emit: z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }>, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; + mimetype: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }, { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; + }, "strict", z.ZodTypeAny, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }, { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + }>>; + "asset/resource": z.ZodOptional; + filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; + publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; + }, "strict", z.ZodTypeAny, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }, { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + }>>; + css: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + }>>; + "css/auto": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; + "css/module": z.ZodOptional>; + exportsOnly: z.ZodOptional; + localIdentName: z.ZodOptional; + esModule: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }, { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + }>>; + }, "strict", z.ZodTypeAny, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + }, { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + }>, z.ZodRecord>]>>; + noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; + }, "strict", z.ZodTypeAny, { + parser?: { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + } | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + }, { + parser?: { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + } | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + }>>; + profile: z.ZodOptional; + bail: z.ZodOptional; + performance: z.ZodOptional, z.ZodBoolean>>; + hints: z.ZodOptional, z.ZodLiteral]>>; + maxAssetSize: z.ZodOptional; + maxEntrypointSize: z.ZodOptional; + }, "strict", z.ZodTypeAny, { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; + }, { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; + }>, z.ZodLiteral]>>; +}, "strict", z.ZodTypeAny, { + module?: { + parser?: { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + } | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + } | undefined; + dependencies?: string[] | undefined; + name?: string | undefined; + context?: string | undefined; + entry?: string | string[] | Record string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }> | ((...args: unknown[]) => string | string[] | Record string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }> | Promise string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }>>) | undefined; + performance?: false | { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; + } | undefined; + node?: false | { + global?: boolean | "warn" | undefined; + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + } | undefined; + profile?: boolean | undefined; + cache?: boolean | undefined; + loader?: Record | undefined; + resolve?: ResolveOptions | undefined; + output?: { + module?: boolean | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + } | undefined; + path?: string | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + importMetaName?: string | undefined; + iife?: boolean | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | 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; + chunkLoadTimeout?: number | undefined; + charset?: boolean | undefined; + } | undefined; + target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined; + mode?: "development" | "none" | "production" | undefined; + experiments?: { + css?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + } | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + layers?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + } | undefined; + } | undefined; + externals?: string | RegExp | Record> | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, ...args_1: unknown[]) => Promise>) | (string | RegExp | Record> | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, ...args_1: unknown[]) => Promise>))[] | undefined; + externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined; + externalsPresets?: { + node?: boolean | undefined; + web?: boolean | undefined; + nwjs?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; + } | undefined; + infrastructureLogging?: { + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + colors?: boolean | undefined; + appendOnly?: boolean | undefined; + console?: Console | undefined; + level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; + stream?: NodeJS.WritableStream | undefined; + } | undefined; + devtool?: false | "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" | undefined; + ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; + watchOptions?: { + aggregateTimeout?: number | undefined; + followSymlinks?: boolean | undefined; + ignored?: string | RegExp | string[] | undefined; + poll?: number | boolean | undefined; + stdin?: boolean | undefined; + } | undefined; + watch?: boolean | undefined; + stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; + } | undefined; + snapshot?: {} | undefined; + optimization?: { + moduleIds?: "named" | "natural" | "deterministic" | undefined; + chunkIds?: "named" | "natural" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; + nodeEnv?: string | false | undefined; + } | undefined; + resolveLoader?: ResolveOptions | undefined; + plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; + devServer?: DevServer | undefined; + bail?: boolean | undefined; +}, { + module?: { + parser?: { + javascript?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; + "css/auto"?: { + namedExports?: boolean | undefined; + } | undefined; + "css/module"?: { + namedExports?: boolean | undefined; + } | undefined; + asset?: { + dataUrlCondition?: { + maxSize?: number | undefined; + } | undefined; + } | undefined; + "javascript/auto"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/dynamic"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + "javascript/esm"?: { + dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; + dynamicImportPreload?: number | boolean | undefined; + dynamicImportPrefetch?: number | boolean | undefined; + dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + importMeta?: boolean | undefined; + url?: boolean | "relative" | undefined; + exprContextCritical?: boolean | undefined; + wrappedContextCritical?: boolean | undefined; + exportsPresence?: false | "auto" | "error" | "warn" | undefined; + importExportsPresence?: false | "auto" | "error" | "warn" | undefined; + reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + strictExportPresence?: boolean | undefined; + worker?: boolean | string[] | undefined; + overrideStrict?: "strict" | "non-strict" | undefined; + } | undefined; + } | Record> | undefined; + generator?: Record> | { + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + } | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + asset?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + filename: string; + content: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + } | undefined; + } | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + } | undefined; + dependencies?: string[] | undefined; + name?: string | undefined; + context?: string | undefined; + entry?: string | string[] | Record string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }> | ((...args: unknown[]) => string | string[] | Record string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }> | Promise string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + layer?: string | null | undefined; + runtime?: string | false | undefined; + baseUri?: string | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + dependOn?: string | string[] | undefined; + }>>) | undefined; + performance?: false | { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; + } | undefined; + node?: false | { + global?: boolean | "warn" | undefined; + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + } | undefined; + profile?: boolean | undefined; + cache?: boolean | undefined; + loader?: Record | undefined; + resolve?: ResolveOptions | undefined; + output?: { + module?: boolean | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + arrowFunction?: boolean | undefined; + asyncFunction?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + destructuring?: boolean | undefined; + document?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + forOf?: boolean | undefined; + globalThis?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + } | undefined; + path?: string | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + wasmLoading?: string | false | undefined; + library?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + commonjs?: string | undefined; + amd?: string | undefined; + root?: string | undefined; + commonjs2?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + uniqueName?: string | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + importMetaName?: string | undefined; + iife?: boolean | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | 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; + chunkLoadTimeout?: number | undefined; + charset?: boolean | undefined; + } | undefined; + target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined; + mode?: "development" | "none" | "production" | undefined; + experiments?: { + css?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + backend?: { + client?: string | undefined; + listen?: number | { + path?: string | undefined; + port?: number | undefined; + host?: string | undefined; + backlog?: number | undefined; + exclusive?: boolean | undefined; + readableAll?: boolean | undefined; + writableAll?: boolean | undefined; + ipv6Only?: boolean | undefined; + } | undefined; + protocol?: "http" | "https" | undefined; + } | undefined; + imports?: boolean | undefined; + } | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + topLevelAwait?: boolean | undefined; + layers?: boolean | undefined; + futureDefaults?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + force?: boolean | ("version" | "uniqueId")[] | undefined; + version?: string | undefined; + bundler?: string | undefined; + } | undefined; + } | undefined; + } | undefined; + externals?: string | RegExp | Record> | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, ...args_1: unknown[]) => Promise>) | (string | RegExp | Record> | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + context?: string | undefined; + dependencyType?: string | undefined; + request?: string | undefined; + contextInfo?: { + issuer: string; + issuerLayer: string | null; + } | undefined; + getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; + }, ...args_1: unknown[]) => Promise>))[] | undefined; + externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined; + externalsPresets?: { + node?: boolean | undefined; + web?: boolean | undefined; + nwjs?: boolean | undefined; + webAsync?: boolean | undefined; + electron?: boolean | undefined; + electronMain?: boolean | undefined; + electronPreload?: boolean | undefined; + electronRenderer?: boolean | undefined; + } | undefined; + infrastructureLogging?: { + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + colors?: boolean | undefined; + appendOnly?: boolean | undefined; + console?: Console | undefined; + level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; + stream?: NodeJS.WritableStream | undefined; + } | undefined; + devtool?: false | "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" | undefined; + ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; + watchOptions?: { + aggregateTimeout?: number | undefined; + followSymlinks?: boolean | undefined; + ignored?: string | RegExp | string[] | undefined; + poll?: number | boolean | undefined; + stdin?: boolean | undefined; + } | undefined; + watch?: boolean | undefined; + stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; + } | undefined; + snapshot?: {} | undefined; + optimization?: { + moduleIds?: "named" | "natural" | "deterministic" | undefined; + chunkIds?: "named" | "natural" | "deterministic" | undefined; + minimize?: boolean | undefined; + minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; + mergeDuplicateChunks?: boolean | undefined; + splitChunks?: false | { + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + cacheGroups?: Record unknown) | undefined; + type?: string | RegExp | undefined; + test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; + priority?: number | undefined; + enforce?: boolean | undefined; + reuseExistingChunk?: boolean | undefined; + idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; + defaultSizeTypes?: string[] | undefined; + minChunks?: number | undefined; + minSize?: number | Record | undefined; + maxSize?: number | Record | undefined; + maxAsyncSize?: number | Record | undefined; + maxInitialSize?: number | Record | undefined; + automaticNameDelimiter?: string | undefined; + }> | undefined; + maxAsyncRequests?: number | undefined; + maxInitialRequests?: number | undefined; + fallbackCacheGroup?: { + chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { + name: string; + }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; + nodeEnv?: string | false | undefined; + } | undefined; + resolveLoader?: ResolveOptions | undefined; + plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; + devServer?: DevServer | undefined; + bail?: boolean | undefined; +}>; + +// @public (undocumented) +class RspackOptionsApply { + // (undocumented) + process(options: RspackOptionsNormalized, compiler: Compiler): void; +} +export { RspackOptionsApply } +export { RspackOptionsApply as WebpackOptionsApply } + +// @public (undocumented) +export interface RspackOptionsNormalized { + // (undocumented) + bail?: Bail; + // (undocumented) + cache?: CacheOptions; + // (undocumented) + context?: Context; + // (undocumented) + dependencies?: Dependencies; + // (undocumented) + devServer?: DevServer; + // (undocumented) + devtool?: DevTool; + // (undocumented) + entry: EntryNormalized; + // (undocumented) + experiments: ExperimentsNormalized; + // (undocumented) + externals?: Externals; + // (undocumented) + externalsPresets: ExternalsPresets; + // (undocumented) + externalsType?: ExternalsType; + // (undocumented) + ignoreWarnings?: IgnoreWarningsNormalized; + // (undocumented) + infrastructureLogging: InfrastructureLogging; + // (undocumented) + loader: Loader; + // (undocumented) + mode?: Mode; + // (undocumented) + module: ModuleOptionsNormalized; + // (undocumented) + name?: Name; + // (undocumented) + node: Node_2; + // (undocumented) + optimization: Optimization; + // (undocumented) + output: OutputNormalized; + // (undocumented) + performance?: Performance_2; + // (undocumented) + plugins: Plugins; + // (undocumented) + profile?: Profile; + // (undocumented) + resolve: Resolve; + // (undocumented) + resolveLoader: Resolve; + // (undocumented) + snapshot: SnapshotOptions; + // (undocumented) + stats: StatsValue; + // (undocumented) + target?: Target; + // (undocumented) + watch?: Watch; + // (undocumented) + watchOptions: WatchOptions; +} + +// @public (undocumented) +export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void; + +// @public (undocumented) +export interface RspackPluginInstance { + // (undocumented) + [k: string]: any; + // (undocumented) + apply: (compiler: Compiler) => void; +} + +// @public (undocumented) +export const rspackVersion: string; + +// @public +type Rule = RegExp | string; + +// @public +type Rules = Rule[] | Rule; + +// @public (undocumented) +class RuleSetCompiler { + constructor(); + builtinReferences: Map; + // (undocumented) + references: Map; +} + +// @public (undocumented) +export type RuleSetCondition = z.infer | RuleSetConditions | RuleSetLogicalConditions; + +// @public (undocumented) +export type RuleSetConditions = RuleSetCondition[]; + +// @public (undocumented) +export type RuleSetLoader = z.infer; + +// @public (undocumented) +const ruleSetLoader: z.ZodString; + +// @public (undocumented) +export type RuleSetLoaderOptions = z.infer; + +// @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; + options?: string | Record | undefined; + ident?: string | undefined; +}, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; +}>; + +// @public (undocumented) +export type RuleSetLogicalConditions = { + and?: RuleSetConditions; + or?: RuleSetConditions; + not?: RuleSetCondition; +}; + +// @public (undocumented) +export type RuleSetRule = z.infer & { + oneOf?: RuleSetRule[]; + rules?: RuleSetRule[]; +}; + +// @public (undocumented) +export type RuleSetRules = z.infer; + +// @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; + +// @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; + options?: string | Record | undefined; + ident?: string | undefined; +}, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; +}>]>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; +}, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; +}>]>, "many">]>, z.ZodFunction], z.ZodUnknown>, z.ZodArray; + loader: z.ZodString; + options: z.ZodOptional]>>; +}, "strict", z.ZodTypeAny, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; +}, { + loader: string; + options?: string | Record | undefined; + ident?: string | 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; + options?: string | Record | undefined; + ident?: string | undefined; +}, { + loader: string; + options?: string | Record | undefined; + ident?: string | undefined; +}>]>; + +// @public (undocumented) +const RuntimeChunkPlugin: { + new (options: RawRuntimeChunkOptions): { + name: BuiltinPluginName; + _args: [options: RawRuntimeChunkOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export const RuntimeGlobals: { + readonly require: "__webpack_require__"; + readonly requireScope: "__webpack_require__.*"; + readonly exports: "__webpack_exports__"; + readonly thisAsExports: "top-level-this-exports"; + readonly returnExportsFromRuntime: "return-exports-from-runtime"; + readonly module: "module"; + readonly moduleId: "module.id"; + readonly moduleLoaded: "module.loaded"; + readonly publicPath: "__webpack_require__.p"; + readonly entryModuleId: "__webpack_require__.s"; + readonly moduleCache: "__webpack_require__.c"; + readonly moduleFactories: "__webpack_require__.m"; + readonly moduleFactoriesAddOnly: "__webpack_require__.m (add only)"; + readonly ensureChunk: "__webpack_require__.e"; + readonly ensureChunkHandlers: "__webpack_require__.f"; + readonly ensureChunkIncludeEntries: "__webpack_require__.f (include entries)"; + readonly prefetchChunk: "__webpack_require__.E"; + readonly prefetchChunkHandlers: "__webpack_require__.F"; + readonly preloadChunk: "__webpack_require__.G"; + readonly preloadChunkHandlers: "__webpack_require__.H"; + readonly definePropertyGetters: "__webpack_require__.d"; + readonly makeNamespaceObject: "__webpack_require__.r"; + readonly createFakeNamespaceObject: "__webpack_require__.t"; + readonly compatGetDefaultExport: "__webpack_require__.n"; + readonly harmonyModuleDecorator: "__webpack_require__.hmd"; + readonly nodeModuleDecorator: "__webpack_require__.nmd"; + readonly getFullHash: "__webpack_require__.h"; + readonly wasmInstances: "__webpack_require__.w"; + readonly instantiateWasm: "__webpack_require__.v"; + readonly uncaughtErrorHandler: "__webpack_require__.oe"; + readonly scriptNonce: "__webpack_require__.nc"; + readonly loadScript: "__webpack_require__.l"; + readonly createScript: "__webpack_require__.ts"; + readonly createScriptUrl: "__webpack_require__.tu"; + readonly getTrustedTypesPolicy: "__webpack_require__.tt"; + readonly hasFetchPriority: "has fetch priority"; + readonly chunkName: "__webpack_require__.cn"; + readonly runtimeId: "__webpack_require__.j"; + readonly getChunkScriptFilename: "__webpack_require__.u"; + readonly getChunkCssFilename: "__webpack_require__.k"; + readonly hasCssModules: "has css modules"; + readonly getChunkUpdateScriptFilename: "__webpack_require__.hu"; + readonly getChunkUpdateCssFilename: "__webpack_require__.hk"; + readonly startup: "__webpack_require__.x"; + readonly startupNoDefault: "__webpack_require__.x (no default handler)"; + readonly startupOnlyAfter: "__webpack_require__.x (only after)"; + readonly startupOnlyBefore: "__webpack_require__.x (only before)"; + readonly chunkCallback: "webpackChunk"; + readonly startupEntrypoint: "__webpack_require__.X"; + readonly onChunksLoaded: "__webpack_require__.O"; + readonly externalInstallChunk: "__webpack_require__.C"; + readonly interceptModuleExecution: "__webpack_require__.i"; + readonly global: "__webpack_require__.g"; + readonly shareScopeMap: "__webpack_require__.S"; + readonly initializeSharing: "__webpack_require__.I"; + readonly currentRemoteGetScope: "__webpack_require__.R"; + readonly getUpdateManifestFilename: "__webpack_require__.hmrF"; + readonly hmrDownloadManifest: "__webpack_require__.hmrM"; + readonly hmrDownloadUpdateHandlers: "__webpack_require__.hmrC"; + readonly hmrModuleData: "__webpack_require__.hmrD"; + readonly hmrInvalidateModuleHandlers: "__webpack_require__.hmrI"; + readonly hmrRuntimeStatePrefix: "__webpack_require__.hmrS"; + readonly amdDefine: "__webpack_require__.amdD"; + readonly amdOptions: "__webpack_require__.amdO"; + readonly system: "__webpack_require__.System"; + readonly hasOwnProperty: "__webpack_require__.o"; + readonly systemContext: "__webpack_require__.y"; + readonly baseURI: "__webpack_require__.b"; + readonly relativeUrl: "__webpack_require__.U"; + readonly asyncModule: "__webpack_require__.a"; +}; + +// @public (undocumented) +type RuntimeModule = liteTapable.SyncHook<[ +JsRuntimeModule, +Chunk +], void>; + +// @public (undocumented) +type RuntimePlugins = string[]; + +// @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; + +// @public (undocumented) +export type SharedConfig = { + eager?: boolean; + import?: false | SharedItem; + packageName?: string; + requiredVersion?: false | string; + shareKey?: string; + shareScope?: string; + singleton?: boolean; + strictVersion?: boolean; + version?: false | string; +}; + +// @public (undocumented) +export type SharedItem = string; + +// @public (undocumented) +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; + singleton: boolean | undefined; + requiredVersion: string | false | undefined; + strictVersion: boolean | undefined; + }; + }[]; + // (undocumented) + _shareScope: string | undefined; +} + +// @public (undocumented) +export type SharePluginOptions = { + shareScope?: string; + shared: Shared; + enhanced: boolean; +}; + +// @public (undocumented) +export const sharing: { + ProvideSharedPlugin: typeof ProvideSharedPlugin; + ConsumeSharedPlugin: typeof ConsumeSharedPlugin; + SharePlugin: typeof SharePlugin; +}; + +// @public (undocumented) +export type SnapshotOptions = z.infer; + +// @public (undocumented) +const snapshotOptions: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>; + +// @public (undocumented) +abstract class Source { + // (undocumented) + buffer(): Buffer; + + // (undocumented) + map(options?: MapOptions): RawSourceMap | null; + + // (undocumented) + size(): number; + + // (undocumented) + source(): string | Buffer; + + // (undocumented) + sourceAndMap(options?: MapOptions): { + source: string | Buffer; + map: Object; + }; + + // (undocumented) + updateHash(hash: Hash): void; +} + +// @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): { + name: BuiltinPluginName; + _args: [options: SourceMapDevToolPluginOptions]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export interface SourceMapDevToolPluginOptions extends Omit { + // (undocumented) + exclude?: Rules; + // (undocumented) + include?: Rules; + // (undocumented) + test?: Rules; +} + +// @public (undocumented) +export type SourceMapFilename = z.infer; + +// @public (undocumented) +const sourceMapFilename: z.ZodString; + +export { sources } + +// @public (undocumented) +class SplitChunksPlugin extends RspackBuiltinPlugin { + constructor(options: OptimizationSplitChunksOptions); + // (undocumented) + affectedHooks: "thisCompilation"; + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin; +} + +// @public (undocumented) +export class Stats { + constructor(compilation: Compilation); + // (undocumented) + compilation: Compilation; + // (undocumented) + get endTime(): number | undefined; + // (undocumented) + hasErrors(): boolean; + // (undocumented) + get hash(): Readonly; + // (undocumented) + hasWarnings(): boolean; + // (undocumented) + get startTime(): number | undefined; + // (undocumented) + toJson(opts?: StatsValue, forToString?: boolean): StatsCompilation; + // (undocumented) + toString(opts?: StatsValue): string; +} + +// @public (undocumented) +export type StatsAsset = KnownStatsAsset & Record; + +// @public (undocumented) +export type StatsChunk = KnownStatsChunk & Record; + +// @public (undocumented) +type StatsChunkGroup = binding.JsStatsChunkGroup & Record; + +// @public (undocumented) +type StatsChunkOrigin = KnownStatsChunkOrigin & Record; + +// @public (undocumented) +export type StatsCompilation = KnownStatsCompilation & Record; + +// @public (undocumented) +export type StatsError = Omit & { + moduleIdentifier?: string; +} & Record; + +// @public (undocumented) +class StatsFactory { + constructor(); + // (undocumented) + create(type: string, data: any, baseContext: Omit): any; + // (undocumented) + _forEachLevel(hookMap: HookMap, cache: CacheHookMap, type: string, fn: CallFn): any; + // (undocumented) + _forEachLevelFilter(hookMap: HookMap, cache: CacheHookMap, type: string, items: any[], fn: CallFn, forceClone: boolean): any[]; + // (undocumented) + _forEachLevelWaterfall(hookMap: HookMap, cache: CacheHookMap, type: string, data: any, fn: CallFn): any; + // (undocumented) + _getAllLevelHooks(hookMap: HookMap, 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; + +// @public (undocumented) +type StatsModuleIssuer = Omit & { + identifier?: string; +} & Record; + +// @public (undocumented) +type StatsModuleReason = Omit & { + moduleIdentifier?: string; +} & Record; + +// @public (undocumented) +export type StatsOptions = z.infer; + +// @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; + 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; + groupModulesByType: z.ZodOptional; + groupModulesByCacheStatus: z.ZodOptional; + groupModulesByLayer: z.ZodOptional; + groupModulesByAttributes: z.ZodOptional; + groupModulesByPath: z.ZodOptional; + groupModulesByExtension: z.ZodOptional; + modulesSpace: z.ZodOptional; + chunkModulesSpace: z.ZodOptional; + nestedModulesSpace: z.ZodOptional; + relatedAssets: z.ZodOptional; + groupAssetsByEmitStatus: z.ZodOptional; + groupAssetsByInfo: z.ZodOptional; + groupAssetsByPath: z.ZodOptional; + groupAssetsByExtension: z.ZodOptional; + groupAssetsByChunk: z.ZodOptional; + assetsSpace: z.ZodOptional; + orphanModules: z.ZodOptional; + excludeModules: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodBoolean]>>; + excludeAssets: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>>; + modulesSort: z.ZodOptional; + chunkModulesSort: z.ZodOptional; + nestedModulesSort: z.ZodOptional; + chunksSort: z.ZodOptional; + assetsSort: z.ZodOptional; + performance: z.ZodOptional; + env: z.ZodOptional; + chunkGroupAuxiliary: z.ZodOptional; + chunkGroupChildren: z.ZodOptional; + chunkGroupMaxAssets: z.ZodOptional; + dependentModules: z.ZodOptional; + chunkOrigins: z.ZodOptional; + runtime: z.ZodOptional; + depth: z.ZodOptional; + reasonsSpace: z.ZodOptional; + groupReasonsByOrigin: z.ZodOptional; + errorDetails: z.ZodOptional; + errorStack: z.ZodOptional; + moduleTrace: z.ZodOptional; + cachedModules: z.ZodOptional; + cached: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; +}, { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; +}>; + +// @public (undocumented) +class StatsPrinter { + constructor(); + // (undocumented) + hooks: Readonly<{ + sortElements: HookMap>; + printElements: HookMap>; + sortItems: HookMap>; + getItemName: HookMap>; + printItems: HookMap>; + print: HookMap>; + result: HookMap>; + }>; + // (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.ZodBoolean, z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings", "minimal", "detailed", "summary"]>]>, 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; + 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; + groupModulesByType: z.ZodOptional; + groupModulesByCacheStatus: z.ZodOptional; + groupModulesByLayer: z.ZodOptional; + groupModulesByAttributes: z.ZodOptional; + groupModulesByPath: z.ZodOptional; + groupModulesByExtension: z.ZodOptional; + modulesSpace: z.ZodOptional; + chunkModulesSpace: z.ZodOptional; + nestedModulesSpace: z.ZodOptional; + relatedAssets: z.ZodOptional; + groupAssetsByEmitStatus: z.ZodOptional; + groupAssetsByInfo: z.ZodOptional; + groupAssetsByPath: z.ZodOptional; + groupAssetsByExtension: z.ZodOptional; + groupAssetsByChunk: z.ZodOptional; + assetsSpace: z.ZodOptional; + orphanModules: z.ZodOptional; + excludeModules: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodBoolean]>>; + excludeAssets: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>>; + modulesSort: z.ZodOptional; + chunkModulesSort: z.ZodOptional; + nestedModulesSort: z.ZodOptional; + chunksSort: z.ZodOptional; + assetsSort: z.ZodOptional; + performance: z.ZodOptional; + env: z.ZodOptional; + chunkGroupAuxiliary: z.ZodOptional; + chunkGroupChildren: z.ZodOptional; + chunkGroupMaxAssets: z.ZodOptional; + dependentModules: z.ZodOptional; + chunkOrigins: z.ZodOptional; + runtime: z.ZodOptional; + depth: z.ZodOptional; + reasonsSpace: z.ZodOptional; + groupReasonsByOrigin: z.ZodOptional; + errorDetails: z.ZodOptional; + errorStack: z.ZodOptional; + moduleTrace: z.ZodOptional; + cachedModules: z.ZodOptional; + cached: z.ZodOptional; +}, "strict", z.ZodTypeAny, { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; +}, { + publicPath?: boolean | undefined; + hash?: boolean | undefined; + all?: boolean | undefined; + chunks?: boolean | undefined; + providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + children?: boolean | undefined; + runtime?: boolean | undefined; + modules?: boolean | undefined; + moduleTrace?: boolean | undefined; + preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + assets?: boolean | undefined; + entrypoints?: boolean | "auto" | undefined; + chunkGroups?: boolean | undefined; + warnings?: boolean | undefined; + warningsCount?: boolean | undefined; + errors?: boolean | undefined; + errorsCount?: boolean | undefined; + colors?: boolean | undefined; + version?: boolean | undefined; + reasons?: boolean | undefined; + outputPath?: boolean | undefined; + chunkModules?: boolean | undefined; + chunkRelations?: boolean | undefined; + ids?: boolean | undefined; + timings?: boolean | undefined; + builtAt?: boolean | undefined; + moduleAssets?: boolean | undefined; + nestedModules?: boolean | undefined; + source?: boolean | undefined; + logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; + optimizationBailout?: boolean | undefined; + groupModulesByType?: boolean | undefined; + groupModulesByCacheStatus?: boolean | undefined; + groupModulesByLayer?: boolean | undefined; + groupModulesByAttributes?: boolean | undefined; + groupModulesByPath?: boolean | undefined; + groupModulesByExtension?: boolean | undefined; + modulesSpace?: number | undefined; + chunkModulesSpace?: number | undefined; + nestedModulesSpace?: number | undefined; + relatedAssets?: boolean | undefined; + groupAssetsByEmitStatus?: boolean | undefined; + groupAssetsByInfo?: boolean | undefined; + groupAssetsByPath?: boolean | undefined; + groupAssetsByExtension?: boolean | undefined; + groupAssetsByChunk?: boolean | undefined; + assetsSpace?: number | undefined; + orphanModules?: boolean | undefined; + excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; + excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; + modulesSort?: string | undefined; + chunkModulesSort?: string | undefined; + nestedModulesSort?: string | undefined; + chunksSort?: string | undefined; + assetsSort?: string | undefined; + performance?: boolean | undefined; + env?: boolean | undefined; + chunkGroupAuxiliary?: boolean | undefined; + chunkGroupChildren?: boolean | undefined; + chunkGroupMaxAssets?: number | undefined; + dependentModules?: boolean | undefined; + chunkOrigins?: boolean | undefined; + depth?: boolean | undefined; + reasonsSpace?: number | undefined; + groupReasonsByOrigin?: boolean | undefined; + errorDetails?: boolean | undefined; + errorStack?: boolean | undefined; + cachedModules?: boolean | undefined; + cached?: boolean | undefined; +}>]>; + +// @public (undocumented) +export type StatsWarnings = Omit & { + moduleIdentifier?: string; +} & Record; + +// @public (undocumented) +export type StrictModuleErrorHandling = z.infer; + +// @public (undocumented) +const strictModuleErrorHandling: z.ZodBoolean; + +// @public (undocumented) +export type StrictModuleExceptionHandling = z.infer; + +// @public (undocumented) +const strictModuleExceptionHandling: z.ZodBoolean; + +// @public (undocumented) +export const SwcCssMinimizerRspackPlugin: { + new (options?: SwcCssMinimizerRspackPluginOptions | undefined): { + name: BuiltinPluginName; + _args: [options?: SwcCssMinimizerRspackPluginOptions | undefined]; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +type SwcCssMinimizerRspackPluginOptions = { + test?: AssetConditions; + exclude?: AssetConditions; + include?: AssetConditions; +}; + +// @public (undocumented) +export const SwcJsMinimizerRspackPlugin: { + new (options?: SwcJsMinimizerRspackPluginOptions | undefined): { + name: BuiltinPluginName; + _args: [options?: SwcJsMinimizerRspackPluginOptions | undefined]; /** + * - `false`: removes all comments + * - `'some'`: preserves some comments + * - `'all'`: preserves all comments + * @default false + */ + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type SwcJsMinimizerRspackPluginOptions = { + test?: AssetConditions; + exclude?: AssetConditions; + include?: AssetConditions; + extractComments?: ExtractCommentsOptions | undefined; + minimizerOptions?: { + compress?: TerserCompressOptions | boolean; + mangle?: TerserMangleOptions | boolean; + format?: JsFormatOptions & ToSnakeCaseProperties; + module?: boolean; + }; +}; + +// @public (undocumented) +export interface SwcLoaderEnvConfig { + bugfixes?: boolean; + coreJs?: string; + // (undocumented) + debug?: boolean; + // (undocumented) + dynamicImport?: boolean; + // (undocumented) + exclude?: string[]; + forceAllTransforms?: boolean; + // (undocumented) + include?: string[]; + // (undocumented) + loose?: boolean; + // (undocumented) + mode?: "usage" | "entry"; + // (undocumented) + path?: string; + // (undocumented) + shippedProposals?: boolean; + skip?: string[]; + // (undocumented) + targets?: any; +} + +// @public (undocumented) +export interface SwcLoaderEsParserConfig { + decorators?: boolean; + decoratorsBeforeExport?: boolean; + exportDefaultFrom?: boolean; + functionBind?: boolean; + importAssertions?: boolean; + jsx?: boolean; + // (undocumented) + syntax: "ecmascript"; +} + +// @public (undocumented) +export interface SwcLoaderJscConfig { + // (undocumented) + baseUrl?: string; + experimental?: { + optimizeHygiene?: boolean; + keepImportAttributes?: boolean; + emitAssertForImportAttributes?: boolean; + cacheRoot?: string; + plugins?: Array<[string, Record]>; + disableBuiltinTransformsForInternalTesting?: boolean; + }; + externalHelpers?: boolean; + keepClassNames?: boolean; + // (undocumented) + loose?: boolean; + parser?: SwcLoaderParserConfig; + // (undocumented) + paths?: { + [from: string]: [string]; + }; + // (undocumented) + preserveAllComments?: boolean; + target?: JscTarget; + // (undocumented) + transform?: SwcLoaderTransformConfig; +} + +// @public (undocumented) +export type SwcLoaderModuleConfig = Es6Config | CommonJsConfig | UmdConfig | AmdConfig | NodeNextConfig | SystemjsConfig; + +// @public (undocumented) +export type SwcLoaderOptions = { + test?: string | string[]; + exclude?: string | string[]; + env?: SwcLoaderEnvConfig; + jsc?: SwcLoaderJscConfig; + module?: SwcLoaderModuleConfig; + minify?: boolean; + sourceMaps?: boolean; + inlineSourcesContent?: boolean; + isModule?: boolean | "unknown"; + rspackExperiments?: { + import?: PluginImportOptions; + }; +}; + +// @public (undocumented) +export type SwcLoaderParserConfig = SwcLoaderTsParserConfig | SwcLoaderEsParserConfig; + +// @public (undocumented) +export interface SwcLoaderTransformConfig { + // (undocumented) + constModules?: ConstModulesConfig; + decoratorMetadata?: boolean; + decoratorVersion?: "2021-12" | "2022-03"; + legacyDecorator?: boolean; + optimizer?: OptimizerConfig; + react?: ReactOptions; + // (undocumented) + treatConstEnumAsEnum?: boolean; + // (undocumented) + useDefineForClassFields?: boolean; +} + +// @public (undocumented) +export interface SwcLoaderTsParserConfig { + decorators?: boolean; + dynamicImport?: boolean; + // (undocumented) + syntax: "typescript"; + tsx?: boolean; +} + +// @public (undocumented) +interface SystemjsConfig { + // (undocumented) + allowTopLevelThis?: boolean; + // (undocumented) + type: "systemjs"; +} + +// @public (undocumented) +export type Target = z.infer; + +// @public (undocumented) +const target: z.ZodUnion<[z.ZodLiteral, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>; + +// @public (undocumented) +interface Targets { + // (undocumented) + android?: number; + // (undocumented) + chrome?: number; + // (undocumented) + edge?: number; + // (undocumented) + firefox?: number; + // (undocumented) + ie?: number; + // (undocumented) + ios_saf?: number; + // (undocumented) + opera?: number; + // (undocumented) + safari?: number; + // (undocumented) + samsung?: number; +} + +// @public +export class Template { + // (undocumented) + static asString(str: string | string[]): string; + // (undocumented) + static getFunctionContent(fn: Function): string; + // (undocumented) + static getModulesArrayBounds(modules: { + id: string | number; + }[]): [number, number] | false; + // (undocumented) + static indent(s: string | string[]): string; + // (undocumented) + static numberToIdentifier(num: number): string; + // (undocumented) + static numberToIdentifierContinuation(num: number): string; + // (undocumented) + static prefix(s: string | string[], prefix: string): string; + // (undocumented) + static toComment(str: string): string; + // (undocumented) + static toIdentifier(str: any): string; + // (undocumented) + static toNormalComment(str: string): string; + // (undocumented) + static toPath(str: string): string; +} + +// @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) +type 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; + +// @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; + +// @public (undocumented) +const umdNamedDefine: z.ZodBoolean; + +// @public (undocumented) +export type UniqueName = z.infer; + +// @public (undocumented) +const uniqueName: z.ZodString; + +// @public (undocumented) +export const util: { + createHash: (algorithm: (string & {}) | "debug" | "xxhash64" | "md4" | "native-md4" | (new () => default_2)) => default_2; + cleverMerge: (first: First, second: Second) => First | Second | (First & Second); +}; + +// @public (undocumented) +export const version: string; + +// @public (undocumented) +interface Wasm { + // (undocumented) + EnableWasmLoadingPlugin: typeof EnableWasmLoadingPlugin; +} + +// @public (undocumented) +export const wasm: Wasm; + +// @public (undocumented) +export type WasmLoading = z.infer; + +// @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; + +// @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) +class Watcher_2 extends EventEmitter { + constructor(directoryWatcher: DirectoryWatcher, filePath: string, startTime: number); + // (undocumented) + checkStartTime(mtime: number, initial: boolean): boolean; + // (undocumented) + close(): void; + // (undocumented) + data: number; + // (undocumented) + directoryWatcher: DirectoryWatcher; + // (undocumented) + path: string; + // (undocumented) + startTime: number; +} + +// @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); + // (undocumented) + blocked: boolean; + // (undocumented) + callbacks: Callback[]; + // (undocumented) + close(callback?: () => void): void; + // (undocumented) + compiler: Compiler; + // (undocumented) + handler: (error?: Error, stats?: Stats) => void; + // (undocumented) + invalid: boolean; + // (undocumented) + invalidate(callback?: Callback): void; + // (undocumented) + isBlocked?: () => boolean; + // (undocumented) + lastWatcherStartTime: number; + // (undocumented) + lazyCompilationInvalidate(files: Set): void; + // (undocumented) + onChange?: () => void; + // (undocumented) + onInvalid?: () => void; + // (undocumented) + pausedWatcher?: Watcher; + // (undocumented) + resume(): void; + // (undocumented) + running: boolean; + // (undocumented) + startTime?: number; + // (undocumented) + suspend(): void; + // (undocumented) + suspended: boolean; + // (undocumented) + watch(files: Iterable, dirs: Iterable, missing: Iterable): void; + // (undocumented) + watcher?: Watcher; + // (undocumented) + watchOptions: WatchOptions; +} + +// @public (undocumented) +export type WatchOptions = z.infer; + +// @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) +class Watchpack extends EventEmitter { + constructor(options: Watchpack.WatchOptions); + // (undocumented) + aggregatedChanges: Set; + // (undocumented) + aggregatedRemovals: Set; + // (undocumented) + aggregateTimeout: NodeJS.Timer; + close(): void; + collectTimeInfoEntries(fileInfoEntries: Map, directoryInfoEntries: Map): void; + // (undocumented) + _dirWatcher(item: string, watcher: Watcher_2): Watcher_2; + // (undocumented) + dirWatchers: Watcher_2[]; + // (undocumented) + _fileWatcher(file: string, watcher: Watcher_2): Watcher_2; + // (undocumented) + fileWatchers: Watcher_2[]; + getAggregated(): { + changes: Set; + removals: Set; + }; + getTimeInfoEntries(): Map; + // @deprecated + getTimes(): { + [path: string]: number; + }; + mtimes: { + [path: string]: number; + }; + // (undocumented) + on( + eventName: "change", + listener: ( + filePath: string, + modifiedTime: number, + explanation: string, + ) => void, + ): this; + // (undocumented) + on( + eventName: "remove", + listener: ( + filePath: string, + explanation: string, + ) => void, + ): this; + // (undocumented) + on( + eventName: "aggregated", + listener: ( + changes: Set, + removals: Set, + ) => void, + ): this; + // (undocumented) + _onChange(item: string, mtime: number, file?: string): void; + // (undocumented) + _onTimeout(): void; + // (undocumented) + options: Watchpack.WatchOptions; + pause(): void; + // (undocumented) + paused: boolean; + watch(options: { + files?: Iterable; + directories?: Iterable; + missing?: Iterable; + startTime?: number; + }): void; + // (undocumented) + watcherOptions: Watchpack.WatcherOptions; +} + +// @public (undocumented) +namespace Watchpack { + // (undocumented) + interface WatcherOptions { + // (undocumented) + followSymlinks?: boolean; + // (undocumented) + ignored?: string[] | string | RegExp | ((path: string) => boolean) | undefined; + // (undocumented) + poll?: boolean | number | undefined; + } + // (undocumented) + interface WatchOptions extends WatcherOptions { + // (undocumented) + aggregateTimeout?: number | undefined; + } +} + +// @public (undocumented) +interface Web { + // (undocumented) + FetchCompileAsyncWasmPlugin: typeof FetchCompileAsyncWasmPlugin; +} + +// @public (undocumented) +export const web: Web; + +// @public (undocumented) +export type WebassemblyModuleFilename = z.infer; + +// @public (undocumented) +const webassemblyModuleFilename: z.ZodString; + +// @public (undocumented) +export const WebpackError: ErrorConstructor; + +// @public (undocumented) +class WebpackError_2 extends Error { + // (undocumented) + [inspect.custom](): string; + // (undocumented) + chunk?: Chunk; + // (undocumented) + details?: string; + // (undocumented) + file?: string; + // (undocumented) + hideStack?: boolean; + // (undocumented) + loc?: DependencyLocation; + // (undocumented) + module?: Module; +} + +// @public (undocumented) +interface Webworker { + // (undocumented) + WebWorkerTemplatePlugin: typeof WebWorkerTemplatePlugin; +} + +// @public (undocumented) +export const webworker: Webworker; + +// @public (undocumented) +const WebWorkerTemplatePlugin: { + new (): { + name: BuiltinPluginName; + _args: []; + affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + raw(compiler: Compiler_2): BuiltinPlugin; + apply(compiler: Compiler_2): void; + }; +}; + +// @public (undocumented) +export type WorkerPublicPath = z.infer; + +// @public (undocumented) +const workerPublicPath: z.ZodString; + +// @public (undocumented) +namespace z { + { type z_AnyZodObject as AnyZodObject, type z_AnyZodTuple as AnyZodTuple, type z_ArrayCardinality as ArrayCardinality, type z_ArrayKeys as ArrayKeys, type z_AssertArray as AssertArray, type z_AsyncParseReturnType as AsyncParseReturnType, type z_BRAND as BRAND, type z_CatchallInput as CatchallInput, type z_CatchallOutput as CatchallOutput, type z_CustomErrorParams as CustomErrorParams, z_DIRTY as DIRTY, type z_DenormalizedError as DenormalizedError, z_EMPTY_PATH as EMPTY_PATH, type z_Effect as Effect, type z_EnumLike as EnumLike, type z_EnumValues as EnumValues, type z_ErrorMapCtx as ErrorMapCtx, type z_FilterEnum as FilterEnum, z_INVALID as INVALID, type z_Indices as Indices, type z_InnerTypeOfFunction as InnerTypeOfFunction, type z_InputTypeOfTuple as InputTypeOfTuple, type z_InputTypeOfTupleWithRest as InputTypeOfTupleWithRest, type z_IpVersion as IpVersion, type z_IssueData as IssueData, type z_KeySchema as KeySchema, z_NEVER as NEVER, z_OK as OK, type z_ObjectPair as ObjectPair, type z_OuterTypeOfFunction as OuterTypeOfFunction, type z_OutputTypeOfTuple as OutputTypeOfTuple, type z_OutputTypeOfTupleWithRest as OutputTypeOfTupleWithRest, type z_ParseContext as ParseContext, type z_ParseInput as ParseInput, type z_ParseParams as ParseParams, type z_ParsePath as ParsePath, type z_ParsePathComponent as ParsePathComponent, type z_ParseResult as ParseResult, type z_ParseReturnType as ParseReturnType, z_ParseStatus as ParseStatus, type z_PassthroughType as PassthroughType, type z_PreprocessEffect as PreprocessEffect, type z_Primitive as Primitive, type z_ProcessedCreateParams as ProcessedCreateParams, type z_RawCreateParams as RawCreateParams, type z_RecordType as RecordType, type z_Refinement as Refinement, type z_RefinementCtx as RefinementCtx, type z_RefinementEffect as RefinementEffect, type z_SafeParseError as SafeParseError, type z_SafeParseReturnType as SafeParseReturnType, type z_SafeParseSuccess as SafeParseSuccess, type z_Scalars as Scalars, ZodType as Schema, type z_SomeZodObject as SomeZodObject, type z_StringValidation as StringValidation, type z_SuperRefinement as SuperRefinement, type z_SyncParseReturnType as SyncParseReturnType, type z_TransformEffect as TransformEffect, type z_TypeOf as TypeOf, type z_UnknownKeysParam as UnknownKeysParam, type z_Values as Values, type z_Writeable as Writeable, z_ZodAny as ZodAny, type z_ZodAnyDef as ZodAnyDef, z_ZodArray as ZodArray, type z_ZodArrayDef as ZodArrayDef, z_ZodBigInt as ZodBigInt, type z_ZodBigIntCheck as ZodBigIntCheck, type z_ZodBigIntDef as ZodBigIntDef, z_ZodBoolean as ZodBoolean, type z_ZodBooleanDef as ZodBooleanDef, z_ZodBranded as ZodBranded, type z_ZodBrandedDef as ZodBrandedDef, z_ZodCatch as ZodCatch, type z_ZodCatchDef as ZodCatchDef, type z_ZodCustomIssue as ZodCustomIssue, z_ZodDate as ZodDate, type z_ZodDateCheck as ZodDateCheck, type z_ZodDateDef as ZodDateDef, z_ZodDefault as ZodDefault, type z_ZodDefaultDef as ZodDefaultDef, z_ZodDiscriminatedUnion as ZodDiscriminatedUnion, type z_ZodDiscriminatedUnionDef as ZodDiscriminatedUnionDef, type z_ZodDiscriminatedUnionOption as ZodDiscriminatedUnionOption, z_ZodEffects as ZodEffects, type z_ZodEffectsDef as ZodEffectsDef, z_ZodEnum as ZodEnum, type z_ZodEnumDef as ZodEnumDef, z_ZodError as ZodError, type z_ZodErrorMap as ZodErrorMap, type z_ZodFirstPartySchemaTypes as ZodFirstPartySchemaTypes, z_ZodFirstPartyTypeKind as ZodFirstPartyTypeKind, type z_ZodFormattedError as ZodFormattedError, z_ZodFunction as ZodFunction, type z_ZodFunctionDef as ZodFunctionDef, z_ZodIntersection as ZodIntersection, type z_ZodIntersectionDef as ZodIntersectionDef, type z_ZodInvalidArgumentsIssue as ZodInvalidArgumentsIssue, type z_ZodInvalidDateIssue as ZodInvalidDateIssue, type z_ZodInvalidEnumValueIssue as ZodInvalidEnumValueIssue, type z_ZodInvalidIntersectionTypesIssue as ZodInvalidIntersectionTypesIssue, type z_ZodInvalidLiteralIssue as ZodInvalidLiteralIssue, type z_ZodInvalidReturnTypeIssue as ZodInvalidReturnTypeIssue, type z_ZodInvalidStringIssue as ZodInvalidStringIssue, type z_ZodInvalidTypeIssue as ZodInvalidTypeIssue, type z_ZodInvalidUnionDiscriminatorIssue as ZodInvalidUnionDiscriminatorIssue, type z_ZodInvalidUnionIssue as ZodInvalidUnionIssue, type z_ZodIssue as ZodIssue, type z_ZodIssueBase as ZodIssueBase, type z_ZodIssueCode as ZodIssueCode, type z_ZodIssueOptionalMessage as ZodIssueOptionalMessage, z_ZodLazy as ZodLazy, type z_ZodLazyDef as ZodLazyDef, z_ZodLiteral as ZodLiteral, type z_ZodLiteralDef as ZodLiteralDef, z_ZodMap as ZodMap, type z_ZodMapDef as ZodMapDef, z_ZodNaN as ZodNaN, type z_ZodNaNDef as ZodNaNDef, z_ZodNativeEnum as ZodNativeEnum, type z_ZodNativeEnumDef as ZodNativeEnumDef, z_ZodNever as ZodNever, type z_ZodNeverDef as ZodNeverDef, type z_ZodNonEmptyArray as ZodNonEmptyArray, type z_ZodNotFiniteIssue as ZodNotFiniteIssue, type z_ZodNotMultipleOfIssue as ZodNotMultipleOfIssue, z_ZodNull as ZodNull, type z_ZodNullDef as ZodNullDef, z_ZodNullable as ZodNullable, type z_ZodNullableDef as ZodNullableDef, type z_ZodNullableType as ZodNullableType, z_ZodNumber as ZodNumber, type z_ZodNumberCheck as ZodNumberCheck, type z_ZodNumberDef as ZodNumberDef, z_ZodObject as ZodObject, type z_ZodObjectDef as ZodObjectDef, z_ZodOptional as ZodOptional, type z_ZodOptionalDef as ZodOptionalDef, type z_ZodOptionalType as ZodOptionalType, type z_ZodParsedType as ZodParsedType, z_ZodPipeline as ZodPipeline, type z_ZodPipelineDef as ZodPipelineDef, z_ZodPromise as ZodPromise, type z_ZodPromiseDef as ZodPromiseDef, type z_ZodRawShape as ZodRawShape, z_ZodReadonly as ZodReadonly, type z_ZodReadonlyDef as ZodReadonlyDef, z_ZodRecord as ZodRecord, type z_ZodRecordDef as ZodRecordDef, ZodType as ZodSchema, z_ZodSet as ZodSet, type z_ZodSetDef as ZodSetDef, z_ZodString as ZodString, type z_ZodStringCheck as ZodStringCheck, type z_ZodStringDef as ZodStringDef, z_ZodSymbol as ZodSymbol, type z_ZodSymbolDef as ZodSymbolDef, type z_ZodTooBigIssue as ZodTooBigIssue, type z_ZodTooSmallIssue as ZodTooSmallIssue, ZodEffects as ZodTransformer, z_ZodTuple as ZodTuple, type z_ZodTupleDef as ZodTupleDef, type z_ZodTupleItems as ZodTupleItems, z_ZodType as ZodType, type z_ZodTypeAny as ZodTypeAny, type z_ZodTypeDef as ZodTypeDef, z_ZodUndefined as ZodUndefined, type z_ZodUndefinedDef as ZodUndefinedDef, z_ZodUnion as ZodUnion, type z_ZodUnionDef as ZodUnionDef, type z_ZodUnionOptions as ZodUnionOptions, z_ZodUnknown as ZodUnknown, type z_ZodUnknownDef as ZodUnknownDef, type z_ZodUnrecognizedKeysIssue as ZodUnrecognizedKeysIssue, z_ZodVoid as ZodVoid, type z_ZodVoidDef as ZodVoidDef, z_addIssueToContext as addIssueToContext, anyType as any, arrayType as array, type z_arrayOutputType as arrayOutputType, type z_baseObjectInputType as baseObjectInputType, type z_baseObjectOutputType as baseObjectOutputType, bigIntType as bigint, booleanType as boolean, z_coerce as coerce, z_custom as custom, dateType as date, z_datetimeRegex as datetimeRegex, errorMap as defaultErrorMap, type z_deoptional as deoptional, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, z_getErrorMap as getErrorMap, z_getParsedType as getParsedType, type TypeOf as infer, type z_inferFlattenedErrors as inferFlattenedErrors, type z_inferFormattedError as inferFormattedError, type z_input as input, instanceOfType as instanceof, intersectionType as intersection, z_isAborted as isAborted, z_isAsync as isAsync, z_isDirty as isDirty, z_isValid as isValid, z_late as late, lazyType as lazy, literalType as literal, z_makeIssue as makeIssue, mapType as map, type z_mergeTypes as mergeTypes, nanType as nan, nativeEnumType as nativeEnum, neverType as never, type z_noUnrecognized as noUnrecognized, nullType as null, nullableType as nullable, numberType as number, objectType as object, type z_objectInputType as objectInputType, type z_objectOutputType as objectOutputType, z_objectUtil as objectUtil, z_oboolean as oboolean, z_onumber as onumber, optionalType as optional, z_ostring as ostring, type z_output as output, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, z_quotelessJson as quotelessJson, recordType as record, setType as set, z_setErrorMap as setErrorMap, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, type z_typeToFlattenedError as typeToFlattenedError, type z_typecast as typecast, undefinedType as undefined, unionType as union, unknownType as unknown, z_util as util, voidType as void }; +} + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts b/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts index 07551a5cb8c..720ab943712 100644 --- a/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts +++ b/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts @@ -1,29 +1,44 @@ import { + type BuiltinPlugin, BuiltinPluginName, type RawExternalsPluginOptions } from "@rspack/binding"; -import type { ExternalItem, ExternalItemValue, Externals } from ".."; -import { create } from "./base"; +import type { Compiler, ExternalItem, ExternalItemValue, Externals } from ".."; +import { Resolver } from "../Resolver"; +import { RspackBuiltinPlugin, createBuiltinPlugin } from "./base"; -export const ExternalsPlugin = create( - BuiltinPluginName.ExternalsPlugin, - (type: string, externals: Externals): RawExternalsPluginOptions => { - return { +export class ExternalsPlugin extends RspackBuiltinPlugin { + name = BuiltinPluginName.ExternalsPlugin; + + constructor( + private type: string, + private externals: Externals + ) { + super(); + } + + raw(compiler: Compiler): BuiltinPlugin | undefined { + const { type, externals } = this; + const raw: RawExternalsPluginOptions = { type, externals: (Array.isArray(externals) ? externals : [externals]) .filter(Boolean) - .map(getRawExternalItem) + .map(item => getRawExternalItem(compiler, item)) }; + return createBuiltinPlugin(this.name, raw); } -); +} type ArrayType = T extends (infer R)[] ? R : never; type RecordValue = T extends Record ? R : never; type RawExternalItem = ArrayType; type RawExternalItemValue = RecordValue; -function getRawExternalItem(item: ExternalItem | undefined): RawExternalItem { +function getRawExternalItem( + compiler: Compiler, + item: ExternalItem | undefined +): RawExternalItem { if (typeof item === "string" || item instanceof RegExp) { return item; } @@ -31,13 +46,61 @@ function getRawExternalItem(item: ExternalItem | undefined): RawExternalItem { if (typeof item === "function") { return async ctx => { return await new Promise((resolve, reject) => { - const promise = item(ctx, (err, result, type) => { - if (err) reject(err); - resolve({ - result: getRawExternalItemValueFormFnResult(result), - externalType: type - }); - }) as Promise; + const data = ctx.data(); + const promise = item( + { + request: data.request, + dependencyType: data.dependencyType, + context: data.context, + contextInfo: { + issuer: data.contextInfo.issuer, + issuerLayer: data.contextInfo.issuerLayer ?? null + }, + getResolve: function getResolve(options) { + const resolver = new Resolver(ctx.getResolver()); + const getResolveContext = () => ({ + fileDependencies: compiler._lastCompilation!.fileDependencies, + missingDependencies: + compiler._lastCompilation!.missingDependencies, + contextDependencies: + compiler._lastCompilation!.contextDependencies + }); + const child = options ? resolver.withOptions(options) : resolver; + return (context, request, callback) => { + if (callback) { + child.resolve( + {}, + context, + request, + getResolveContext(), + // @ts-expect-error TODO: fix the type + callback + ); + } else { + return new Promise((resolve, reject) => { + child.resolve( + {}, + context, + request, + getResolveContext(), + (err, result) => { + if (err) reject(err); + else resolve(result); + } + ); + }); + } + }; + } + }, + (err, result, type) => { + if (err) reject(err); + resolve({ + result: getRawExternalItemValueFormFnResult(result), + externalType: type + }); + } + ) as Promise; if (promise?.then) { promise.then( result => diff --git a/packages/rspack/src/config/types.ts b/packages/rspack/src/config/types.ts index 1d141ec49cd..41f5db7cafd 100644 --- a/packages/rspack/src/config/types.ts +++ b/packages/rspack/src/config/types.ts @@ -1373,7 +1373,20 @@ export type ExternalItemFunctionData = { request?: string; contextInfo?: { issuer: string; + issuerLayer?: string | null; }; + /** + * Get a resolve function with the current resolver options. + */ + getResolve?: ( + options?: ResolveOptions + ) => + | (( + context: string, + request: string, + callback: (err?: Error, result?: string) => void + ) => void) + | ((context: string, request: string) => Promise); }; /** diff --git a/packages/rspack/src/config/zod.ts b/packages/rspack/src/config/zod.ts index b1b7b980ca0..4e43e8c1dd9 100644 --- a/packages/rspack/src/config/zod.ts +++ b/packages/rspack/src/config/zod.ts @@ -863,10 +863,16 @@ const externalItemFunctionData = z.strictObject({ request: z.string().optional(), contextInfo: z .strictObject({ - issuer: z.string() + issuer: z.string(), + issuerLayer: z.string().or(z.null()).optional() }) + .optional(), + getResolve: z + .function() + .returns(z.function().args(z.string(), z.string(), z.function().optional())) .optional() -}) satisfies z.ZodType; +}); +export type ExternalItemFunctionData = z.infer; const externalItem = z .string() diff --git a/packages/rspack/src/loader-runner/index.ts b/packages/rspack/src/loader-runner/index.ts index 99794a3a84c..b2bd8c174f5 100644 --- a/packages/rspack/src/loader-runner/index.ts +++ b/packages/rspack/src/loader-runner/index.ts @@ -599,7 +599,7 @@ export async function runLoaders( }; loaderContext.getResolve = function getResolve(options) { - const child = options ? resolver.withOptions(options as any) : resolver; + const child = options ? resolver.withOptions(options) : resolver; return (context, request, callback) => { if (callback) { child.resolve({}, context, request, getResolveContext(), callback); From bac1ca1fe9568e981550cb5c9741c8e6e5f516a1 Mon Sep 17 00:00:00 2001 From: fi3ework Date: Fri, 29 Nov 2024 17:00:40 +0800 Subject: [PATCH 2/3] fix: types --- .../src/options/raw_external.rs | 1 - .../rspack_core/src/context_module_factory.rs | 2 +- crates/rspack_core/src/module_factory.rs | 1 - crates/rspack_plugin_externals/src/plugin.rs | 7 +- packages/rspack/etc/core.api.md | 180 ++---------------- .../src/builtin-plugin/ExternalsPlugin.ts | 11 +- packages/rspack/src/config/zod.ts | 28 ++- .../resolve/node_modules/external.js | 0 .../externals/resolve/test.filter.js | 2 - 9 files changed, 49 insertions(+), 183 deletions(-) create mode 100644 tests/webpack-test/configCases/externals/resolve/node_modules/external.js delete mode 100644 tests/webpack-test/configCases/externals/resolve/test.filter.js diff --git a/crates/rspack_binding_options/src/options/raw_external.rs b/crates/rspack_binding_options/src/options/raw_external.rs index 28a205471f4..87a204229d5 100644 --- a/crates/rspack_binding_options/src/options/raw_external.rs +++ b/crates/rspack_binding_options/src/options/raw_external.rs @@ -7,7 +7,6 @@ use napi_derive::napi; use rspack_binding_values::JsResolver; use rspack_core::{ExternalItem, ExternalItemFnResult, ExternalItemValue}; use rspack_core::{ExternalItemFnCtx, ResolveOptionsWithDependencyType, ResolverFactory}; -// use rspack_napi::regexp::{JsRegExp, JsRegExpExt}; use rspack_napi::threadsafe_function::ThreadsafeFunction; use rspack_regex::RspackRegex; diff --git a/crates/rspack_core/src/context_module_factory.rs b/crates/rspack_core/src/context_module_factory.rs index ff50c5b4ac7..ca1ae462e77 100644 --- a/crates/rspack_core/src/context_module_factory.rs +++ b/crates/rspack_core/src/context_module_factory.rs @@ -128,7 +128,7 @@ impl ContextModuleFactory { resolve_options: options .resolve_options .clone() - .map(|arc| Box::new(Arc::try_unwrap(arc).unwrap_or_else(|arc| (*arc).clone()))), + .map(|r| Box::new(Arc::unwrap_or_clone(r))), resolve_to_context: false, dependency_category: options.context_options.category, }); diff --git a/crates/rspack_core/src/module_factory.rs b/crates/rspack_core/src/module_factory.rs index 89332dfbd6c..376df7f71a3 100644 --- a/crates/rspack_core/src/module_factory.rs +++ b/crates/rspack_core/src/module_factory.rs @@ -12,7 +12,6 @@ use crate::{ #[derive(Debug, Clone)] pub struct ModuleFactoryCreateData { pub compilation_id: CompilationId, - // pub resolve_options: Option>, pub resolve_options: Option>, pub options: Arc, pub context: Context, diff --git a/crates/rspack_plugin_externals/src/plugin.rs b/crates/rspack_plugin_externals/src/plugin.rs index a3824bb1c48..6efa2f352c0 100644 --- a/crates/rspack_plugin_externals/src/plugin.rs +++ b/crates/rspack_plugin_externals/src/plugin.rs @@ -188,8 +188,11 @@ async fn factorize(&self, data: &mut ModuleFactoryCreateData) -> Result ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise); }; // @public @@ -2015,15 +2017,13 @@ export type ExternalItemValue = string | boolean | string[] | ExternalItemUmdVal export type Externals = ExternalItem | ExternalItem[]; // @public (undocumented) -export const ExternalsPlugin: { - new (type: string, externals: Externals): { - name: BuiltinPluginName; - _args: [type: string, externals: Externals]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; +export class ExternalsPlugin extends RspackBuiltinPlugin { + constructor(type: string, externals: Externals); + // (undocumented) + name: BuiltinPluginName; + // (undocumented) + raw(compiler: Compiler): BuiltinPlugin | undefined; +} // @public export type ExternalsPresets = { @@ -6490,107 +6490,7 @@ export const rspackOptions: z.ZodObject<{ } | undefined; } | undefined; }>>; - externals: z.ZodOptional]>, z.ZodRecord, z.ZodArray]>, ZodRspackCrossChecker]>>]>, z.ZodFunction; - dependencyType: z.ZodOptional; - request: z.ZodOptional; - contextInfo: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }>, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, ZodRspackCrossChecker]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction; - dependencyType: z.ZodOptional; - request: z.ZodOptional; - contextInfo: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, ZodRspackCrossChecker]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType]>, z.ZodRecord, z.ZodArray]>, ZodRspackCrossChecker]>>]>, z.ZodFunction; - dependencyType: z.ZodOptional; - request: z.ZodOptional; - contextInfo: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }>, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, ZodRspackCrossChecker]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction; - dependencyType: z.ZodOptional; - request: z.ZodOptional; - contextInfo: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, ZodRspackCrossChecker]>>>]>]>>; + externals: z.ZodOptional]>, z.ZodRecord, z.ZodArray]>, ZodRspackCrossChecker]>>]>, z.ZodFunction, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, ZodRspackCrossChecker]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, ZodRspackCrossChecker]>>>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType]>, z.ZodRecord, z.ZodArray]>, ZodRspackCrossChecker]>>]>, z.ZodFunction, z.ZodFunction>, z.ZodOptional, z.ZodArray]>, ZodRspackCrossChecker]>>, z.ZodOptional>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, ZodRspackCrossChecker]>>>]>]>>; externalsType: z.ZodOptional>; externalsPresets: z.ZodOptional; @@ -8865,35 +8765,7 @@ export const rspackOptions: z.ZodObject<{ } | undefined; loader?: Record | undefined; resolveLoader?: t.ResolveOptions | undefined; - externals?: string | RegExp | Record | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, ...args: unknown[]) => Promise) | (string | RegExp | Record | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, ...args: unknown[]) => Promise))[] | undefined; + externals?: string | RegExp | Record | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise) | (string | RegExp | Record | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise))[] | undefined; externalsType?: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined; externalsPresets?: { node?: boolean | undefined; @@ -9493,35 +9365,7 @@ export const rspackOptions: z.ZodObject<{ } | undefined; loader?: Record | undefined; resolveLoader?: t.ResolveOptions | undefined; - externals?: string | RegExp | Record | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, ...args: unknown[]) => Promise) | (string | RegExp | Record | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: { - request?: string | undefined; - context?: string | undefined; - dependencyType?: string | undefined; - contextInfo?: { - issuer: string; - } | undefined; - }, ...args: unknown[]) => Promise))[] | undefined; + externals?: string | RegExp | Record | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise) | (string | RegExp | Record | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise))[] | undefined; externalsType?: "module" | "global" | "system" | "script" | "commonjs" | "umd" | "amd" | "var" | "jsonp" | "import" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "promise" | "module-import" | "node-commonjs" | "commonjs-import" | undefined; externalsPresets?: { node?: boolean | undefined; diff --git a/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts b/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts index 720ab943712..de50c04a286 100644 --- a/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts +++ b/packages/rspack/src/builtin-plugin/ExternalsPlugin.ts @@ -73,8 +73,15 @@ function getRawExternalItem( context, request, getResolveContext(), - // @ts-expect-error TODO: fix the type - callback + (err, result) => { + if (err) return callback(err); + // Sync with how webpack fixes the type: + // https://github.com/webpack/webpack/blob/a2ad76cd50ae780dead395c68ea67d46de9828f3/lib/ExternalModuleFactoryPlugin.js#L276 + callback( + undefined, + typeof result === "string" ? result : undefined + ); + } ); } else { return new Promise((resolve, reject) => { diff --git a/packages/rspack/src/config/zod.ts b/packages/rspack/src/config/zod.ts index 4e43e8c1dd9..8e4ed818f43 100644 --- a/packages/rspack/src/config/zod.ts +++ b/packages/rspack/src/config/zod.ts @@ -869,10 +869,27 @@ const externalItemFunctionData = z.strictObject({ .optional(), getResolve: z .function() - .returns(z.function().args(z.string(), z.string(), z.function().optional())) + .returns( + z + .function() + .args(z.string(), z.string()) + .returns(z.promise(z.string())) + .or( + z + .function() + .args( + z.string(), + z.string(), + z + .function() + .args(z.instanceof(Error).optional(), z.string().optional()) + .returns(z.void()) + ) + .returns(z.void()) + ) + ) .optional() -}); -export type ExternalItemFunctionData = z.infer; +}) satisfies z.ZodType; const externalItem = z .string() @@ -882,7 +899,7 @@ const externalItem = z z .function() .args( - externalItemFunctionData, + externalItemFunctionData as z.ZodType, z .function() .args( @@ -896,14 +913,13 @@ const externalItem = z .or( z .function() - .args(externalItemFunctionData) + .args(externalItemFunctionData as z.ZodType) .returns(z.promise(externalItemValue)) ) satisfies z.ZodType; const externals = externalItem .array() .or(externalItem) satisfies z.ZodType; -//#endregion //#region ExternalsPresets const externalsPresets = z.strictObject({ diff --git a/tests/webpack-test/configCases/externals/resolve/node_modules/external.js b/tests/webpack-test/configCases/externals/resolve/node_modules/external.js new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/webpack-test/configCases/externals/resolve/test.filter.js b/tests/webpack-test/configCases/externals/resolve/test.filter.js deleted file mode 100644 index 042493e42a5..00000000000 --- a/tests/webpack-test/configCases/externals/resolve/test.filter.js +++ /dev/null @@ -1,2 +0,0 @@ -// TODO: Should create a issue for this test -module.exports = () => { return false } From 839855d8adca5dc125bbef7c7b90e826b5198105 Mon Sep 17 00:00:00 2001 From: fi3ework Date: Fri, 6 Dec 2024 13:42:00 +0800 Subject: [PATCH 3/3] cr --- packages/rspack/etc/api.md | 15383 ----------------------------------- 1 file changed, 15383 deletions(-) delete mode 100644 packages/rspack/etc/api.md diff --git a/packages/rspack/etc/api.md b/packages/rspack/etc/api.md deleted file mode 100644 index 650eabda1e8..00000000000 --- a/packages/rspack/etc/api.md +++ /dev/null @@ -1,15383 +0,0 @@ -## API Report File for "@rspack/core" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -/// - -import { AsyncParallelHook } from '@rspack/lite-tapable'; -import { AsyncSeriesBailHook } from '@rspack/lite-tapable'; -import * as binding from '@rspack/binding'; -import { BuiltinPlugin } from '@rspack/binding'; -import { BuiltinPluginName } from '@rspack/binding'; -import { CacheFacade as CacheFacade_2 } from './lib/CacheFacade'; -import type { Callback } from '@rspack/lite-tapable'; -import { cleanupGlobalTrace } from '@rspack/binding'; -import { Compiler as Compiler_2 } from '../Compiler'; -import { default as default_2 } from './util/hash'; -import { RawEvalDevToolModulePluginOptions as EvalDevToolModulePluginOptions } from '@rspack/binding'; -import { EventEmitter } from 'events'; -import { ExternalObject } from '@rspack/binding'; -import fs from 'graceful-fs'; -import { fs as fs_2 } from 'fs'; -import { HookMap } from '@rspack/lite-tapable'; -import { inspect } from 'node:util'; -import type { JsAssetInfo } from '@rspack/binding'; -import { JsChunk } from '@rspack/binding'; -import { JsChunkGroup } from '@rspack/binding'; -import type { JsCodegenerationResult } from '@rspack/binding'; -import { JsCompilation } from '@rspack/binding'; -import type { JsCreateData } from '@rspack/binding'; -import type { JsFactoryMeta } from '@rspack/binding'; -import { JsLibraryOptions } from '@rspack/binding'; -import { JsLoaderItem } from '@rspack/binding'; -import { JsModule } from '@rspack/binding'; -import { JsPathData } from '@rspack/binding'; -import { JsRuntimeModule } from '@rspack/binding'; -import type { JsStats } from '@rspack/binding'; -import type { JsStatsCompilation } from '@rspack/binding'; -import type { JsStatsError } from '@rspack/binding'; -import type { JsStatsWarning } from '@rspack/binding'; -import * as liteTapable from '@rspack/lite-tapable'; -import { Logger as Logger_2 } from './logging/Logger'; -import { RawCopyPattern } from '@rspack/binding'; -import type { RawCssExtractPluginOption } from '@rspack/binding'; -import type { RawFuncUseCtx } from '@rspack/binding'; -import { RawIgnorePluginOptions } from '@rspack/binding'; -import { RawOptions } from '@rspack/binding'; -import { RawProgressPluginOptions } from '@rspack/binding'; -import { RawProvideOptions } from '@rspack/binding'; -import { RawRuntimeChunkOptions } from '@rspack/binding'; -import { RawSourceMapDevToolPluginOptions } from '@rspack/binding'; -import { registerGlobalTrace } from '@rspack/binding'; -import { RspackOptionsNormalized as RspackOptionsNormalized_2 } from '.'; -import sources = require('../compiled/webpack-sources'); -import { SyncBailHook } from '@rspack/lite-tapable'; -import { SyncHook } from '@rspack/lite-tapable'; -import { SyncWaterfallHook } from '@rspack/lite-tapable'; -import type * as webpackDevServer from 'webpack-dev-server'; - -// @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) -export const applyRspackOptionsBaseDefaults: (options: RspackOptionsNormalized) => void; - -// @public (undocumented) -export const applyRspackOptionsDefaults: (options: RspackOptionsNormalized) => void; - -// @public -const asRegExp: (test: string | RegExp) => RegExp; - -// @public (undocumented) -export interface Asset { - // (undocumented) - info: AssetInfo; - // (undocumented) - name: string; - // (undocumented) - source: Source; -} - -// @public (undocumented) -type AssetCondition = string | RegExp; - -// @public (undocumented) -type AssetConditions = AssetCondition | AssetCondition[]; - -// @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; - -// @public (undocumented) -const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{ - encoding: z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; -}, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; -}>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; - -// @public (undocumented) -export type AssetGeneratorDataUrlFunction = z.infer; - -// @public (undocumented) -const assetGeneratorDataUrlFunction: z.ZodFunction], z.ZodUnknown>, z.ZodString>; - -// @public (undocumented) -export type AssetGeneratorDataUrlOptions = z.infer; - -// @public (undocumented) -const assetGeneratorDataUrlOptions: z.ZodObject<{ - encoding: z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; -}, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; -}>; - -// @public (undocumented) -export type AssetGeneratorOptions = z.infer; - -// @public (undocumented) -const assetGeneratorOptions: z.ZodObject, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; -}, { - emit: z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; -}>, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; -}, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; -}>; - -// @public (undocumented) -export type AssetInfo = Partial> & Record; - -// @public (undocumented) -export type AssetInlineGeneratorOptions = z.infer; - -// @public (undocumented) -const assetInlineGeneratorOptions: z.ZodObject<{ - dataUrl: z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; -}, "strict", z.ZodTypeAny, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; -}, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; -}>; - -// @public (undocumented) -export type AssetModuleFilename = z.infer; - -// @public (undocumented) -const assetModuleFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; - -// @public (undocumented) -export type AssetParserDataUrl = z.infer; - -// @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; - -// @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; - -// @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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; -}, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; -}, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; -}>; - -// @public (undocumented) -export type Assets = Record; - -// @public (undocumented) -export type AsyncChunks = z.infer; - -// @public (undocumented) -const asyncChunks: z.ZodBoolean; - -// @public (undocumented) -export type AuxiliaryComment = z.infer; - -// @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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; -}, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; -}>]>; - -// @public (undocumented) -export type Bail = z.infer; - -// @public (undocumented) -const bail: z.ZodBoolean; - -// @public (undocumented) -export const BannerPlugin: { - new (args: string | ((args_0: { - filename: string; - hash: string; - chunk: JsChunk; - }, ...args_1: unknown[]) => string) | { - banner: string | ((args_0: { - filename: string; - hash: string; - chunk: JsChunk; - }, ...args_1: unknown[]) => string); - entryOnly?: boolean | undefined; - exclude?: string | RegExp | (string | RegExp)[] | undefined; - include?: string | RegExp | (string | RegExp)[] | undefined; - raw?: boolean | undefined; - footer?: boolean | undefined; - stage?: number | undefined; - test?: string | RegExp | (string | RegExp)[] | undefined; - }): { - name: BuiltinPluginName; - _args: [args: string | ((args_0: { - filename: string; - hash: string; - chunk: JsChunk; - }, ...args_1: unknown[]) => string) | { - banner: string | ((args_0: { - filename: string; - hash: string; - chunk: JsChunk; - }, ...args_1: unknown[]) => string); - entryOnly?: boolean | undefined; - exclude?: string | RegExp | (string | RegExp)[] | undefined; - include?: string | RegExp | (string | RegExp)[] | undefined; - raw?: boolean | undefined; - footer?: boolean | undefined; - stage?: number | undefined; - test?: string | RegExp | (string | RegExp)[] | undefined; - }]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type BannerPluginArgument = z.infer; - -// @public (undocumented) -const bannerPluginArgument: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction; - filename: z.ZodString; -}, "strip", z.ZodTypeAny, { - filename: string; - hash: string; - chunk: JsChunk; -}, { - filename: string; - hash: string; - chunk: JsChunk; -}>], z.ZodUnknown>, z.ZodString>]>, z.ZodObject<{ - banner: z.ZodUnion<[z.ZodString, z.ZodFunction; - filename: z.ZodString; - }, "strip", z.ZodTypeAny, { - filename: string; - hash: string; - chunk: JsChunk; - }, { - filename: string; - hash: string; - chunk: JsChunk; - }>], 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; - stage: z.ZodOptional; - test: z.ZodOptional]>, z.ZodArray]>, "many">]>>; -}, "strict", z.ZodTypeAny, { - banner: string | ((args_0: { - filename: string; - hash: string; - chunk: JsChunk; - }, ...args_1: unknown[]) => string); - entryOnly?: boolean | undefined; - exclude?: string | RegExp | (string | RegExp)[] | undefined; - include?: string | RegExp | (string | RegExp)[] | undefined; - raw?: boolean | undefined; - footer?: boolean | undefined; - stage?: number | undefined; - test?: string | RegExp | (string | RegExp)[] | undefined; -}, { - banner: string | ((args_0: { - filename: string; - hash: string; - chunk: JsChunk; - }, ...args_1: unknown[]) => string); - entryOnly?: boolean | undefined; - exclude?: string | RegExp | (string | RegExp)[] | undefined; - include?: string | RegExp | (string | RegExp)[] | undefined; - raw?: boolean | undefined; - footer?: boolean | undefined; - stage?: number | undefined; - test?: string | RegExp | (string | RegExp)[] | undefined; -}>]>; - -// @public (undocumented) -abstract class BaseCache { - // (undocumented) - abstract get(callback: CallbackCache): void; - // (undocumented) - abstract getPromise(): Promise; - // (undocumented) - abstract store(data: T, callback: CallbackCache): void; - // (undocumented) - abstract storePromise(data: T): Promise; -} - -// @public (undocumented) -interface BaseModuleConfig { - // (undocumented) - allowTopLevelThis?: boolean; - exportInteropAnnotation?: boolean; - ignoreDynamic?: boolean; - importInterop?: "swc" | "babel" | "node" | "none"; - lazy?: boolean | string[]; - // @deprecated (undocumented) - noInterop?: boolean; - // (undocumented) - preserveImportMeta?: boolean; - strict?: boolean; - strictMode?: boolean; -} - -// @public (undocumented) -const baseResolveOptions: z.ZodObject<{ - alias: z.ZodOptional, z.ZodString]>, z.ZodArray]>, "many">]>>>; - 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; - enforceExtension: z.ZodOptional; - importsFields: z.ZodOptional>; - descriptionFiles: 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, { - modules?: string[] | undefined; - alias?: Record | undefined; - conditionNames?: string[] | undefined; - extensions?: string[] | undefined; - fallback?: Record | undefined; - mainFields?: string[] | undefined; - mainFiles?: string[] | undefined; - preferRelative?: boolean | undefined; - preferAbsolute?: boolean | undefined; - symlinks?: boolean | undefined; - enforceExtension?: boolean | undefined; - importsFields?: string[] | undefined; - descriptionFiles?: string[] | undefined; - tsConfig?: string | { - 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; -}, { - modules?: string[] | undefined; - alias?: Record | undefined; - conditionNames?: string[] | undefined; - extensions?: string[] | undefined; - fallback?: Record | undefined; - mainFields?: string[] | undefined; - mainFiles?: string[] | undefined; - preferRelative?: boolean | undefined; - preferAbsolute?: boolean | undefined; - symlinks?: boolean | undefined; - enforceExtension?: boolean | undefined; - importsFields?: string[] | undefined; - descriptionFiles?: string[] | undefined; - tsConfig?: string | { - 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) -interface BaseResolveRequest { - // (undocumented) - descriptionFileData?: object; - // (undocumented) - descriptionFilePath?: string; - // (undocumented) - descriptionFileRoot?: string; - // (undocumented) - fullySpecified?: boolean; - // (undocumented) - ignoreSymlinks?: boolean; - // (undocumented) - path: string | false; - // (undocumented) - relativePath?: string; -} - -// @public (undocumented) -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>; - issuerLayer: z.ZodOptional>; - dependency: z.ZodOptional>; - resource: z.ZodOptional>; - resourceFragment: z.ZodOptional>; - resourceQuery: z.ZodOptional>; - scheme: z.ZodOptional>; - mimetype: z.ZodOptional>; - descriptionData: z.ZodOptional>>; - with: z.ZodOptional>>; - type: z.ZodOptional; - layer: z.ZodOptional; - loader: z.ZodOptional; - options: z.ZodOptional]>>; - use: z.ZodOptional; - loader: z.ZodString; - options: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - }, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - }>]>, z.ZodArray; - loader: z.ZodString; - options: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - }, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - }>]>, "many">]>, z.ZodFunction], z.ZodUnknown>, z.ZodArray; - loader: z.ZodString; - options: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - }, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - }>]>, "many">>]>>; - parser: z.ZodOptional>; - generator: z.ZodOptional>; - resolve: z.ZodOptional>; - sideEffects: z.ZodOptional; - enforce: z.ZodOptional, z.ZodLiteral<"post">]>>; -}, "strict", z.ZodTypeAny, { - options?: string | Record | undefined; - type?: string | undefined; - exclude?: RuleSetCondition | undefined; - include?: RuleSetCondition | undefined; - test?: RuleSetCondition | undefined; - layer?: string | undefined; - enforce?: "pre" | "post" | undefined; - sideEffects?: boolean | undefined; - resource?: RuleSetCondition | undefined; - loader?: string | undefined; - issuer?: RuleSetCondition | undefined; - issuerLayer?: RuleSetCondition | undefined; - dependency?: RuleSetCondition | undefined; - resourceFragment?: RuleSetCondition | undefined; - resourceQuery?: RuleSetCondition | undefined; - scheme?: RuleSetCondition | undefined; - mimetype?: RuleSetCondition | undefined; - descriptionData?: Record | undefined; - with?: Record | undefined; - use?: string | { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - } | (string | { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - })[] | ((args_0: RawFuncUseCtx, ...args_1: unknown[]) => (string | { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - })[]) | undefined; - parser?: Record | undefined; - generator?: Record | undefined; - resolve?: ResolveOptions | undefined; -}, { - options?: string | Record | undefined; - type?: string | undefined; - exclude?: RuleSetCondition | undefined; - include?: RuleSetCondition | undefined; - test?: RuleSetCondition | undefined; - layer?: string | undefined; - enforce?: "pre" | "post" | undefined; - sideEffects?: boolean | undefined; - resource?: RuleSetCondition | undefined; - loader?: string | undefined; - issuer?: RuleSetCondition | undefined; - issuerLayer?: RuleSetCondition | undefined; - dependency?: RuleSetCondition | undefined; - resourceFragment?: RuleSetCondition | undefined; - resourceQuery?: RuleSetCondition | undefined; - scheme?: RuleSetCondition | undefined; - mimetype?: RuleSetCondition | undefined; - descriptionData?: Record | undefined; - with?: Record | undefined; - use?: string | { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - } | (string | { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - })[] | ((args_0: RawFuncUseCtx, ...args_1: unknown[]) => (string | { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; - })[]) | undefined; - parser?: Record | undefined; - generator?: Record | undefined; - resolve?: ResolveOptions | undefined; -}>; - -// @public (undocumented) -export type BaseUri = z.infer; - -// @public (undocumented) -const baseUri: z.ZodString; - -// @public (undocumented) -class Cache_2 { - constructor(); - // (undocumented) - beginIdle(): void; - // (undocumented) - endIdle(callback: CallbackCache): void; - // (undocumented) - get(identifier: string, etag: Etag | null, callback: CallbackCache): void; - // (undocumented) - hooks: { - get: AsyncSeriesBailHook<[string, Etag | null, GotHandler[]], any>; - store: AsyncParallelHook<[string, Etag | null, any]>; - storeBuildDependencies: AsyncParallelHook<[Iterable]>; - beginIdle: SyncHook<[]>; - endIdle: AsyncParallelHook<[]>; - shutdown: AsyncParallelHook<[]>; - }; - // (undocumented) - shutdown(callback: CallbackCache): void; - // (undocumented) - static STAGE_DEFAULT: number; - // (undocumented) - static STAGE_DISK: number; - // (undocumented) - static STAGE_MEMORY: number; - // (undocumented) - static STAGE_NETWORK: number; - // (undocumented) - store(identifier: string, etag: Etag | null, data: T, callback: CallbackCache): void; - storeBuildDependencies(dependencies: Iterable, callback: CallbackCache): void; -} - -// @public (undocumented) -class CacheFacade { - constructor(cache: Cache_2, name: string, hashFunction: string | HashConstructor); - // (undocumented) - _cache: Cache_2; - // (undocumented) - get(identifier: string, etag: Etag | null, callback: CallbackCache): void; - // (undocumented) - getChildCache(name: string): CacheFacade; - // (undocumented) - getItemCache(identifier: string, etag: Etag | null): ItemCacheFacade; - // (undocumented) - getLazyHashedEtag(obj: HashableObject): Etag; - // (undocumented) - getPromise(identifier: string, etag: Etag | null): Promise; - // (undocumented) - _hashFunction: string | HashConstructor; - // (undocumented) - mergeEtags(a: Etag, b: Etag): Etag; - // (undocumented) - _name: string; - // (undocumented) - provide(identifier: string, etag: Etag | null, computer: (callback: CallbackNormalErrorCache) => void, callback: CallbackNormalErrorCache): void; - // (undocumented) - providePromise(identifier: string, etag: Etag | null, computer: () => Promise | T): Promise<{} | T | null>; - // (undocumented) - store(identifier: string, etag: Etag | null, data: T, callback: CallbackCache): void; - // (undocumented) - storePromise(identifier: string, etag: Etag | null, data: T): Promise; -} - -// @public (undocumented) -type CacheHookMap = Map[]>; - -// @public (undocumented) -export type CacheOptions = z.infer; - -// @public (undocumented) -const cacheOptions: z.ZodBoolean; - -// @public (undocumented) -type CallbackCache = (err?: WebpackError_2 | null, result?: T) => void; - -// @public (undocumented) -type CallbackNormalErrorCache = (err?: WebpackError_2 | null, result?: T) => void; - -// @public (undocumented) -type CallFn = (...args: any[]) => any; - -// @public (undocumented) -export 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; - // @internal - __internal__innerUkey(): number; - // (undocumented) - auxiliaryFiles: ReadonlySet; - // (undocumented) - canBeInitial(): boolean; - // (undocumented) - chunkReason?: Readonly; - // (undocumented) - contentHash: Readonly>; - // (undocumented) - cssFilenameTemplate?: Readonly; - // (undocumented) - filenameTemplate?: Readonly; - // (undocumented) - files: ReadonlySet; - // (undocumented) - getAllAsyncChunks(): Iterable; - // (undocumented) - getAllInitialChunks(): Iterable; - // (undocumented) - getAllReferencedChunks(): Iterable; - // (undocumented) - get groupsIterable(): Iterable; - // (undocumented) - hash?: Readonly; - // (undocumented) - hasRuntime(): boolean; - // (undocumented) - id?: Readonly; - // (undocumented) - idNameHints: ReadonlyArray; - // (undocumented) - ids: ReadonlyArray; - // (undocumented) - isOnlyInitial(): boolean; - // (undocumented) - name?: Readonly; - // (undocumented) - renderedHash?: Readonly; - // (undocumented) - runtime: ReadonlySet; -} - -// @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): Readonly; - // (undocumented) - getChunkModulesIterable(chunk: Chunk): Iterable; - // (undocumented) - getChunkModulesIterableBySourceType(chunk: Chunk, sourceType: string): Iterable; - // (undocumented) - getModuleId(module: Module): string | null; -} - -// @public (undocumented) -export class ChunkGroup { - protected constructor(inner: JsChunkGroup, compilation: JsCompilation); - // (undocumented) - static __from_binding(chunk: JsChunkGroup, compilation: JsCompilation): ChunkGroup; - // @internal - __internal__innerCompilation(): JsCompilation; - // @internal - __internal__innerUkey(): number; - // (undocumented) - get chunks(): ReadonlyArray; - // (undocumented) - getFiles(): ReadonlyArray; - // (undocumented) - getParents(): ReadonlyArray; - // (undocumented) - get index(): Readonly; - // (undocumented) - isInitial(): boolean; - // (undocumented) - get name(): Readonly; -} - -// @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) -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) -type CodeValue = RecursiveArrayOrRecord; - -// @public (undocumented) -type CodeValuePrimitive = null | undefined | RegExp | Function | string | number | boolean | bigint | undefined; - -// @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; - // @internal - __internal__emit_asset_from_loader(filename: string, source: Source, assetInfo: AssetInfo, module: string): void; - // @internal - __internal__getAssetFilenames(): string[]; - // @internal - __internal__getAssetSource(filename: string): Source | void; - // @internal - __internal__getChunks(): Chunk[]; - // @internal - __internal__getCustomModule(moduleIdentifier: string): { - buildInfo: Record; - buildMeta: Record; - }; - // @internal - __internal__getModules(): JsModule[]; - // @internal - __internal__hasAsset(name: string): boolean; - // @internal - __internal__pushDiagnostic(diagnostic: binding.JsDiagnostic): void; - // @internal - __internal__pushNativeDiagnostics(diagnostics: ExternalObject<"Diagnostic[]">): void; - // @internal - __internal__setAssetSource(filename: string, source: Source): void; - // @internal - __internal_getInner(): binding.JsCompilation; - get assets(): Record; - // (undocumented) - buildDependencies: { - [Symbol.iterator](): Generator; - has(dep: string): boolean; - add: (dep: string) => void; - addAll: (deps: Iterable) => void; - }; - // (undocumented) - children: Compilation[]; - // (undocumented) - childrenCounters: Record; - // (undocumented) - chunkGraph: ChunkGraph; - // (undocumented) - get chunkGroups(): ReadonlyArray; - // (undocumented) - get chunks(): ReadonlySet; - // (undocumented) - compiler: Compiler; - // (undocumented) - contextDependencies: { - [Symbol.iterator](): Generator; - has(dep: string): boolean; - add: (dep: string) => void; - addAll: (deps: Iterable) => void; - }; - // (undocumented) - createChildCompiler(name: string, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; - // (undocumented) - createStatsFactory(options: StatsOptions): StatsFactory; - // (undocumented) - createStatsOptions(statsValue: StatsValue | undefined, context?: CreateStatsOptionsContext): NormalizedStatsOptions; - // (undocumented) - createStatsPrinter(options: StatsOptions): StatsPrinter; - // (undocumented) - deleteAsset(filename: string): void; - emitAsset(filename: string, source: Source, assetInfo?: AssetInfo): void; - // (undocumented) - endTime?: number; - // (undocumented) - get entries(): Map; - get entrypoints(): ReadonlyMap; - // (undocumented) - get errors(): RspackError[]; - // (undocumented) - fileDependencies: { - [Symbol.iterator](): Generator; - has(dep: string): boolean; - add: (dep: string) => void; - addAll: (deps: Iterable) => void; - }; - // (undocumented) - fileSystemInfo: { - createSnapshot(): null; - }; - // (undocumented) - get fullHash(): Readonly; - // (undocumented) - getAsset(name: string): Readonly | void; - // (undocumented) - getAssetPath(filename: Filename, data?: PathData): string; - // (undocumented) - getAssetPathWithInfo(filename: Filename, data?: PathData): binding.PathWithInfo; - getAssets(): ReadonlyArray; - // (undocumented) - getCache(name: string): CacheFacade_2; - // (undocumented) - getLogger(name: string | (() => string)): Logger; - // (undocumented) - getPath(filename: Filename, data?: PathData): string; - // (undocumented) - getPathWithInfo(filename: Filename, data?: PathData): binding.PathWithInfo; - // (undocumented) - getStats(): Stats; - // (undocumented) - get hash(): Readonly; - // (undocumented) - hooks: Readonly<{ - processAssets: liteTapable.AsyncSeriesHook; - afterProcessAssets: liteTapable.SyncHook; - childCompiler: liteTapable.SyncHook<[Compiler, string, number]>; - log: liteTapable.SyncBailHook<[string, LogEntry], true>; - additionalAssets: any; - optimizeModules: liteTapable.SyncBailHook, void>; - afterOptimizeModules: liteTapable.SyncHook, void>; - optimizeTree: liteTapable.AsyncSeriesHook<[ - Iterable, - Iterable - ]>; - optimizeChunkModules: liteTapable.AsyncSeriesBailHook<[ - Iterable, - Iterable - ], void>; - finishModules: liteTapable.AsyncSeriesHook<[Iterable], void>; - chunkHash: liteTapable.SyncHook<[Chunk, Hash_2], void>; - chunkAsset: liteTapable.SyncHook<[Chunk, string], void>; - processWarnings: liteTapable.SyncWaterfallHook<[Error[]]>; - succeedModule: liteTapable.SyncHook<[Module], void>; - stillValidModule: liteTapable.SyncHook<[Module], void>; - statsPreset: liteTapable.HookMap, - CreateStatsOptionsContext - ], void>>; - statsNormalize: liteTapable.SyncHook<[ - Partial, - CreateStatsOptionsContext - ], void>; - statsFactory: liteTapable.SyncHook<[StatsFactory, StatsOptions], void>; - statsPrinter: liteTapable.SyncHook<[StatsPrinter, StatsOptions], void>; - buildModule: liteTapable.SyncHook<[Module]>; - executeModule: liteTapable.SyncHook<[ - ExecuteModuleArgument, - ExecuteModuleContext - ]>; - additionalTreeRuntimeRequirements: liteTapable.SyncHook<[ - Chunk, - Set - ], void>; - runtimeModule: RuntimeModule; - seal: liteTapable.SyncHook<[], void>; - afterSeal: liteTapable.AsyncSeriesHook<[], void>; - }>; - // (undocumented) - inputFileSystem: any; - // (undocumented) - logging: Map; - // (undocumented) - missingDependencies: { - [Symbol.iterator](): Generator; - has(dep: string): boolean; - add: (dep: string) => void; - addAll: (deps: Iterable) => void; - }; - // (undocumented) - get modules(): ReadonlySet; - // (undocumented) - name?: string; - get namedChunkGroups(): ReadonlyMap>; - get namedChunks(): ReadonlyMap>; - // (undocumented) - options: RspackOptionsNormalized; - // (undocumented) - outputOptions: OutputNormalized; - // (undocumented) - static PROCESS_ASSETS_STAGE_ADDITIONAL: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_ADDITIONS: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_ANALYSE: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_DERIVED: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_DEV_TOOLING: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_NONE: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE_HASH: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_PRE_PROCESS: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_REPORT: number; - // (undocumented) - static PROCESS_ASSETS_STAGE_SUMMARIZE: number; - // (undocumented) - rebuildModule(m: Module, f: (err: Error, m: Module) => void): void; - // (undocumented) - renameAsset(filename: string, newFilename: string): void; - // (undocumented) - resolverFactory: ResolverFactory; - // (undocumented) - seal(): void; - // (undocumented) - startTime?: number; - // (undocumented) - unseal(): void; - updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction?: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo)): void; - // (undocumented) - get warnings(): RspackError[]; -} - -// @public (undocumented) -type CompilationHooks = { - chunkHash: liteTapable.SyncHook<[Chunk, Hash_2]>; -}; - -// @public (undocumented) -export interface CompilationParams { - // (undocumented) - contextModuleFactory: ContextModuleFactory; - // (undocumented) - normalModuleFactory: NormalModuleFactory; -} - -// @public (undocumented) -export class Compiler { - constructor(context: string, options: RspackOptionsNormalized); - // @internal - get __internal__builtinPlugins(): binding.BuiltinPlugin[]; - // (undocumented) - __internal__getModuleExecutionResult(id: number): any; - // @internal - __internal__rebuild(modifiedFiles?: ReadonlySet, removedFiles?: ReadonlySet, callback?: (error: Error | null) => void): void; - // (undocumented) - __internal__registerBuiltinPlugin(plugin: binding.BuiltinPlugin): void; - // @internal - get __internal__ruleSet(): RuleSetCompiler; - // (undocumented) - cache: Cache_2; - // (undocumented) - close(callback: (error?: Error | null) => void): void; - // (undocumented) - compile(callback: liteTapable.Callback): void; - // (undocumented) - compilerPath: string; - // (undocumented) - context: string; - // (undocumented) - contextTimestamps?: ReadonlyMap; - // (undocumented) - createChildCompiler(compilation: Compilation, compilerName: string, compilerIndex: number, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler; - // (undocumented) - fileTimestamps?: ReadonlyMap; - // (undocumented) - fsStartTime?: number; - // (undocumented) - getCache(name: string): CacheFacade; - // (undocumented) - getInfrastructureLogger(name: string | (() => string)): Logger; - // (undocumented) - hooks: { - done: liteTapable.AsyncSeriesHook; - afterDone: liteTapable.SyncHook; - thisCompilation: liteTapable.SyncHook<[Compilation, CompilationParams]>; - compilation: liteTapable.SyncHook<[Compilation, CompilationParams]>; - invalid: liteTapable.SyncHook<[string | null, number]>; - compile: liteTapable.SyncHook<[CompilationParams]>; - normalModuleFactory: liteTapable.SyncHook; - contextModuleFactory: liteTapable.SyncHook; - initialize: liteTapable.SyncHook<[]>; - shouldEmit: liteTapable.SyncBailHook<[Compilation], boolean>; - infrastructureLog: liteTapable.SyncBailHook<[string, string, any[]], true>; - beforeRun: liteTapable.AsyncSeriesHook<[Compiler]>; - run: liteTapable.AsyncSeriesHook<[Compiler]>; - emit: liteTapable.AsyncSeriesHook<[Compilation]>; - assetEmitted: liteTapable.AsyncSeriesHook<[string, AssetEmittedInfo]>; - afterEmit: liteTapable.AsyncSeriesHook<[Compilation]>; - failed: liteTapable.SyncHook<[Error]>; - shutdown: liteTapable.AsyncSeriesHook<[]>; - watchRun: liteTapable.AsyncSeriesHook<[Compiler]>; - watchClose: liteTapable.SyncHook<[]>; - environment: liteTapable.SyncHook<[]>; - afterEnvironment: liteTapable.SyncHook<[]>; - afterPlugins: liteTapable.SyncHook<[Compiler]>; - afterResolvers: liteTapable.SyncHook<[Compiler]>; - make: liteTapable.AsyncParallelHook<[Compilation]>; - beforeCompile: liteTapable.AsyncSeriesHook<[CompilationParams]>; - afterCompile: liteTapable.AsyncSeriesHook<[Compilation]>; - finishMake: liteTapable.AsyncSeriesHook<[Compilation]>; - entryOption: liteTapable.SyncBailHook<[string, EntryNormalized], any>; - }; - // (undocumented) - idle: boolean; - // (undocumented) - get immutablePaths(): never; - // (undocumented) - infrastructureLogger: any; - // (undocumented) - inputFileSystem: any; - // (undocumented) - intermediateFileSystem: any; - // (undocumented) - isChild(): boolean; - // (undocumented) - get _lastCompilation(): Compilation | undefined; - // (undocumented) - get managedPaths(): never; - // (undocumented) - modifiedFiles?: ReadonlySet; - // (undocumented) - name?: string; - // (undocumented) - options: RspackOptionsNormalized; - // (undocumented) - outputFileSystem: OutputFileSystem | null; - // (undocumented) - outputPath: string; - // (undocumented) - parentCompilation?: Compilation; - // (undocumented) - purgeInputFileSystem(): void; - // (undocumented) - records: Record; - // (undocumented) - get recordsInputPath(): never; - // (undocumented) - get recordsOutputPath(): never; - // (undocumented) - removedFiles?: ReadonlySet; - // (undocumented) - resolverFactory: ResolverFactory; - // (undocumented) - root: Compiler; - // (undocumented) - rspack: typeof rspack; - // (undocumented) - run(callback: liteTapable.Callback): void; - // (undocumented) - runAsChild(callback: (err?: null | Error, entries?: Chunk[], compilation?: Compilation) => any): void; - // (undocumented) - running: boolean; - // (undocumented) - watch(watchOptions: Watchpack.WatchOptions, handler: liteTapable.Callback): Watching; - // (undocumented) - watchFileSystem: WatchFileSystem | null; - // (undocumented) - watching?: Watching; - // (undocumented) - watchMode: boolean; - // (undocumented) - webpack: typeof rspack; -} - -// @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; - -// @public (undocumented) -export type ConsumesConfig = { - eager?: boolean; - import?: false | ConsumesItem; - packageName?: string; - requiredVersion?: false | string; - shareKey?: string; - shareScope?: string; - singleton?: boolean; - 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; - shareScope?: string; - enhanced?: boolean; -}; - -// @public (undocumented) -export type ConsumesItem = string; - -// @public (undocumented) -export type ConsumesObject = { - [k: string]: ConsumesConfig | ConsumesItem; -}; - -// @public (undocumented) -export const container: { - ContainerPlugin: typeof ContainerPlugin; - ContainerReferencePlugin: typeof ContainerReferencePlugin; - ModuleFederationPlugin: typeof ModuleFederationPlugin; - ModuleFederationPluginV1: typeof ModuleFederationPluginV1; -}; - -// @public (undocumented) -class ContainerPlugin extends RspackBuiltinPlugin { - constructor(options: ContainerPluginOptions); - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - _options: { - name: string; - shareScope: string; - library: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | 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; - filename?: FilenameTemplate; - library?: LibraryOptions; - name: string; - runtime?: EntryRuntime; - shareScope?: string; - enhanced?: boolean; -}; - -// @public (undocumented) -class ContainerReferencePlugin extends RspackBuiltinPlugin { - constructor(options: ContainerReferencePluginOptions); - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - _options: { - remoteType: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs"; - remotes: [string, { - external: string[]; - shareScope: string; - }][]; - enhanced: boolean; - }; - // (undocumented) - raw(compiler: Compiler): BuiltinPlugin; -} - -// @public (undocumented) -export type ContainerReferencePluginOptions = { - remoteType: ExternalsType; - remotes: Remotes; - shareScope?: string; - enhanced?: boolean; -}; - -// @public (undocumented) -export type Context = z.infer; - -// @public (undocumented) -const context: z.ZodString; - -// @public (undocumented) -type ContextInfo = { - issuer: string; -}; - -// @public (undocumented) -class ContextModuleFactory { - constructor(); - // (undocumented) - hooks: { - beforeResolve: liteTapable.AsyncSeriesWaterfallHook<[ - ContextModuleFactoryBeforeResolveResult - ], ContextModuleFactoryBeforeResolveResult | void>; - afterResolve: liteTapable.AsyncSeriesWaterfallHook<[ - ContextModuleFactoryAfterResolveResult - ], ContextModuleFactoryAfterResolveResult | void>; - }; -} - -// @public (undocumented) -type ContextModuleFactoryAfterResolveResult = false | { - resource: string; - context: string; - request: string; - regExp?: RegExp; - dependencies: Array; -}; - -// @public (undocumented) -type ContextModuleFactoryBeforeResolveResult = false | { - context: string; - request?: string; -}; - -// @public (undocumented) -export const CopyRspackPlugin: { - new (copy: CopyRspackPluginOptions): { - name: BuiltinPluginName; - _args: [copy: CopyRspackPluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type CopyRspackPluginOptions = { - patterns: (string | ({ - from: string; - } & Partial))[]; -}; - -// @public (undocumented) -type CreateData = Partial; - -// @public (undocumented) -type CreateStatsOptionsContext = KnownCreateStatsOptionsContext & Record; - -// @public (undocumented) -export type CrossOriginLoading = z.infer; - -// @public (undocumented) -const crossOriginLoading: z.ZodUnion<[z.ZodLiteral, z.ZodEnum<["anonymous", "use-credentials"]>]>; - -// @public (undocumented) -export type CssAutoGeneratorOptions = z.infer; - -// @public (undocumented) -const cssAutoGeneratorOptions: z.ZodObject<{ - exportsConvention: z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; -}, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; -}>; - -// @public (undocumented) -export type CssAutoParserOptions = z.infer; - -// @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 interface CssExtractRspackLoaderOptions { - // (undocumented) - defaultExport?: boolean; - // (undocumented) - emit?: boolean; - // (undocumented) - esModule?: boolean; - // (undocumented) - layer?: boolean; - // (undocumented) - publicPath?: string | ((resourcePath: string, context: string) => string); -} - -// @public (undocumented) -export class CssExtractRspackPlugin { - constructor(options?: CssExtractRspackPluginOptions); - // (undocumented) - apply(compiler: Compiler): void; - // (undocumented) - static loader: string; - // (undocumented) - normalizeOptions(options: CssExtractRspackPluginOptions): RawCssExtractPluginOption; - // (undocumented) - options: CssExtractRspackPluginOptions; - // (undocumented) - static pluginName: string; -} - -// @public (undocumented) -export interface CssExtractRspackPluginOptions { - // (undocumented) - attributes?: Record; - // (undocumented) - chunkFilename?: RawCssExtractPluginOption["chunkFilename"]; - // (undocumented) - filename?: RawCssExtractPluginOption["filename"]; - // (undocumented) - ignoreOrder?: boolean; - // (undocumented) - insert?: string | ((linkTag: HTMLLinkElement) => void); - // (undocumented) - linkType?: string | "text/css" | false; - // (undocumented) - pathinfo?: boolean; - // (undocumented) - runtime?: boolean; -} - -// @public (undocumented) -export type CssFilename = z.infer; - -// @public (undocumented) -const cssFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; - -// @public (undocumented) -export type CssGeneratorEsModule = z.infer; - -// @public (undocumented) -const cssGeneratorEsModule: z.ZodBoolean; - -// @public (undocumented) -export type CssGeneratorExportsConvention = z.infer; - -// @public (undocumented) -const cssGeneratorExportsConvention: z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>; - -// @public (undocumented) -export type CssGeneratorExportsOnly = z.infer; - -// @public (undocumented) -const cssGeneratorExportsOnly: z.ZodBoolean; - -// @public (undocumented) -export type CssGeneratorLocalIdentName = z.infer; - -// @public (undocumented) -const cssGeneratorLocalIdentName: z.ZodString; - -// @public (undocumented) -export type CssGeneratorOptions = z.infer; - -// @public (undocumented) -const cssGeneratorOptions: z.ZodObject<{ - exportsOnly: z.ZodOptional; - esModule: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; -}, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; -}>; - -// @public (undocumented) -export type CssModuleGeneratorOptions = z.infer; - -// @public (undocumented) -const cssModuleGeneratorOptions: z.ZodObject<{ - exportsConvention: z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; -}, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; -}>; - -// @public (undocumented) -export type CssModuleParserOptions = z.infer; - -// @public (undocumented) -const cssModuleParserOptions: z.ZodObject<{ - namedExports: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - namedExports?: boolean | undefined; -}, { - namedExports?: boolean | undefined; -}>; - -// @public (undocumented) -export type CssParserNamedExports = z.infer; - -// @public (undocumented) -const cssParserNamedExports: z.ZodBoolean; - -// @public (undocumented) -export type CssParserOptions = z.infer; - -// @public (undocumented) -const cssParserOptions: z.ZodObject<{ - namedExports: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - namedExports?: boolean | undefined; -}, { - namedExports?: boolean | undefined; -}>; - -// @public (undocumented) -export const DefinePlugin: { - new (define: DefinePluginOptions): { - name: BuiltinPluginName; - _args: [define: DefinePluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type DefinePluginOptions = Record; - -// @public (undocumented) -export type Dependencies = z.infer; - -// @public (undocumented) -const dependencies: z.ZodArray; - -// @public (undocumented) -type DependencyLocation = any; - -// @public (undocumented) -export interface DevServer extends webpackDevServer.Configuration { -} - -// @public (undocumented) -export type DevTool = z.infer; - -// @public (undocumented) -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 DevtoolFallbackModuleFilenameTemplate = z.infer; - -// @public (undocumented) -const devtoolFallbackModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodAny>]>; - -// @public (undocumented) -export type DevtoolModuleFilenameTemplate = z.infer; - -// @public (undocumented) -const devtoolModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodAny>]>; - -// @public (undocumented) -export type DevtoolNamespace = z.infer; - -// @public (undocumented) -const devtoolNamespace: z.ZodString; - -// @public (undocumented) -class DirectoryWatcher extends EventEmitter { - constructor(directoryPath: string, options: Watchpack.WatcherOptions); - // (undocumented) - close(): void; - // (undocumented) - createNestedWatcher(directoryPath: string): void; - // (undocumented) - directories: { - [path: string]: Watcher_2 | true; - }; - // (undocumented) - doInitialScan(): void; - // (undocumented) - files: { - [path: string]: [number, number]; - }; - // (undocumented) - getTimes(): { - [path: string]: number; - }; - // (undocumented) - initialScan: boolean; - // (undocumented) - initialScanRemoved: string[]; - // (undocumented) - nestedWatching: boolean; - // (undocumented) - onChange(filePath: string, stat: fs.Stats): void; - // (undocumented) - onDirectoryAdded(directoryPath: string): void; - // (undocumented) - onDirectoryUnlinked(directoryPath: string): void; - // (undocumented) - onFileAdded(filePath: string, stat: fs.Stats): void; - // (undocumented) - onFileUnlinked(filePath: string): void; - // (undocumented) - onWatcherError(): void; - // (undocumented) - options: Watchpack.WatcherOptions; - // (undocumented) - path: string; - // (undocumented) - refs: number; - // (undocumented) - setDirectory(directoryPath: string, exist: boolean, initial: boolean): void; - // (undocumented) - setFileTime(filePath: string, mtime: number, initial: boolean, type?: string | boolean): void; - // (undocumented) - setNestedWatching(flag: boolean): void; - // (undocumented) - watch(filePath: string, startTime: number): Watcher_2; - // (undocumented) - watcher: fs.FSWatcher; - // (undocumented) - watchers: { - [path: string]: Watcher_2[]; - }; -} - -// @public (undocumented) -interface Drafts { - customMedia?: boolean; -} - -// @public (undocumented) -export class DynamicEntryPlugin extends RspackBuiltinPlugin { - constructor(context: string, entry: EntryDynamicNormalized); - // (undocumented) - affectedHooks: "make"; - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - raw(compiler: Compiler): BuiltinPlugin | undefined; -} - -// @public (undocumented) -interface Electron { - // (undocumented) - ElectronTargetPlugin: typeof ElectronTargetPlugin; -} - -// @public (undocumented) -export const electron: Electron; - -// @public (undocumented) -const ElectronTargetPlugin: { - new (context?: string | undefined): { - name: BuiltinPluginName; - _args: [context?: string | undefined]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -const EnableChunkLoadingPlugin: { - new (type: string): { - name: BuiltinPluginName; - _args: [type: string]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type EnabledChunkLoadingTypes = z.infer; - -// @public (undocumented) -const enabledChunkLoadingTypes: z.ZodArray, z.ZodString]>, "many">; - -// @public (undocumented) -export type EnabledLibraryTypes = z.infer; - -// @public (undocumented) -const enabledLibraryTypes: z.ZodArray, z.ZodString]>, "many">; - -// @public (undocumented) -export type EnabledWasmLoadingTypes = z.infer; - -// @public (undocumented) -const enabledWasmLoadingTypes: z.ZodArray, z.ZodString]>, "many">; - -// @public (undocumented) -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) -const EnableWasmLoadingPlugin: { - new (type: string): { - name: BuiltinPluginName; - _args: [type: string]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): 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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>]>; - -// @public (undocumented) -interface Entry_2 { - safeTime: number; - timestamp: number; -} - -// @public (undocumented) -type EntryData = binding.JsEntryData; - -// @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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}>; - -// @public (undocumented) -export interface EntryDescriptionNormalized { - // (undocumented) - asyncChunks?: AsyncChunks; - // (undocumented) - baseUri?: BaseUri; - // (undocumented) - chunkLoading?: ChunkLoading; - // (undocumented) - dependOn?: string[]; - // (undocumented) - filename?: EntryFilename; - // (undocumented) - import?: string[]; - // (undocumented) - layer?: Layer; - // (undocumented) - library?: LibraryOptions; - // (undocumented) - publicPath?: PublicPath; - // (undocumented) - runtime?: EntryRuntime; -} - -// @public (undocumented) -export type EntryDynamic = z.infer; - -// @public (undocumented) -const entryDynamic: z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>; - -// @public (undocumented) -export type EntryDynamicNormalized = () => Promise; - -// @public (undocumented) -export type EntryFilename = z.infer; - -// @public (undocumented) -const entryFilename: z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>; - -// @public (undocumented) -export type EntryItem = z.infer; - -// @public (undocumented) -const entryItem: z.ZodUnion<[z.ZodString, z.ZodArray]>; - -// @public (undocumented) -export type EntryNormalized = EntryDynamicNormalized | 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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | 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?: Filename; - library?: LibraryOptions; - layer?: Layer; - dependOn?: string[]; -}; - -// @public (undocumented) -export const EntryPlugin: { - new (context: string, entry: string, options?: string | EntryOptions | undefined): { - name: BuiltinPluginName; - _args: [context: string, entry: string, options?: string | EntryOptions | undefined]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): 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(): Readonly; -} - -// @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.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; -}, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | 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 (undocumented) -export type Environment = z.infer; - -// @public (undocumented) -const environment: z.ZodObject<{ - arrowFunction: z.ZodOptional; - asyncFunction: z.ZodOptional; - bigIntLiteral: z.ZodOptional; - const: z.ZodOptional; - destructuring: z.ZodOptional; - document: z.ZodOptional; - dynamicImport: z.ZodOptional; - dynamicImportInWorker: z.ZodOptional; - forOf: z.ZodOptional; - globalThis: z.ZodOptional; - module: z.ZodOptional; - nodePrefixForCoreModules: z.ZodOptional; - optionalChaining: z.ZodOptional; - templateLiteral: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; -}, { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; -}>; - -// @public (undocumented) -export class EnvironmentPlugin { - constructor(...keys: string[] | [Record | string]); - apply(compiler: Compiler): void; - // (undocumented) - defaultValues: Record; - // (undocumented) - keys: string[]; -} - -// @public (undocumented) -type ErrorWithDetail = Error & { - details?: string; -}; - -// @public (undocumented) -interface Es6Config extends BaseModuleConfig { - // (undocumented) - type: "es6"; -} - -// @public (undocumented) -interface Etag { - // (undocumented) - toString(): string; -} - -// @public (undocumented) -export const EvalDevToolModulePlugin: { - new (options: EvalDevToolModulePluginOptions): { - name: BuiltinPluginName; - _args: [options: EvalDevToolModulePluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -export { EvalDevToolModulePluginOptions } - -// @public (undocumented) -export const EvalSourceMapDevToolPlugin: { - new (options: SourceMapDevToolPluginOptions): { - name: BuiltinPluginName; - _args: [options: SourceMapDevToolPluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): 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; -} - -// @public (undocumented) -export type Experiments = z.infer; - -// @public (undocumented) -export const experiments: Experiments_2; - -// @public (undocumented) -interface Experiments_2 { - // (undocumented) - globalTrace: { - register: typeof registerGlobalTrace; - cleanup: typeof cleanupGlobalTrace; - }; -} - -// @public (undocumented) -const experiments_2: z.ZodObject<{ - lazyCompilation: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ - backend: z.ZodOptional; - listen: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ - port: z.ZodOptional; - host: z.ZodOptional; - backlog: z.ZodOptional; - path: z.ZodOptional; - exclusive: z.ZodOptional; - readableAll: z.ZodOptional; - writableAll: z.ZodOptional; - ipv6Only: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - }, { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - }>]>; - protocol: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - }, { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - }>>; - imports: z.ZodOptional; - entries: z.ZodOptional; - test: z.ZodOptional, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; - }, "strip", z.ZodTypeAny, { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - }, { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - }>]>; - asyncWebAssembly: z.ZodOptional; - outputModule: z.ZodOptional; - topLevelAwait: z.ZodOptional; - css: z.ZodOptional; - layers: z.ZodOptional; - futureDefaults: z.ZodOptional; - rspackFuture: z.ZodOptional; - bundler: z.ZodOptional; - force: z.ZodOptional, "many">]>>; - }, "strict", z.ZodTypeAny, { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - }, { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - }, { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - layers?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; -}, { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - layers?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; -}>; - -// @public (undocumented) -export interface ExperimentsNormalized { - // (undocumented) - asyncWebAssembly?: boolean; - // (undocumented) - css?: boolean; - // (undocumented) - futureDefaults?: boolean; - // (undocumented) - layers?: boolean; - // (undocumented) - lazyCompilation?: false | LazyCompilationOptions; - // (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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; -}, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; -}>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>]>; - -// @public (undocumented) -export class ExternalsPlugin extends RspackBuiltinPlugin { - constructor(type: string, externals: Externals); - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - raw(compiler: Compiler): BuiltinPlugin | undefined; -} - -// @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; - nwjs: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - node?: boolean | undefined; - web?: boolean | undefined; - nwjs?: boolean | undefined; - webAsync?: boolean | undefined; - electron?: boolean | undefined; - electronMain?: boolean | undefined; - electronPreload?: boolean | undefined; - electronRenderer?: boolean | undefined; -}, { - node?: boolean | undefined; - web?: boolean | undefined; - nwjs?: 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) -const FetchCompileAsyncWasmPlugin: { - new (): { - name: BuiltinPluginName; - _args: []; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @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) -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) -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, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, { - emit: z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }>, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, "strict", z.ZodTypeAny, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/resource": z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }>>; - css: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }>>; - "css/auto": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; - "css/module": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; -}, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | 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, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, { - emit: z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }>, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, "strict", z.ZodTypeAny, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/resource": z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }>>; - css: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }>>; - "css/auto": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; - "css/module": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; -}, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | 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 getRawLibrary(library: LibraryOptions): JsLibraryOptions; - -// @public (undocumented) -export const getRawOptions: (options: RspackOptionsNormalized, compiler: Compiler) => RawOptions; - -// @public (undocumented) -export function getRawResolve(resolve: Resolve): RawOptions["resolve"]; - -// @public (undocumented) -export type GlobalObject = z.infer; - -// @public (undocumented) -const globalObject: z.ZodString; - -// @public -interface GlobalPassOption { - envs?: string[] | Record; - typeofs?: Record; - vars?: Record; -} - -// @public (undocumented) -type GotHandler = (result: any | null, callback: (error: Error | null) => void) => void; - -// @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) -class Hash { - constructor(); - - digest(encoding?: string): string | Buffer; - - update(data: string | Buffer, inputEncoding?: string): Hash; -} - -// @public (undocumented) -class Hash_2 { - digest(encoding?: string): string | Buffer; - update(data: string | Buffer, inputEncoding?: string): this; -} - -// @public (undocumented) -interface HashableObject { - // (undocumented) - updateHash(hash: Hash_2): void; -} - -// @public (undocumented) -type HashConstructor = typeof Hash_2; - -// @public (undocumented) -export type HashDigest = z.infer; - -// @public (undocumented) -const hashDigest: z.ZodString; - -// @public (undocumented) -export type HashDigestLength = z.infer; - -// @public (undocumented) -const hashDigestLength: z.ZodNumber; - -// @public (undocumented) -export type HashFunction = z.infer; - -// @public (undocumented) -const hashFunction: z.ZodEnum<["md4", "xxhash64"]>; - -// @public (undocumented) -export type HashSalt = z.infer; - -// @public (undocumented) -const hashSalt: z.ZodString; - -// @public (undocumented) -type Hooks = Readonly<{ - extract: HookMap>; - filter: HookMap>; - filterSorted: HookMap>; - groupResults: HookMap>; - filterResults: HookMap>; - sort: HookMap number)[], - StatsFactoryContext - ], undefined>>; - sortResults: HookMap number)[], - StatsFactoryContext - ], undefined>>; - result: HookMap>; - merge: HookMap>; - getItemName: HookMap>; - getItemFactory: HookMap>; -}>; - -// @public (undocumented) -export class HotModuleReplacementPlugin extends RspackBuiltinPlugin { - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - raw(compiler: Compiler): BuiltinPlugin; -} - -// @public (undocumented) -export type HotUpdateChunkFilename = z.infer; - -// @public (undocumented) -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; - publicPath?: string | undefined; - chunks?: string[] | undefined; - template?: string | undefined; - templateContent?: string | undefined; - templateParameters?: Record | undefined; - inject?: boolean | "head" | "body" | undefined; - scriptLoading?: "module" | "blocking" | "defer" | undefined; - excludedChunks?: string[] | undefined; - sri?: "sha256" | "sha384" | "sha512" | undefined; - minify?: boolean | undefined; - title?: string | undefined; - favicon?: string | undefined; - meta?: Record> | undefined; - } | undefined): { - name: BuiltinPluginName; - _args: [c?: { - filename?: string | undefined; - publicPath?: string | undefined; - chunks?: string[] | undefined; - template?: string | undefined; - templateContent?: string | undefined; - templateParameters?: Record | undefined; - inject?: boolean | "head" | "body" | undefined; - scriptLoading?: "module" | "blocking" | "defer" | undefined; - excludedChunks?: string[] | undefined; - sri?: "sha256" | "sha384" | "sha512" | undefined; - minify?: boolean | undefined; - title?: string | undefined; - favicon?: string | undefined; - meta?: Record> | undefined; - } | undefined]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): 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; - publicPath?: string | undefined; - chunks?: string[] | undefined; - template?: string | undefined; - templateContent?: string | undefined; - templateParameters?: Record | undefined; - inject?: boolean | "head" | "body" | undefined; - scriptLoading?: "module" | "blocking" | "defer" | undefined; - excludedChunks?: string[] | undefined; - sri?: "sha256" | "sha384" | "sha512" | undefined; - minify?: boolean | undefined; - title?: string | undefined; - favicon?: string | undefined; - meta?: Record> | undefined; -}, { - filename?: string | undefined; - publicPath?: string | undefined; - chunks?: string[] | undefined; - template?: string | undefined; - templateContent?: string | undefined; - templateParameters?: Record | undefined; - inject?: boolean | "head" | "body" | undefined; - scriptLoading?: "module" | "blocking" | "defer" | undefined; - excludedChunks?: string[] | undefined; - sri?: "sha256" | "sha384" | "sha512" | undefined; - minify?: boolean | undefined; - title?: string | undefined; - favicon?: string | undefined; - meta?: Record> | undefined; -}>; - -// @public (undocumented) -interface IDirent { - // (undocumented) - isBlockDevice: () => boolean; - // (undocumented) - isCharacterDevice: () => boolean; - // (undocumented) - isDirectory: () => boolean; - // (undocumented) - isFIFO: () => boolean; - // (undocumented) - isFile: () => boolean; - // (undocumented) - isSocket: () => boolean; - // (undocumented) - isSymbolicLink: () => boolean; - // (undocumented) - name: string | Buffer; -} - -// @public (undocumented) -export const IgnorePlugin: { - new (options: IgnorePluginOptions): { - name: BuiltinPluginName; - _args: [options: IgnorePluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): 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) -export type ImportMetaName = z.infer; - -// @public (undocumented) -const importMetaName: z.ZodString; - -// @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, { - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - colors?: boolean | undefined; - appendOnly?: boolean | undefined; - console?: Console | undefined; - level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; - stream?: NodeJS.WritableStream | undefined; -}, { - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - colors?: boolean | undefined; - appendOnly?: boolean | undefined; - console?: Console | undefined; - level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; - stream?: NodeJS.WritableStream | undefined; -}>; - -// @public (undocumented) -interface IStats { - // (undocumented) - atime: Date; - // (undocumented) - atimeMs: number | bigint; - // (undocumented) - birthtime: Date; - // (undocumented) - birthtimeMs: number | bigint; - // (undocumented) - blksize: number | bigint; - // (undocumented) - blocks: number | bigint; - // (undocumented) - ctime: Date; - // (undocumented) - ctimeMs: number | bigint; - // (undocumented) - dev: number | bigint; - // (undocumented) - gid: number | bigint; - // (undocumented) - ino: number | bigint; - // (undocumented) - isBlockDevice: () => boolean; - // (undocumented) - isCharacterDevice: () => boolean; - // (undocumented) - isDirectory: () => boolean; - // (undocumented) - isFIFO: () => boolean; - // (undocumented) - isFile: () => boolean; - // (undocumented) - isSocket: () => boolean; - // (undocumented) - isSymbolicLink: () => boolean; - // (undocumented) - mode: number | bigint; - // (undocumented) - mtime: Date; - // (undocumented) - mtimeMs: number | bigint; - // (undocumented) - nlink: number | bigint; - // (undocumented) - rdev: number | bigint; - // (undocumented) - size: number | bigint; - // (undocumented) - uid: number | bigint; -} - -// @public (undocumented) -class ItemCacheFacade implements BaseCache { - constructor(cache: Cache_2, name: string, etag: Etag | null); - // (undocumented) - _cache: Cache_2; - // (undocumented) - _etag: Etag | null; - // (undocumented) - get(callback: CallbackCache): void; - // (undocumented) - getPromise(): Promise; - // (undocumented) - _name: string; - // (undocumented) - provide(computer: (callback: CallbackNormalErrorCache) => void, callback: CallbackNormalErrorCache): void; - // (undocumented) - providePromise(computer: () => Promise | T): Promise; - // (undocumented) - store(data: T, callback: CallbackCache): void; - // (undocumented) - storePromise(data: T): Promise; -} - -// @public (undocumented) -interface JavaScript { - // (undocumented) - EnableChunkLoadingPlugin: typeof EnableChunkLoadingPlugin; - // (undocumented) - JavascriptModulesPlugin: typeof JavascriptModulesPlugin; -} - -// @public (undocumented) -export const javascript: JavaScript; - -// @public (undocumented) -class JavascriptModulesPlugin extends RspackBuiltinPlugin { - // (undocumented) - affectedHooks: "compilation"; - // (undocumented) - static getCompilationHooks(compilation: Compilation): CompilationHooks; - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - raw(): BuiltinPlugin; -} - -// @public (undocumented) -export type JavascriptParserOptions = z.infer; - -// @public (undocumented) -const javascriptParserOptions: z.ZodObject<{ - dynamicImportMode: z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; -}, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; -}, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; -}>; - -// @public (undocumented) -type JscTarget = "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "esnext"; - -// @public (undocumented) -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) -interface KnownCreateStatsOptionsContext { - // (undocumented) - forToString?: boolean; -} - -// @public (undocumented) -interface KnownNormalizedStatsOptions { - // (undocumented) - assets: boolean; - // (undocumented) - assetsSort: string; - // (undocumented) - assetsSpace: number; - // (undocumented) - cachedAssets: boolean; - // (undocumented) - cachedModules: boolean; - // (undocumented) - chunkGroupAuxiliary: boolean; - // (undocumented) - chunkGroupChildren: boolean; - // (undocumented) - chunkGroupMaxAssets: number; - // (undocumented) - chunkGroups: boolean; - // (undocumented) - chunkModules: boolean; - // (undocumented) - chunkModulesSort: string; - // (undocumented) - chunkModulesSpace: number; - // (undocumented) - chunkRelations: boolean; - // (undocumented) - chunks: boolean; - // (undocumented) - chunksSort: string; - // (undocumented) - context: string; - // (undocumented) - dependentModules: boolean; - // (undocumented) - depth: boolean; - // (undocumented) - entrypoints: boolean | "auto"; - // (undocumented) - errors: boolean; - // (undocumented) - errorsCount: boolean; - // (undocumented) - excludeAssets: ((value: string, asset: StatsAsset) => boolean)[]; - // (undocumented) - excludeModules: ((name: string, module: StatsModule, type: "module" | "chunk" | "root-of-chunk" | "nested") => boolean)[]; - // (undocumented) - groupAssetsByEmitStatus: boolean; - // (undocumented) - groupAssetsByExtension: boolean; - // (undocumented) - groupAssetsByPath: boolean; - // (undocumented) - groupModulesByAttributes: boolean; - // (undocumented) - groupModulesByCacheStatus: boolean; - // (undocumented) - groupModulesByExtension: boolean; - // (undocumented) - groupModulesByLayer: boolean; - // (undocumented) - groupModulesByPath: boolean; - // (undocumented) - groupModulesByType: boolean; - // (undocumented) - hash: boolean; - // (undocumented) - ids: boolean; - // (undocumented) - logging: false | "none" | "error" | "warn" | "info" | "log" | "verbose"; - // (undocumented) - loggingDebug: ((value: string) => boolean)[]; - // (undocumented) - loggingTrace: boolean; - // (undocumented) - moduleAssets: boolean; - // (undocumented) - modules: boolean; - // (undocumented) - modulesSort: string; - // (undocumented) - modulesSpace: number; - // (undocumented) - nestedModules: boolean; - // (undocumented) - nestedModulesSort: string; - // (undocumented) - nestedModulesSpace: number; - // (undocumented) - optimizationBailout: boolean; - // (undocumented) - orphanModules: boolean; - // (undocumented) - providedExports: boolean; - // (undocumented) - reasons: boolean; - // (undocumented) - runtimeModules: boolean; - // (undocumented) - source: boolean; - // (undocumented) - usedExports: boolean; - // (undocumented) - warnings: boolean; - // (undocumented) - warningsCount: boolean; - // (undocumented) - warningsFilter: ((warning: StatsError, textValue: string) => boolean)[]; -} - -// @public (undocumented) -type KnownStatsAsset = Omit; - -// @public (undocumented) -type KnownStatsChunk = Omit & { - sizes: Record; - origins: StatsChunkOrigin[]; -}; - -// @public (undocumented) -type KnownStatsChunkOrigin = { - module: string; - moduleIdentifier: string; - moduleName: string; - loc: string; - request: string; - moduleId?: string; -}; - -// @public (undocumented) -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; -}; - -// @public (undocumented) -type KnownStatsFactoryContext = { - type: string; - makePathsRelative?: ((arg0: string) => string) | undefined; - compilation?: Compilation | undefined; - cachedGetErrors?: ((arg0: Compilation) => JsStatsError[]) | undefined; - cachedGetWarnings?: ((arg0: Compilation) => JsStatsWarning[]) | undefined; - getStatsCompilation: (compilation: Compilation) => JsStatsCompilation; - getInner: (compilation: Compilation) => JsStats; -}; - -// @public (undocumented) -type KnownStatsLogging = { - entries: StatsLoggingEntry[]; - filteredEntries: number; - debug: boolean; -}; - -// @public (undocumented) -type KnownStatsLoggingEntry = { - type: string; - message: string; - trace?: string[] | undefined; - children?: StatsLoggingEntry[] | undefined; - args?: any[] | undefined; - time?: number | undefined; -}; - -// @public (undocumented) -type KnownStatsModule = { - type: string; - moduleType: string; - layer?: string; - identifier?: string; - name?: string; - nameForCondition?: string; - index?: number; - index2?: number; - preOrderIndex?: number; - postOrderIndex?: number; - size: number; - sizes: Record; - cacheable?: boolean; - built: boolean; - codeGenerated: boolean; - buildTimeExecuted: boolean; - cached: boolean; - optional?: boolean; - orphan?: boolean; - id?: string; - issuerId?: string; - chunks?: string[]; - assets?: string[]; - dependent?: boolean; - issuer?: string; - issuerName?: string; - issuerPath?: StatsModuleIssuer[]; - failed?: boolean; - errors?: number; - warnings?: number; - profile?: StatsProfile; - reasons?: StatsModuleReason[]; - usedExports?: boolean | string[] | null; - providedExports?: string[] | null; - optimizationBailout?: string[] | null; - depth?: number; - modules?: StatsModule[]; - filteredModules?: number; - source?: string | Buffer; -}; - -// @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; - building: number; -}; - -// @public (undocumented) -export type Layer = z.infer; - -// @public (undocumented) -const layer: z.ZodUnion<[z.ZodString, z.ZodNull]>; - -// @public (undocumented) -export type LazyCompilationOptions = z.infer; - -// @public (undocumented) -const lazyCompilationOptions: z.ZodObject<{ - backend: z.ZodOptional; - listen: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ - port: z.ZodOptional; - host: z.ZodOptional; - backlog: z.ZodOptional; - path: z.ZodOptional; - exclusive: z.ZodOptional; - readableAll: z.ZodOptional; - writableAll: z.ZodOptional; - ipv6Only: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - }, { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - }>]>; - protocol: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - }, { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - }>>; - imports: z.ZodOptional; - entries: z.ZodOptional; - test: z.ZodOptional, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; -}, "strip", z.ZodTypeAny, { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; -}, { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; -}>; - -// @public (undocumented) -export type Library = z.infer; - -// @public (undocumented) -export const library: Library_2; - -// @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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; -}, { - commonjs?: string | undefined; - amd?: 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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; -}, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; -}>]>>; - -// @public (undocumented) -export type LibraryCustomUmdCommentObject = z.infer; - -// @public (undocumented) -const libraryCustomUmdCommentObject: z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; -}, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; -}>; - -// @public (undocumented) -export type LibraryCustomUmdObject = z.infer; - -// @public (undocumented) -const libraryCustomUmdObject: z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; -}, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; -}, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; -}>; - -// @public (undocumented) -export type LibraryExport = z.infer; - -// @public (undocumented) -const libraryExport: z.ZodUnion<[z.ZodString, z.ZodArray]>; - -// @public (undocumented) -export type LibraryName = z.infer; - -// @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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; -}, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; -}>]>; - -// @public (undocumented) -export type LibraryOptions = z.infer; - -// @public (undocumented) -const libraryOptions: z.ZodObject<{ - amdContainer: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; -}, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | 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) -export type LightningcssFeatureOptions = { - nesting?: boolean; - notSelectorList?: boolean; - dirSelector?: boolean; - langSelectorList?: boolean; - isSelector?: boolean; - textDecorationThicknessPercent?: boolean; - mediaIntervalSyntax?: boolean; - mediaRangeSyntax?: boolean; - customMediaQueries?: boolean; - clampFunction?: boolean; - colorFunction?: boolean; - oklabColors?: boolean; - labColors?: boolean; - p3Colors?: boolean; - hexAlphaColors?: boolean; - spaceSeparatedColorNotation?: boolean; - fontFamilySystemUi?: boolean; - doublePositionGradients?: boolean; - vendorPrefixes?: boolean; - logicalProperties?: boolean; - selectors?: boolean; - mediaQueries?: boolean; - color?: boolean; -}; - -// @public (undocumented) -export type LightningcssLoaderOptions = { - errorRecovery?: boolean; - targets?: Targets | string[] | string; - include?: LightningcssFeatureOptions; - exclude?: LightningcssFeatureOptions; - draft?: Drafts; - nonStandard?: NonStandard; - pseudoClasses?: PseudoClasses; - unusedSymbols?: string[]; -}; - -// @public (undocumented) -export const LightningCssMinimizerRspackPlugin: { - new (options?: LightningCssMinimizerRspackPluginOptions | undefined): { - name: BuiltinPluginName; - _args: [options?: LightningCssMinimizerRspackPluginOptions | undefined]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type LightningCssMinimizerRspackPluginOptions = { - test?: AssetConditions; - include?: AssetConditions; - exclude?: AssetConditions; - removeUnusedLocalIdents?: boolean; - minimizerOptions?: { - errorRecovery?: boolean; - targets?: Targets | string[] | string; - include?: LightningcssFeatureOptions; - exclude?: LightningcssFeatureOptions; - draft?: Drafts; - nonStandard?: NonStandard; - pseudoClasses?: PseudoClasses; - unusedSymbols?: string[]; - }; -}; - -// @public (undocumented) -type LimitChunkCountOptions = { - chunkOverhead?: number; - entryChunkMultiplicator?: number; - maxChunks: number; -}; - -// @public (undocumented) -const LimitChunkCountPlugin: { - new (options: LimitChunkCountOptions): { - name: BuiltinPluginName; - _args: [options: LimitChunkCountOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type Loader = z.infer; - -// @public (undocumented) -const loader: z.ZodRecord; - -// @public (undocumented) -export interface LoaderContext { - // (undocumented) - addBuildDependency(file: string): void; - // (undocumented) - addContextDependency(context: string): void; - // (undocumented) - addDependency(file: string): void; - // (undocumented) - addMissingDependency(missing: string): void; - // (undocumented) - async(): (err?: Error | null, content?: string | Buffer, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => void; - // (undocumented) - cacheable(cacheable?: boolean): void; - // (undocumented) - callback(err?: Error | null, content?: string | Buffer, sourceMap?: string | SourceMap, additionalData?: AdditionalData): void; - // (undocumented) - clearDependencies(): void; - // (undocumented) - _compilation: Compilation; - // (undocumented) - _compiler: Compiler; - // (undocumented) - context: string | null; - // (undocumented) - currentRequest: string; - // (undocumented) - data: unknown; - // (undocumented) - dependency(file: string): void; - // (undocumented) - emitError(error: Error): void; - // (undocumented) - emitFile(name: string, content: string | Buffer, sourceMap?: string, assetInfo?: JsAssetInfo): void; - // (undocumented) - emitWarning(warning: Error): void; - // (undocumented) - fs: any; - // (undocumented) - getContextDependencies(): string[]; - // (undocumented) - getDependencies(): string[]; - // (undocumented) - getLogger(name: string): Logger; - // (undocumented) - 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?: PublicPath; - baseUri?: string; - }, callback: (err?: Error, res?: any) => void): void; - // (undocumented) - loaderIndex: number; - loaders: LoaderObject[]; - // (undocumented) - mode?: Mode; - // (undocumented) - _module: Module; - // (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) - target?: Target; - // (undocumented) - utils: { - absolutify: (context: string, request: string) => string; - contextify: (context: string, request: string) => string; - createHash: (algorithm?: string) => Hash_2; - }; - // (undocumented) - version: 2; -} - -// @public (undocumented) -export type LoaderDefinition = LoaderDefinitionFunction & { - raw?: false; - pitch?: PitchLoaderDefinitionFunction; -}; - -// @public (undocumented) -export type LoaderDefinitionFunction = (this: LoaderContext & ContextAdditions, content: string, sourceMap?: string | SourceMap, additionalData?: AdditionalData) => string | void | Buffer | Promise; - -// @public (undocumented) -class LoaderObject { - constructor(loaderItem: JsLoaderItem, compiler: Compiler); - // (undocumented) - static __from_binding(loaderItem: JsLoaderItem, compiler: Compiler): LoaderObject; - // (undocumented) - static __to_binding(loader: LoaderObject): JsLoaderItem; - // (undocumented) - get data(): any; - set data(data: any); - // (undocumented) - fragment: string; - // (undocumented) - ident: string; - // (undocumented) - normal?: Function; - // (undocumented) - get normalExecuted(): boolean; - set normalExecuted(value: boolean); - // (undocumented) - options?: string | object; - // (undocumented) - path: string; - // (undocumented) - pitch?: Function; - // (undocumented) - get pitchExecuted(): boolean; - set pitchExecuted(value: boolean); - // (undocumented) - query: string; - // (undocumented) - raw?: boolean; - // (undocumented) - request: string; - // (undocumented) - shouldYield(): boolean; - // (undocumented) - type?: "module" | "commonjs"; -} - -// @public (undocumented) -export class LoaderOptionsPlugin { - constructor(options?: LoaderOptionsPluginOptions); - apply(compiler: Compiler): void; - // (undocumented) - options: LoaderOptionsPluginOptions; -} - -// @public (undocumented) -type LoaderOptionsPluginOptions = MatchObject & { - [key: string]: unknown; -}; - -// @public (undocumented) -export class LoaderTargetPlugin { - constructor(target: Target); - apply(compiler: Compiler): void; - // (undocumented) - readonly target: Target; -} - -// @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) - clear(): void; - // (undocumented) - debug(...args: string[]): void; - // (undocumented) - error(...args: any[]): void; - // (undocumented) - getChildLogger: GetChildLogger; - // (undocumented) - group(...args: any[]): void; - // (undocumented) - groupCollapsed(...args: any[]): void; - // (undocumented) - groupEnd(...args: any[]): void; - // (undocumented) - info(...args: any[]): void; - // (undocumented) - log(...args: any[]): void; - // (undocumented) - profile(label: any): void; - // (undocumented) - profileEnd(label: any): void; - // (undocumented) - status(...args: any[]): void; - // (undocumented) - time(label: any): void; - // (undocumented) - timeAggregate(label: any): void; - // (undocumented) - timeAggregateEnd(label: any): void; - // (undocumented) - timeEnd(label: any): void; - // (undocumented) - timeLog(label: any): void; - // (undocumented) - trace(): void; - // (undocumented) - 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) -type LogTypeEnum = (typeof LogType)[keyof typeof LogType]; - -// @public (undocumented) -type MapOptions = { columns?: boolean; module?: boolean }; - -// @public -type Matcher = string | RegExp | (string | RegExp)[]; - -// @public (undocumented) -interface MatchObject { - // (undocumented) - exclude?: Matcher; - // (undocumented) - include?: Matcher; - // (undocumented) - test?: Matcher; -} - -// @public -const matchObject: (obj: MatchObject, str: string) => boolean; - -// @public (undocumented) -const matchPart: (str: string, test: Matcher) => boolean; - -// @public (undocumented) -export type Mode = z.infer; - -// @public (undocumented) -const mode: z.ZodEnum<["development", "production", "none"]>; - -// @public (undocumented) -export class Module { - constructor(module: JsModule, compilation?: Compilation); - // (undocumented) - static __from_binding(module: JsModule, compilation?: Compilation): Module; - buildInfo: Record; - buildMeta: Record; - // (undocumented) - context?: Readonly; - // (undocumented) - factoryMeta?: Readonly; - // (undocumented) - identifier(): string; - // (undocumented) - layer: null | string; - // (undocumented) - nameForCondition(): string | null; - // (undocumented) - originalSource(): Source | null; - // (undocumented) - rawRequest?: Readonly; - // (undocumented) - request?: Readonly; - // (undocumented) - resource?: Readonly; - // (undocumented) - type: string; - // (undocumented) - userRequest?: Readonly; -} - -// @public (undocumented) -class ModuleFederationPlugin { - constructor(_options: ModuleFederationPluginOptions); - // (undocumented) - apply(compiler: Compiler): void; -} - -// @public (undocumented) -export interface ModuleFederationPluginOptions extends Omit { - // (undocumented) - implementation?: string; - // (undocumented) - runtimePlugins?: RuntimePlugins; -} - -// @public (undocumented) -class ModuleFederationPluginV1 { - constructor(_options: ModuleFederationPluginV1Options); - // (undocumented) - apply(compiler: Compiler): void; -} - -// @public (undocumented) -export interface ModuleFederationPluginV1Options { - // (undocumented) - enhanced?: boolean; - // (undocumented) - exposes?: Exposes; - // (undocumented) - filename?: string; - // (undocumented) - library?: LibraryOptions; - // (undocumented) - name: string; - // (undocumented) - remotes?: Remotes; - // (undocumented) - remoteType?: ExternalsType; - // (undocumented) - runtime?: EntryRuntime; - // (undocumented) - shared?: Shared; - // (undocumented) - shareScope?: string; -} - -declare namespace ModuleFilenameHelpers { - export { - asRegExp, - matchPart, - MatchObject, - matchObject - } -} -export { ModuleFilenameHelpers } - -// @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>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/auto": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/dynamic": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/esm": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - }, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - }>, z.ZodRecord>]>>; - generator: z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, { - emit: z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }>, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, "strict", z.ZodTypeAny, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/resource": z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }>>; - css: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }>>; - "css/auto": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; - "css/module": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - }, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - }>, z.ZodRecord>]>>; - noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; -}, "strict", z.ZodTypeAny, { - parser?: { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - } | Record> | undefined; - generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - } | undefined; - rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; -}, { - parser?: { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - } | Record> | undefined; - generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - } | undefined; - rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | 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) - defaultRules?: RuleSetRules; - // (undocumented) - generator: GeneratorOptionsByModuleType; - // (undocumented) - noParse?: NoParseOption; - // (undocumented) - parser: ParserOptionsByModuleType; - // (undocumented) - rules: RuleSetRules; -} - -// @public (undocumented) -type ModuleReplacer = (createData: ResolveData) => void; - -// @public (undocumented) -export class MultiCompiler { - constructor(compilers: Compiler[] | Record, options?: MultiCompilerOptions); - // (undocumented) - close(callback: liteTapable.Callback): void; - // (undocumented) - compilers: Compiler[]; - // (undocumented) - dependencies: WeakMap; - // (undocumented) - getInfrastructureLogger(name: string): Logger_2; - // (undocumented) - hooks: { - done: liteTapable.SyncHook; - invalid: liteTapable.MultiHook>; - run: liteTapable.MultiHook>; - watchClose: liteTapable.SyncHook<[]>; - watchRun: liteTapable.MultiHook>; - infrastructureLog: liteTapable.MultiHook>; - }; - // (undocumented) - get inputFileSystem(): void; - set inputFileSystem(value: void); - // (undocumented) - get intermediateFileSystem(): void; - set intermediateFileSystem(value: void); - // (undocumented) - get options(): RspackOptionsNormalized_2[] & MultiCompilerOptions; - // (undocumented) - _options: MultiCompilerOptions; - // (undocumented) - get outputFileSystem(): fs_2; - set outputFileSystem(value: fs_2); - // (undocumented) - get outputPath(): string; - // (undocumented) - purgeInputFileSystem(): void; - // (undocumented) - run(callback: liteTapable.Callback): void; - // (undocumented) - running: boolean; - // (undocumented) - setDependencies(compiler: Compiler, dependencies: string[]): void; - // (undocumented) - validateDependencies(callback: liteTapable.Callback): boolean; - // (undocumented) - watch(watchOptions: WatchOptions, handler: liteTapable.Callback): MultiWatching; - // (undocumented) - get watchFileSystem(): WatchFileSystem; - set watchFileSystem(value: WatchFileSystem); -} - -// @public (undocumented) -export interface MultiCompilerOptions { - parallelism?: number; -} - -// @public (undocumented) -export type MultiRspackOptions = ReadonlyArray & MultiCompilerOptions; - -// @public (undocumented) -export class MultiStats { - constructor(stats: Stats[]); - // (undocumented) - hasErrors(): boolean; - // (undocumented) - get hash(): string; - // (undocumented) - hasWarnings(): boolean; - // (undocumented) - stats: Stats[]; - // (undocumented) - toJson(options: any): StatsCompilation; - // (undocumented) - toString(options: any): string; -} - -// @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; - -// @public (undocumented) -const name_2: z.ZodString; - -// @public (undocumented) -export const node: Node_3; - -// @public (undocumented) -type Node_2 = z.infer; -export { Node_2 as Node } - -// @public (undocumented) -const node_2: z.ZodUnion<[z.ZodLiteral, z.ZodObject<{ - __dirname: z.ZodOptional]>>; - __filename: z.ZodOptional]>>; - global: z.ZodOptional]>>; -}, "strict", z.ZodTypeAny, { - global?: boolean | "warn" | undefined; - __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; -}>]>; - -// @public (undocumented) -interface Node_3 { - // (undocumented) - NodeEnvironmentPlugin: typeof NodeEnvironmentPlugin; - // (undocumented) - NodeTargetPlugin: typeof NodeTargetPlugin; - // (undocumented) - NodeTemplatePlugin: typeof NodeTemplatePlugin; -} - -// @public (undocumented) -class NodeEnvironmentPlugin { - constructor(options: NodeEnvironmentPluginOptions); - // (undocumented) - apply(compiler: Compiler): void; - // (undocumented) - options: NodeEnvironmentPluginOptions; -} - -// @public (undocumented) -interface NodeEnvironmentPluginOptions { - // (undocumented) - infrastructureLogging: InfrastructureLogging; -} - -// @public (undocumented) -interface NodeNextConfig extends BaseModuleConfig { - // (undocumented) - type: "nodenext"; -} - -// @public (undocumented) -export type NodeOptions = z.infer; - -// @public (undocumented) -const nodeOptions: z.ZodObject<{ - __dirname: z.ZodOptional]>>; - __filename: z.ZodOptional]>>; - global: z.ZodOptional]>>; -}, "strict", z.ZodTypeAny, { - global?: boolean | "warn" | undefined; - __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; -}>; - -// @public (undocumented) -const NodeTargetPlugin: { - new (): { - name: BuiltinPluginName; - _args: []; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): 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) -interface NonStandard { - deepSelectorCombinator?: 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) -type NormalizedStatsOptions = KnownNormalizedStatsOptions & Omit & Record; - -// @public (undocumented) -export class NormalModule { - // (undocumented) - static getCompilationHooks(compilation: Compilation): { - loader: liteTapable.SyncHook<[LoaderContext<{}>], void, { - _UnsetAdditionalOptions: true; - }>; - readResourceForScheme: any; - readResource: liteTapable.HookMap], string | Buffer, { - _UnsetAdditionalOptions: true; - }>>; - }; -} - -// @public (undocumented) -type NormalModuleCreateData = binding.JsNormalModuleFactoryCreateModuleArgs & { - settings: {}; -}; - -// @public (undocumented) -export class NormalModuleFactory { - constructor(); - // (undocumented) - hooks: { - resolveForScheme: liteTapable.HookMap>; - beforeResolve: liteTapable.AsyncSeriesBailHook<[ResolveData], false | void>; - factorize: liteTapable.AsyncSeriesBailHook<[ResolveData], void>; - resolve: liteTapable.AsyncSeriesBailHook<[ResolveData], void>; - afterResolve: liteTapable.AsyncSeriesBailHook<[ResolveData], false | void>; - createModule: liteTapable.AsyncSeriesBailHook<[ - NormalModuleCreateData, - {} - ], void>; - }; -} - -// @public (undocumented) -export class NormalModuleReplacementPlugin { - constructor(resourceRegExp: RegExp, newResource: string | ModuleReplacer); - apply(compiler: Compiler): void; - // (undocumented) - readonly newResource: string | ModuleReplacer; - // (undocumented) - readonly resourceRegExp: RegExp; -} - -// @public (undocumented) -export type Optimization = z.infer; - -// @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, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: 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" | "initial" | "all" | ((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" | "initial" | "all" | ((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, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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; - }, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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.ZodUnknown>, z.ZodString>]>>; - }, "strict", z.ZodTypeAny, { - name?: string | ((args_0: { - name: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - name?: string | ((args_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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" | "natural" | "deterministic" | undefined; - chunkIds?: "named" | "natural" | "deterministic" | undefined; - minimize?: boolean | undefined; - minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; - mergeDuplicateChunks?: boolean | undefined; - splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; - nodeEnv?: string | false | undefined; -}, { - moduleIds?: "named" | "natural" | "deterministic" | undefined; - chunkIds?: "named" | "natural" | "deterministic" | undefined; - minimize?: boolean | undefined; - minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; - mergeDuplicateChunks?: boolean | undefined; - splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | 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.ZodUnknown>, z.ZodString>]>>; -}, "strict", z.ZodTypeAny, { - name?: string | ((args_0: { - name: string; - }, ...args_1: unknown[]) => string) | undefined; -}, { - name?: string | ((args_0: { - name: string; - }, ...args_1: unknown[]) => string) | undefined; -}>]>; - -// @public (undocumented) -export type OptimizationRuntimeChunkNormalized = false | { - name: string | ((entrypoint: { - name: string; - }) => string); -}; - -// @public (undocumented) -export type OptimizationSplitChunksCacheGroup = z.infer; - -// @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, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; -}, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; -}>; - -// @public (undocumented) -export type OptimizationSplitChunksNameFunction = z.infer; - -// @public (undocumented) -const optimizationSplitChunksNameFunction: z.ZodFunction>], z.ZodUnknown>, z.ZodUnknown>; - -// @public (undocumented) -export type OptimizationSplitChunksOptions = z.infer; - -// @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, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: 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" | "initial" | "all" | ((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" | "initial" | "all" | ((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, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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; -}, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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; - // (undocumented) - RuntimeChunkPlugin: typeof RuntimeChunkPlugin; - // (undocumented) - SplitChunksPlugin: typeof SplitChunksPlugin; -} - -// @public (undocumented) -export const optimize: Optimize; - -// @public -type OptimizerConfig = { - simplify?: boolean; - globals?: GlobalPassOption; - jsonify?: { - minCost: number; - }; -}; - -// @public (undocumented) -export type Output = z.infer; - -// @public (undocumented) -const output: z.ZodObject<{ - path: z.ZodOptional; - pathinfo: z.ZodOptional]>>; - clean: z.ZodOptional; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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>]>>; - cssHeadDataCompression: z.ZodOptional; - cssChunkFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - hotUpdateMainFilename: z.ZodOptional; - hotUpdateChunkFilename: z.ZodOptional; - hotUpdateGlobal: z.ZodOptional; - assetModuleFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - 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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>]>>>; - libraryExport: z.ZodOptional]>>; - libraryTarget: z.ZodOptional, z.ZodString]>>; - umdNamedDefine: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - module: z.ZodOptional; - strictModuleExceptionHandling: z.ZodOptional; - strictModuleErrorHandling: z.ZodOptional; - globalObject: z.ZodOptional; - importFunctionName: z.ZodOptional; - importMetaName: 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>]>>; - chunkLoadTimeout: z.ZodOptional; - charset: z.ZodOptional; - environment: z.ZodOptional; - asyncFunction: z.ZodOptional; - bigIntLiteral: z.ZodOptional; - const: z.ZodOptional; - destructuring: z.ZodOptional; - document: z.ZodOptional; - dynamicImport: z.ZodOptional; - dynamicImportInWorker: z.ZodOptional; - forOf: z.ZodOptional; - globalThis: z.ZodOptional; - module: z.ZodOptional; - nodePrefixForCoreModules: z.ZodOptional; - optionalChaining: z.ZodOptional; - templateLiteral: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - }, { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - module?: boolean | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - path?: string | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - importMetaName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "xxhash64" | "md4" | undefined; - hashSalt?: string | 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; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; -}, { - module?: boolean | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - path?: string | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - importMetaName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "xxhash64" | "md4" | undefined; - hashSalt?: string | 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; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; -}>; - -// @public (undocumented) -export interface OutputFileSystem { - // (undocumented) - dirname?: (arg0: string) => string; - // (undocumented) - join?: (arg0: string, arg1: string) => string; - // (undocumented) - lstat?: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: IStats) => void) => void; - // (undocumented) - mkdir: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException) => void) => void; - // (undocumented) - readdir: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: (string | Buffer)[] | IDirent[]) => void) => void; - // (undocumented) - readFile: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: string | Buffer) => void) => void; - // (undocumented) - relative?: (arg0: string, arg1: string) => string; - // (undocumented) - rmdir: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException) => void) => void; - // (undocumented) - stat: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException, arg1?: IStats) => void) => void; - // (undocumented) - unlink: (arg0: string, arg1: (arg0?: null | NodeJS.ErrnoException) => void) => void; - // (undocumented) - writeFile: (arg0: string, arg1: string | Buffer, arg2: (arg0?: null | NodeJS.ErrnoException) => void) => void; -} - -// @public (undocumented) -export type OutputModule = z.infer; - -// @public (undocumented) -const outputModule: z.ZodBoolean; - -// @public (undocumented) -export interface OutputNormalized { - // (undocumented) - assetModuleFilename?: AssetModuleFilename; - // (undocumented) - asyncChunks?: boolean; - // (undocumented) - charset?: boolean; - // (undocumented) - chunkFilename?: ChunkFilename; - // (undocumented) - chunkFormat?: string | false; - // (undocumented) - chunkLoading?: string | false; - // (undocumented) - chunkLoadingGlobal?: ChunkLoadingGlobal; - // (undocumented) - chunkLoadTimeout?: number; - // (undocumented) - clean?: Clean; - // (undocumented) - crossOriginLoading?: CrossOriginLoading; - // (undocumented) - cssChunkFilename?: CssChunkFilename; - // (undocumented) - cssFilename?: CssFilename; - // (undocumented) - cssHeadDataCompression?: boolean; - // (undocumented) - devtoolFallbackModuleFilenameTemplate?: DevtoolFallbackModuleFilenameTemplate; - // (undocumented) - devtoolModuleFilenameTemplate?: DevtoolModuleFilenameTemplate; - // (undocumented) - devtoolNamespace?: DevtoolNamespace; - // (undocumented) - enabledChunkLoadingTypes?: string[]; - // (undocumented) - enabledLibraryTypes?: EnabledLibraryTypes; - // (undocumented) - enabledWasmLoadingTypes?: EnabledWasmLoadingTypes; - // (undocumented) - environment?: Environment; - // (undocumented) - filename?: Filename; - // (undocumented) - globalObject?: GlobalObject; - // (undocumented) - hashDigest?: HashDigest; - // (undocumented) - hashDigestLength?: HashDigestLength; - // (undocumented) - hashFunction?: HashFunction; - // (undocumented) - hashSalt?: HashSalt; - // (undocumented) - hotUpdateChunkFilename?: HotUpdateChunkFilename; - // (undocumented) - hotUpdateGlobal?: HotUpdateGlobal; - // (undocumented) - hotUpdateMainFilename?: HotUpdateMainFilename; - // (undocumented) - iife?: Iife; - // (undocumented) - importFunctionName?: ImportFunctionName; - // (undocumented) - importMetaName?: ImportMetaName; - // (undocumented) - library?: LibraryOptions; - // (undocumented) - module?: OutputModule; - // (undocumented) - path?: Path; - // (undocumented) - pathinfo?: boolean | "verbose"; - // (undocumented) - publicPath?: PublicPath; - // (undocumented) - scriptType?: ScriptType; - // (undocumented) - sourceMapFilename?: SourceMapFilename; - // (undocumented) - 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) -interface ParsedIdentifier { - // (undocumented) - directory: boolean; - // (undocumented) - file: boolean; - // (undocumented) - fragment: string; - // (undocumented) - internal: boolean; - // (undocumented) - module: boolean; - // (undocumented) - query: string; - // (undocumented) - request: string; -} - -// @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>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/auto": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/dynamic": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/esm": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; -}, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | 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>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/auto": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/dynamic": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/esm": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; -}, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | 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) -export type Pathinfo = z.infer; - -// @public (undocumented) -const pathinfo: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>; - -// @public (undocumented) -type Performance_2 = z.infer; -export { Performance_2 as Performance } - -// @public (undocumented) -const performance_2: z.ZodUnion<[z.ZodObject<{ - assetFilter: z.ZodOptional, z.ZodBoolean>>; - hints: z.ZodOptional, z.ZodLiteral]>>; - maxAssetSize: z.ZodOptional; - maxEntrypointSize: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; -}, { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; -}>, z.ZodLiteral]>; - -// @public (undocumented) -type PitchLoaderDefinitionFunction = (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) -export type Plugins = z.infer; - -// @public (undocumented) -const plugins: z.ZodArray, z.ZodType, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">; - -// @public (undocumented) -type PrintedElement = { - element: string; - content: string; -}; - -// @public (undocumented) -export type Profile = z.infer; - -// @public (undocumented) -const profile: z.ZodBoolean; - -// @public (undocumented) -export const ProgressPlugin: { - new (progress?: ProgressPluginArgument): { - name: BuiltinPluginName; - _args: [progress?: ProgressPluginArgument]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type ProgressPluginArgument = Partial | undefined; - -// @public (undocumented) -export const ProvidePlugin: { - new (provide: ProvidePluginOptions): { - name: BuiltinPluginName; - _args: [provide: ProvidePluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type ProvidePluginOptions = Record; - -// @public (undocumented) -export type Provides = (ProvidesItem | ProvidesObject)[] | ProvidesObject; - -// @public (undocumented) -export type ProvidesConfig = Enhanced extends true ? ProvidesEnhancedConfig : ProvidesV1Config; - -// @public (undocumented) -type ProvidesEnhancedConfig = ProvidesV1Config & ProvidesEnhancedExtraConfig; - -// @public (undocumented) -type ProvidesEnhancedExtraConfig = { - singleton?: boolean; - strictVersion?: boolean; - requiredVersion?: false | string; -}; - -// @public (undocumented) -class ProvideSharedPlugin extends RspackBuiltinPlugin { - constructor(options: ProvideSharedPluginOptions); - // (undocumented) - _enhanced?: Enhanced; - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - _provides: [string, Omit][]; - // (undocumented) - raw(compiler: Compiler): BuiltinPlugin; -} - -// @public (undocumented) -export type ProvideSharedPluginOptions = { - provides: Provides; - shareScope?: string; - enhanced?: Enhanced; -}; - -// @public (undocumented) -export type ProvidesItem = string; - -// @public (undocumented) -export type ProvidesObject = { - [k: string]: ProvidesConfig | ProvidesItem; -}; - -// @public (undocumented) -type ProvidesV1Config = { - eager?: boolean; - shareKey: string; - shareScope?: string; - version?: false | string; -}; - -// @public (undocumented) -interface PseudoClasses { - // (undocumented) - active?: string; - // (undocumented) - focus?: string; - // (undocumented) - focusVisible?: string; - // (undocumented) - focusWithin?: string; - // (undocumented) - hover?: string; -} - -// @public (undocumented) -export type PublicPath = z.infer; - -// @public (undocumented) -const publicPath: z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>; - -// @public (undocumented) -type RawReactOptions = { - runtime?: "automatic" | "classic"; - importSource?: string; - pragma?: string; - pragmaFrag?: string; - throwIfNamespace?: boolean; - development?: boolean; - useBuiltins?: boolean; - useSpread?: boolean; - refresh?: boolean; -}; - -// @public (undocumented) -type RawSourceMap = { - version: number; - sources: string[]; - names: string[]; - sourceRoot?: string; - sourcesContent?: string[]; - mappings: string; - file: string; -}; - -// @public (undocumented) -type ReactOptions = RawReactOptions | undefined; - -// @public (undocumented) -type RecursiveArrayOrRecord = { - [index: string]: RecursiveArrayOrRecord; -} | Array> | T; - -// @public (undocumented) -export type Remotes = (RemotesItem | RemotesObject)[] | RemotesObject; - -// @public (undocumented) -export type RemotesConfig = { - external: RemotesItem | RemotesItems; - shareScope?: string; -}; - -// @public (undocumented) -export type RemotesItem = string; - -// @public (undocumented) -export type RemotesItems = RemotesItem[]; - -// @public (undocumented) -export type RemotesObject = { - [k: string]: RemotesConfig | RemotesItem | RemotesItems; -}; - -// @public (undocumented) -export type Resolve = z.infer; - -// @public (undocumented) -export type ResolveAlias = z.infer; - -// @public (undocumented) -const resolveAlias: z.ZodRecord, z.ZodString]>, z.ZodArray]>, "many">]>>; - -// @public (undocumented) -type ResolveContext = {}; - -// @public (undocumented) -type ResolveData = { - contextInfo: ContextInfo; - context: string; - request: string; - fileDependencies: string[]; - missingDependencies: string[]; - contextDependencies: string[]; - createData?: CreateData; -}; - -// @public (undocumented) -export type ResolveOptions = z.infer & { - byDependency?: Record; -}; - -// @public (undocumented) -const resolveOptions: z.ZodType; - -// @public (undocumented) -type ResolveOptionsWithDependencyType = Resolve & { - dependencyCategory?: string; - resolveToContext?: boolean; -}; - -// @public (undocumented) -type ResolveOptionsWithDependencyType_2 = Resolve & { - dependencyCategory?: string; - resolveToContext?: boolean; -}; - -// @public (undocumented) -class Resolver { - constructor(binding: binding.JsResolver); - // (undocumented) - binding: binding.JsResolver; - // (undocumented) - resolve(context: object, path: string, request: string, resolveContext: ResolveContext, callback: (err: null | ErrorWithDetail, res?: string | false) => void): void; - // (undocumented) - resolveSync(context: object, path: string, request: string): string | false; - // (undocumented) - withOptions({ dependencyCategory, resolveToContext, ...resolve }: ResolveOptionsWithDependencyType_2): Resolver; -} - -// @public (undocumented) -type ResolveRequest = BaseResolveRequest & Partial; - -// @public (undocumented) -class ResolverFactory { - constructor(); - // (undocumented) - static __to_binding(resolver_factory: ResolverFactory): binding.JsResolverFactory; - // (undocumented) - get(type: string, resolveOptions?: ResolveOptionsWithDependencyType): Resolver; -} - -// @public (undocumented) -export type ResolveTsConfig = z.infer; - -// @public (undocumented) -const resolveTsConfig: z.ZodUnion<[z.ZodString, 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; - -// @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): null | MultiCompiler; - -// @public (undocumented) -function rspack_2(options: RspackOptions, callback?: Callback): null | Compiler; - -// @public (undocumented) -function rspack_2(options: MultiRspackOptions | RspackOptions, callback?: Callback): 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; -} - -// @public (undocumented) -type RspackError = binding.JsRspackError; - -declare namespace rspackExports { - export { - rspackVersion, - version, - Asset, - AssetInfo, - Assets, - CompilationParams, - LogEntry, - Compilation, - Compiler, - MultiCompilerOptions, - MultiRspackOptions, - MultiCompiler, - RspackOptionsApply, - RspackOptionsApply as WebpackOptionsApply, - Chunk, - ChunkGroup, - Module, - MultiStats, - NormalModule, - NormalModuleFactory, - RuntimeGlobals, - StatsAsset, - StatsChunk, - StatsCompilation, - StatsError, - StatsModule, - StatsWarnings, - Stats, - ModuleFilenameHelpers, - Template, - WebpackError, - Watching, - sources, - config, - util, - EntryOptionPlugin, - OutputFileSystem, - BannerPluginArgument, - ProvidePluginOptions, - DefinePluginOptions, - ProgressPluginArgument, - EntryOptions, - BannerPlugin, - IgnorePlugin, - IgnorePluginOptions, - ProvidePlugin, - DefinePlugin, - ProgressPlugin, - EntryPlugin, - DynamicEntryPlugin, - ExternalsPlugin, - HotModuleReplacementPlugin, - EnvironmentPlugin, - LoaderOptionsPlugin, - LoaderTargetPlugin, - NormalModuleReplacementPlugin, - web, - node, - electron, - library, - wasm, - javascript, - webworker, - optimize, - ModuleFederationPluginOptions, - ModuleFederationPluginV1Options, - ContainerPluginOptions, - Exposes, - ExposesConfig, - ExposesItem, - ExposesItems, - ExposesObject, - ContainerReferencePluginOptions, - Remotes, - RemotesConfig, - RemotesItem, - RemotesItems, - RemotesObject, - container, - Consumes, - ConsumesConfig, - ConsumeSharedPluginOptions, - ConsumesItem, - ConsumesObject, - Provides, - ProvidesConfig, - ProvideSharedPluginOptions, - ProvidesItem, - ProvidesObject, - Shared, - SharedConfig, - SharedItem, - SharedObject, - SharePluginOptions, - sharing, - HtmlRspackPluginOptions, - SwcJsMinimizerRspackPluginOptions, - LightningCssMinimizerRspackPluginOptions, - CopyRspackPluginOptions, - SourceMapDevToolPluginOptions, - EvalDevToolModulePluginOptions, - CssExtractRspackLoaderOptions, - CssExtractRspackPluginOptions, - HtmlRspackPlugin, - SwcJsMinimizerRspackPlugin, - SwcCssMinimizerRspackPlugin, - LightningCssMinimizerRspackPlugin, - CopyRspackPlugin, - SourceMapDevToolPlugin, - EvalSourceMapDevToolPlugin, - EvalDevToolModulePlugin, - CssExtractRspackPlugin, - SwcLoaderEnvConfig, - SwcLoaderEsParserConfig, - SwcLoaderJscConfig, - SwcLoaderModuleConfig, - SwcLoaderOptions, - SwcLoaderParserConfig, - SwcLoaderTransformConfig, - SwcLoaderTsParserConfig, - LightningcssLoaderOptions, - LightningcssFeatureOptions, - experiments, - getRawResolve, - getRawLibrary, - getRawChunkLoading, - LoaderContext, - LoaderDefinition, - LoaderDefinitionFunction, - getRawOptions, - applyRspackOptionsDefaults, - applyRspackOptionsBaseDefaults, - getNormalizedRspackOptions, - EntryDynamicNormalized, - EntryNormalized, - EntryStaticNormalized, - EntryDescriptionNormalized, - OutputNormalized, - ModuleOptionsNormalized, - ExperimentsNormalized, - IgnoreWarningsNormalized, - OptimizationRuntimeChunkNormalized, - RspackOptionsNormalized, - FilenameTemplate, - Filename, - Name, - Dependencies, - Context, - Mode, - Falsy, - PublicPath, - BaseUri, - ChunkLoadingType, - ChunkLoading, - AsyncChunks, - WasmLoadingType, - WasmLoading, - ScriptType, - LibraryCustomUmdObject, - LibraryName, - LibraryCustomUmdCommentObject, - AmdContainer, - AuxiliaryComment, - LibraryExport, - LibraryType, - UmdNamedDefine, - LibraryOptions, - Library, - Layer, - EntryFilename, - EntryRuntime, - EntryItem, - EntryDependOn, - EntryDescription, - EntryUnnamed, - EntryObject, - EntryStatic, - EntryDynamic, - Entry, - Path, - Pathinfo, - AssetModuleFilename, - WebassemblyModuleFilename, - ChunkFilename, - CrossOriginLoading, - CssFilename, - CssChunkFilename, - HotUpdateChunkFilename, - HotUpdateMainFilename, - HotUpdateGlobal, - UniqueName, - ChunkLoadingGlobal, - EnabledLibraryTypes, - Clean, - OutputModule, - StrictModuleExceptionHandling, - StrictModuleErrorHandling, - GlobalObject, - EnabledWasmLoadingTypes, - ImportFunctionName, - ImportMetaName, - Iife, - EnabledChunkLoadingTypes, - ChunkFormat, - WorkerPublicPath, - TrustedTypes, - HashDigest, - HashDigestLength, - HashFunction, - HashSalt, - SourceMapFilename, - DevtoolNamespace, - DevtoolModuleFilenameTemplate, - DevtoolFallbackModuleFilenameTemplate, - Environment, - 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, - CssGeneratorEsModule, - 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, - Loader, - SnapshotOptions, - CacheOptions, - StatsOptions, - StatsValue, - RspackPluginInstance, - RspackPluginFunction, - Plugins, - OptimizationRuntimeChunk, - OptimizationSplitChunksNameFunction, - OptimizationSplitChunksCacheGroup, - OptimizationSplitChunksOptions, - Optimization, - RspackFutureOptions, - LazyCompilationOptions, - Experiments, - Watch, - WatchOptions, - DevServer, - IgnoreWarnings, - Profile, - Bail, - Performance_2 as Performance, - rspackOptions, - RspackOptions, - Configuration - } -} - -// @public (undocumented) -export type RspackFutureOptions = z.infer; - -// @public (undocumented) -const rspackFutureOptions: z.ZodObject<{ - bundlerInfo: z.ZodOptional; - bundler: z.ZodOptional; - force: z.ZodOptional, "many">]>>; - }, "strict", z.ZodTypeAny, { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - }, { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - }>>; -}, "strict", z.ZodTypeAny, { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; -}, { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; -}>; - -// @public (undocumented) -export type RspackOptions = z.infer; - -// @public (undocumented) -export const rspackOptions: z.ZodObject<{ - name: z.ZodOptional; - dependencies: z.ZodOptional>; - entry: z.ZodOptional]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ - import: z.ZodUnion<[z.ZodString, z.ZodArray]>; - runtime: z.ZodOptional, z.ZodString]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - library: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>>; - dependOn: z.ZodOptional]>>; - layer: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }, { - import: string | string[]; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>]>>; - output: z.ZodOptional; - pathinfo: z.ZodOptional]>>; - clean: z.ZodOptional; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, 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>]>>; - cssHeadDataCompression: z.ZodOptional; - cssChunkFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - hotUpdateMainFilename: z.ZodOptional; - hotUpdateChunkFilename: z.ZodOptional; - hotUpdateGlobal: z.ZodOptional; - assetModuleFilename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - 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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - export: z.ZodOptional]>>; - name: z.ZodOptional]>, z.ZodObject<{ - amd: z.ZodOptional; - commonjs: z.ZodOptional; - root: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - }, { - commonjs?: string | undefined; - amd?: 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; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }, { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - }>]>>>; - libraryExport: z.ZodOptional]>>; - libraryTarget: z.ZodOptional, z.ZodString]>>; - umdNamedDefine: z.ZodOptional; - auxiliaryComment: z.ZodOptional; - commonjs: z.ZodOptional; - commonjs2: z.ZodOptional; - root: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }, { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - }>]>>; - module: z.ZodOptional; - strictModuleExceptionHandling: z.ZodOptional; - strictModuleErrorHandling: z.ZodOptional; - globalObject: z.ZodOptional; - importFunctionName: z.ZodOptional; - importMetaName: 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>]>>; - chunkLoadTimeout: z.ZodOptional; - charset: z.ZodOptional; - environment: z.ZodOptional; - asyncFunction: z.ZodOptional; - bigIntLiteral: z.ZodOptional; - const: z.ZodOptional; - destructuring: z.ZodOptional; - document: z.ZodOptional; - dynamicImport: z.ZodOptional; - dynamicImportInWorker: z.ZodOptional; - forOf: z.ZodOptional; - globalThis: z.ZodOptional; - module: z.ZodOptional; - nodePrefixForCoreModules: z.ZodOptional; - optionalChaining: z.ZodOptional; - templateLiteral: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - }, { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - module?: boolean | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - path?: string | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - importMetaName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "xxhash64" | "md4" | undefined; - hashSalt?: string | 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; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; - }, { - module?: boolean | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - path?: string | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - importMetaName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "xxhash64" | "md4" | undefined; - hashSalt?: string | 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; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; - }>>; - target: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>>; - mode: z.ZodOptional>; - experiments: z.ZodOptional, z.ZodObject<{ - backend: z.ZodOptional; - listen: z.ZodUnion<[z.ZodOptional, z.ZodObject<{ - port: z.ZodOptional; - host: z.ZodOptional; - backlog: z.ZodOptional; - path: z.ZodOptional; - exclusive: z.ZodOptional; - readableAll: z.ZodOptional; - writableAll: z.ZodOptional; - ipv6Only: z.ZodOptional; - }, "strip", z.ZodTypeAny, { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - }, { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - }>]>; - protocol: z.ZodOptional>; - }, "strip", z.ZodTypeAny, { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - }, { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - }>>; - imports: z.ZodOptional; - entries: z.ZodOptional; - test: z.ZodOptional, z.ZodFunction], z.ZodUnknown>, z.ZodBoolean>]>>; - }, "strip", z.ZodTypeAny, { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - }, { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - }>]>; - asyncWebAssembly: z.ZodOptional; - outputModule: z.ZodOptional; - topLevelAwait: z.ZodOptional; - css: z.ZodOptional; - layers: z.ZodOptional; - futureDefaults: z.ZodOptional; - rspackFuture: z.ZodOptional; - bundler: z.ZodOptional; - force: z.ZodOptional, "many">]>>; - }, "strict", z.ZodTypeAny, { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - }, { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - }, { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - layers?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; - }, { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - layers?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; - }>>; - externals: z.ZodOptional]>, z.ZodRecord, z.ZodArray]>, z.ZodRecord]>>]>>]>, z.ZodFunction; - dependencyType: z.ZodOptional; - request: z.ZodOptional; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; - }, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; - }, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; - }, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | 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; - contextInfo: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - issuer: string; - issuerLayer: string | null; - }, { - issuer: string; - issuerLayer: string | null; - }>>; - getResolve: z.ZodOptional, z.ZodFunction, z.ZodUnknown>>], z.ZodUnknown>, z.ZodUnknown>>>; - }, "strict", z.ZodTypeAny, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }>], z.ZodUnknown>, z.ZodPromise, z.ZodArray]>, z.ZodRecord]>>]>>>]>]>>; - externalsType: z.ZodOptional>; - externalsPresets: z.ZodOptional; - web: z.ZodOptional; - webAsync: z.ZodOptional; - electron: z.ZodOptional; - electronMain: z.ZodOptional; - electronPreload: z.ZodOptional; - electronRenderer: z.ZodOptional; - nwjs: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - node?: boolean | undefined; - web?: boolean | undefined; - nwjs?: boolean | undefined; - webAsync?: boolean | undefined; - electron?: boolean | undefined; - electronMain?: boolean | undefined; - electronPreload?: boolean | undefined; - electronRenderer?: boolean | undefined; - }, { - node?: boolean | undefined; - web?: boolean | undefined; - nwjs?: boolean | undefined; - webAsync?: boolean | undefined; - electron?: boolean | undefined; - electronMain?: boolean | undefined; - electronPreload?: boolean | undefined; - electronRenderer?: boolean | undefined; - }>>; - infrastructureLogging: 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, { - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - colors?: boolean | undefined; - appendOnly?: boolean | undefined; - console?: Console | undefined; - level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; - stream?: NodeJS.WritableStream | undefined; - }, { - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - colors?: boolean | undefined; - appendOnly?: boolean | undefined; - console?: Console | undefined; - level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; - stream?: NodeJS.WritableStream | undefined; - }>>; - cache: z.ZodOptional; - context: z.ZodOptional; - devtool: z.ZodOptional, 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"]>]>>; - node: z.ZodOptional, z.ZodObject<{ - __dirname: z.ZodOptional]>>; - __filename: z.ZodOptional]>>; - global: z.ZodOptional]>>; - }, "strict", z.ZodTypeAny, { - global?: boolean | "warn" | undefined; - __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; - }>]>>; - loader: z.ZodOptional>; - ignoreWarnings: z.ZodOptional, z.ZodFunction, z.ZodType], z.ZodUnknown>, z.ZodBoolean>]>, "many">>; - watchOptions: 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; - }>>; - watch: z.ZodOptional; - stats: z.ZodOptional]>, 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; - 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; - groupModulesByType: z.ZodOptional; - groupModulesByCacheStatus: z.ZodOptional; - groupModulesByLayer: z.ZodOptional; - groupModulesByAttributes: z.ZodOptional; - groupModulesByPath: z.ZodOptional; - groupModulesByExtension: z.ZodOptional; - modulesSpace: z.ZodOptional; - chunkModulesSpace: z.ZodOptional; - nestedModulesSpace: z.ZodOptional; - relatedAssets: z.ZodOptional; - groupAssetsByEmitStatus: z.ZodOptional; - groupAssetsByInfo: z.ZodOptional; - groupAssetsByPath: z.ZodOptional; - groupAssetsByExtension: z.ZodOptional; - groupAssetsByChunk: z.ZodOptional; - assetsSpace: z.ZodOptional; - orphanModules: z.ZodOptional; - excludeModules: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodBoolean]>>; - excludeAssets: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>>; - modulesSort: z.ZodOptional; - chunkModulesSort: z.ZodOptional; - nestedModulesSort: z.ZodOptional; - chunksSort: z.ZodOptional; - assetsSort: z.ZodOptional; - performance: z.ZodOptional; - env: z.ZodOptional; - chunkGroupAuxiliary: z.ZodOptional; - chunkGroupChildren: z.ZodOptional; - chunkGroupMaxAssets: z.ZodOptional; - dependentModules: z.ZodOptional; - chunkOrigins: z.ZodOptional; - runtime: z.ZodOptional; - depth: z.ZodOptional; - reasonsSpace: z.ZodOptional; - groupReasonsByOrigin: z.ZodOptional; - errorDetails: z.ZodOptional; - errorStack: z.ZodOptional; - moduleTrace: z.ZodOptional; - cachedModules: z.ZodOptional; - cached: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; - }, { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; - }>]>>; - snapshot: z.ZodOptional>; - optimization: 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, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }, { - filename?: string | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: 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" | "initial" | "all" | ((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" | "initial" | "all" | ((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, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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; - }, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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.ZodUnknown>, z.ZodString>]>>; - }, "strict", z.ZodTypeAny, { - name?: string | ((args_0: { - name: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - name?: string | ((args_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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" | "natural" | "deterministic" | undefined; - chunkIds?: "named" | "natural" | "deterministic" | undefined; - minimize?: boolean | undefined; - minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; - mergeDuplicateChunks?: boolean | undefined; - splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; - nodeEnv?: string | false | undefined; - }, { - moduleIds?: "named" | "natural" | "deterministic" | undefined; - chunkIds?: "named" | "natural" | "deterministic" | undefined; - minimize?: boolean | undefined; - minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; - mergeDuplicateChunks?: boolean | undefined; - splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; - nodeEnv?: string | false | undefined; - }>>; - resolve: z.ZodOptional>; - resolveLoader: z.ZodOptional>; - plugins: z.ZodOptional, z.ZodType, z.ZodUnion<[z.ZodLiteral, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>; - devServer: z.ZodOptional>; - module: 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>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/auto": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/dynamic": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - "javascript/esm": z.ZodOptional>; - dynamicImportPreload: z.ZodOptional>; - dynamicImportPrefetch: z.ZodOptional>; - dynamicImportFetchPriority: z.ZodOptional>; - importMeta: z.ZodOptional; - url: z.ZodOptional, z.ZodBoolean]>>; - exprContextCritical: z.ZodOptional; - wrappedContextCritical: z.ZodOptional; - exportsPresence: z.ZodOptional, z.ZodLiteral]>>; - importExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - reexportExportsPresence: z.ZodOptional, z.ZodLiteral]>>; - strictExportPresence: z.ZodOptional; - worker: z.ZodOptional, z.ZodBoolean]>>; - overrideStrict: z.ZodOptional>; - }, "strict", z.ZodTypeAny, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }, { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - }, { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - }>, z.ZodRecord>]>>; - generator: z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, { - emit: z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }>, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/inline": z.ZodOptional, z.ZodLiteral<"base64">]>>; - mimetype: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }, { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - }>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; - }, "strict", z.ZodTypeAny, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }, { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - }>>; - "asset/resource": z.ZodOptional; - filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; - publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; - }, "strict", z.ZodTypeAny, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }, { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - }>>; - css: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - }>>; - "css/auto": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; - "css/module": z.ZodOptional>; - exportsOnly: z.ZodOptional; - localIdentName: z.ZodOptional; - esModule: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }, { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - }>>; - }, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - }, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - }>, z.ZodRecord>]>>; - noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; - }, "strict", z.ZodTypeAny, { - parser?: { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - } | Record> | undefined; - generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - } | undefined; - rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - }, { - parser?: { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - } | Record> | undefined; - generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - } | undefined; - rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - }>>; - profile: z.ZodOptional; - bail: z.ZodOptional; - performance: z.ZodOptional, z.ZodBoolean>>; - hints: z.ZodOptional, z.ZodLiteral]>>; - maxAssetSize: z.ZodOptional; - maxEntrypointSize: z.ZodOptional; - }, "strict", z.ZodTypeAny, { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; - }, { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; - }>, z.ZodLiteral]>>; -}, "strict", z.ZodTypeAny, { - module?: { - parser?: { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - } | Record> | undefined; - generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - } | undefined; - rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - } | undefined; - dependencies?: string[] | undefined; - name?: string | undefined; - context?: string | undefined; - entry?: string | string[] | Record string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }> | ((...args: unknown[]) => string | string[] | Record string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }> | Promise string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }>>) | undefined; - performance?: false | { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; - } | undefined; - node?: false | { - global?: boolean | "warn" | undefined; - __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - } | undefined; - profile?: boolean | undefined; - cache?: boolean | undefined; - loader?: Record | undefined; - resolve?: ResolveOptions | undefined; - output?: { - module?: boolean | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - path?: string | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - importMetaName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "xxhash64" | "md4" | undefined; - hashSalt?: string | 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; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; - } | undefined; - target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined; - mode?: "development" | "none" | "production" | undefined; - experiments?: { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - layers?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; - } | undefined; - externals?: string | RegExp | Record> | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, ...args_1: unknown[]) => Promise>) | (string | RegExp | Record> | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, ...args_1: unknown[]) => Promise>))[] | undefined; - externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined; - externalsPresets?: { - node?: boolean | undefined; - web?: boolean | undefined; - nwjs?: boolean | undefined; - webAsync?: boolean | undefined; - electron?: boolean | undefined; - electronMain?: boolean | undefined; - electronPreload?: boolean | undefined; - electronRenderer?: boolean | undefined; - } | undefined; - infrastructureLogging?: { - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - colors?: boolean | undefined; - appendOnly?: boolean | undefined; - console?: Console | undefined; - level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; - stream?: NodeJS.WritableStream | undefined; - } | undefined; - devtool?: false | "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" | undefined; - ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; - watchOptions?: { - aggregateTimeout?: number | undefined; - followSymlinks?: boolean | undefined; - ignored?: string | RegExp | string[] | undefined; - poll?: number | boolean | undefined; - stdin?: boolean | undefined; - } | undefined; - watch?: boolean | undefined; - stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; - } | undefined; - snapshot?: {} | undefined; - optimization?: { - moduleIds?: "named" | "natural" | "deterministic" | undefined; - chunkIds?: "named" | "natural" | "deterministic" | undefined; - minimize?: boolean | undefined; - minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; - mergeDuplicateChunks?: boolean | undefined; - splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; - nodeEnv?: string | false | undefined; - } | undefined; - resolveLoader?: ResolveOptions | undefined; - plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; - devServer?: DevServer | undefined; - bail?: boolean | undefined; -}, { - module?: { - parser?: { - javascript?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - css?: { - namedExports?: boolean | undefined; - } | undefined; - "css/auto"?: { - namedExports?: boolean | undefined; - } | undefined; - "css/module"?: { - namedExports?: boolean | undefined; - } | undefined; - asset?: { - dataUrlCondition?: { - maxSize?: number | undefined; - } | undefined; - } | undefined; - "javascript/auto"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/dynamic"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - "javascript/esm"?: { - dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; - dynamicImportPreload?: number | boolean | undefined; - dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; - importMeta?: boolean | undefined; - url?: boolean | "relative" | undefined; - exprContextCritical?: boolean | undefined; - wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; - strictExportPresence?: boolean | undefined; - worker?: boolean | string[] | undefined; - overrideStrict?: "strict" | "non-strict" | undefined; - } | undefined; - } | Record> | undefined; - generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - asset?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { - filename: string; - content: string; - }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - } | undefined; - rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; - noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - } | undefined; - dependencies?: string[] | undefined; - name?: string | undefined; - context?: string | undefined; - entry?: string | string[] | Record string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }> | ((...args: unknown[]) => string | string[] | Record string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }> | Promise string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - layer?: string | null | undefined; - runtime?: string | false | undefined; - baseUri?: string | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - dependOn?: string | string[] | undefined; - }>>) | undefined; - performance?: false | { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; - } | undefined; - node?: false | { - global?: boolean | "warn" | undefined; - __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - } | undefined; - profile?: boolean | undefined; - cache?: boolean | undefined; - loader?: Record | undefined; - resolve?: ResolveOptions | undefined; - output?: { - module?: boolean | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - path?: string | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssHeadDataCompression?: boolean | 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 | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - importMetaName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "xxhash64" | "md4" | undefined; - hashSalt?: string | 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; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; - } | undefined; - target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined; - mode?: "development" | "none" | "production" | undefined; - experiments?: { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - backend?: { - client?: string | undefined; - listen?: number | { - path?: string | undefined; - port?: number | undefined; - host?: string | undefined; - backlog?: number | undefined; - exclusive?: boolean | undefined; - readableAll?: boolean | undefined; - writableAll?: boolean | undefined; - ipv6Only?: boolean | undefined; - } | undefined; - protocol?: "http" | "https" | undefined; - } | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - layers?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; - } | undefined; - externals?: string | RegExp | Record> | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, ...args_1: unknown[]) => Promise>) | (string | RegExp | Record> | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { - context?: string | undefined; - dependencyType?: string | undefined; - request?: string | undefined; - contextInfo?: { - issuer: string; - issuerLayer: string | null; - } | undefined; - getResolve?: ((...args: unknown[]) => (args_0: string, args_1: string, args_2: ((...args: unknown[]) => unknown) | undefined, ...args_3: unknown[]) => unknown) | undefined; - }, ...args_1: unknown[]) => Promise>))[] | undefined; - externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined; - externalsPresets?: { - node?: boolean | undefined; - web?: boolean | undefined; - nwjs?: boolean | undefined; - webAsync?: boolean | undefined; - electron?: boolean | undefined; - electronMain?: boolean | undefined; - electronPreload?: boolean | undefined; - electronRenderer?: boolean | undefined; - } | undefined; - infrastructureLogging?: { - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - colors?: boolean | undefined; - appendOnly?: boolean | undefined; - console?: Console | undefined; - level?: "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined; - stream?: NodeJS.WritableStream | undefined; - } | undefined; - devtool?: false | "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" | undefined; - ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; - watchOptions?: { - aggregateTimeout?: number | undefined; - followSymlinks?: boolean | undefined; - ignored?: string | RegExp | string[] | undefined; - poll?: number | boolean | undefined; - stdin?: boolean | undefined; - } | undefined; - watch?: boolean | undefined; - stats?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; - } | undefined; - snapshot?: {} | undefined; - optimization?: { - moduleIds?: "named" | "natural" | "deterministic" | undefined; - chunkIds?: "named" | "natural" | "deterministic" | undefined; - minimize?: boolean | undefined; - minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined; - mergeDuplicateChunks?: boolean | undefined; - splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - cacheGroups?: Record unknown) | undefined; - type?: string | RegExp | undefined; - test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; - priority?: number | undefined; - enforce?: boolean | undefined; - reuseExistingChunk?: boolean | undefined; - idHint?: string | undefined; - chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - defaultSizeTypes?: string[] | undefined; - minChunks?: number | undefined; - minSize?: number | Record | undefined; - maxSize?: number | Record | undefined; - maxAsyncSize?: number | Record | undefined; - maxInitialSize?: number | Record | undefined; - automaticNameDelimiter?: string | undefined; - }> | undefined; - maxAsyncRequests?: number | undefined; - maxInitialRequests?: number | undefined; - fallbackCacheGroup?: { - chunks?: RegExp | "async" | "initial" | "all" | ((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_0: { - name: string; - }, ...args_1: unknown[]) => string) | 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 | "deterministic" | "size" | undefined; - nodeEnv?: string | false | undefined; - } | undefined; - resolveLoader?: ResolveOptions | undefined; - plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; - devServer?: DevServer | undefined; - bail?: boolean | undefined; -}>; - -// @public (undocumented) -class RspackOptionsApply { - // (undocumented) - process(options: RspackOptionsNormalized, compiler: Compiler): void; -} -export { RspackOptionsApply } -export { RspackOptionsApply as WebpackOptionsApply } - -// @public (undocumented) -export interface RspackOptionsNormalized { - // (undocumented) - bail?: Bail; - // (undocumented) - cache?: CacheOptions; - // (undocumented) - context?: Context; - // (undocumented) - dependencies?: Dependencies; - // (undocumented) - devServer?: DevServer; - // (undocumented) - devtool?: DevTool; - // (undocumented) - entry: EntryNormalized; - // (undocumented) - experiments: ExperimentsNormalized; - // (undocumented) - externals?: Externals; - // (undocumented) - externalsPresets: ExternalsPresets; - // (undocumented) - externalsType?: ExternalsType; - // (undocumented) - ignoreWarnings?: IgnoreWarningsNormalized; - // (undocumented) - infrastructureLogging: InfrastructureLogging; - // (undocumented) - loader: Loader; - // (undocumented) - mode?: Mode; - // (undocumented) - module: ModuleOptionsNormalized; - // (undocumented) - name?: Name; - // (undocumented) - node: Node_2; - // (undocumented) - optimization: Optimization; - // (undocumented) - output: OutputNormalized; - // (undocumented) - performance?: Performance_2; - // (undocumented) - plugins: Plugins; - // (undocumented) - profile?: Profile; - // (undocumented) - resolve: Resolve; - // (undocumented) - resolveLoader: Resolve; - // (undocumented) - snapshot: SnapshotOptions; - // (undocumented) - stats: StatsValue; - // (undocumented) - target?: Target; - // (undocumented) - watch?: Watch; - // (undocumented) - watchOptions: WatchOptions; -} - -// @public (undocumented) -export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void; - -// @public (undocumented) -export interface RspackPluginInstance { - // (undocumented) - [k: string]: any; - // (undocumented) - apply: (compiler: Compiler) => void; -} - -// @public (undocumented) -export const rspackVersion: string; - -// @public -type Rule = RegExp | string; - -// @public -type Rules = Rule[] | Rule; - -// @public (undocumented) -class RuleSetCompiler { - constructor(); - builtinReferences: Map; - // (undocumented) - references: Map; -} - -// @public (undocumented) -export type RuleSetCondition = z.infer | RuleSetConditions | RuleSetLogicalConditions; - -// @public (undocumented) -export type RuleSetConditions = RuleSetCondition[]; - -// @public (undocumented) -export type RuleSetLoader = z.infer; - -// @public (undocumented) -const ruleSetLoader: z.ZodString; - -// @public (undocumented) -export type RuleSetLoaderOptions = z.infer; - -// @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; - options?: string | Record | undefined; - ident?: string | undefined; -}, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; -}>; - -// @public (undocumented) -export type RuleSetLogicalConditions = { - and?: RuleSetConditions; - or?: RuleSetConditions; - not?: RuleSetCondition; -}; - -// @public (undocumented) -export type RuleSetRule = z.infer & { - oneOf?: RuleSetRule[]; - rules?: RuleSetRule[]; -}; - -// @public (undocumented) -export type RuleSetRules = z.infer; - -// @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; - -// @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; - options?: string | Record | undefined; - ident?: string | undefined; -}, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; -}>]>, z.ZodArray; - loader: z.ZodString; - options: z.ZodOptional]>>; -}, "strict", z.ZodTypeAny, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; -}, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; -}>]>, "many">]>, z.ZodFunction], z.ZodUnknown>, z.ZodArray; - loader: z.ZodString; - options: z.ZodOptional]>>; -}, "strict", z.ZodTypeAny, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; -}, { - loader: string; - options?: string | Record | undefined; - ident?: string | 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; - options?: string | Record | undefined; - ident?: string | undefined; -}, { - loader: string; - options?: string | Record | undefined; - ident?: string | undefined; -}>]>; - -// @public (undocumented) -const RuntimeChunkPlugin: { - new (options: RawRuntimeChunkOptions): { - name: BuiltinPluginName; - _args: [options: RawRuntimeChunkOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export const RuntimeGlobals: { - readonly require: "__webpack_require__"; - readonly requireScope: "__webpack_require__.*"; - readonly exports: "__webpack_exports__"; - readonly thisAsExports: "top-level-this-exports"; - readonly returnExportsFromRuntime: "return-exports-from-runtime"; - readonly module: "module"; - readonly moduleId: "module.id"; - readonly moduleLoaded: "module.loaded"; - readonly publicPath: "__webpack_require__.p"; - readonly entryModuleId: "__webpack_require__.s"; - readonly moduleCache: "__webpack_require__.c"; - readonly moduleFactories: "__webpack_require__.m"; - readonly moduleFactoriesAddOnly: "__webpack_require__.m (add only)"; - readonly ensureChunk: "__webpack_require__.e"; - readonly ensureChunkHandlers: "__webpack_require__.f"; - readonly ensureChunkIncludeEntries: "__webpack_require__.f (include entries)"; - readonly prefetchChunk: "__webpack_require__.E"; - readonly prefetchChunkHandlers: "__webpack_require__.F"; - readonly preloadChunk: "__webpack_require__.G"; - readonly preloadChunkHandlers: "__webpack_require__.H"; - readonly definePropertyGetters: "__webpack_require__.d"; - readonly makeNamespaceObject: "__webpack_require__.r"; - readonly createFakeNamespaceObject: "__webpack_require__.t"; - readonly compatGetDefaultExport: "__webpack_require__.n"; - readonly harmonyModuleDecorator: "__webpack_require__.hmd"; - readonly nodeModuleDecorator: "__webpack_require__.nmd"; - readonly getFullHash: "__webpack_require__.h"; - readonly wasmInstances: "__webpack_require__.w"; - readonly instantiateWasm: "__webpack_require__.v"; - readonly uncaughtErrorHandler: "__webpack_require__.oe"; - readonly scriptNonce: "__webpack_require__.nc"; - readonly loadScript: "__webpack_require__.l"; - readonly createScript: "__webpack_require__.ts"; - readonly createScriptUrl: "__webpack_require__.tu"; - readonly getTrustedTypesPolicy: "__webpack_require__.tt"; - readonly hasFetchPriority: "has fetch priority"; - readonly chunkName: "__webpack_require__.cn"; - readonly runtimeId: "__webpack_require__.j"; - readonly getChunkScriptFilename: "__webpack_require__.u"; - readonly getChunkCssFilename: "__webpack_require__.k"; - readonly hasCssModules: "has css modules"; - readonly getChunkUpdateScriptFilename: "__webpack_require__.hu"; - readonly getChunkUpdateCssFilename: "__webpack_require__.hk"; - readonly startup: "__webpack_require__.x"; - readonly startupNoDefault: "__webpack_require__.x (no default handler)"; - readonly startupOnlyAfter: "__webpack_require__.x (only after)"; - readonly startupOnlyBefore: "__webpack_require__.x (only before)"; - readonly chunkCallback: "webpackChunk"; - readonly startupEntrypoint: "__webpack_require__.X"; - readonly onChunksLoaded: "__webpack_require__.O"; - readonly externalInstallChunk: "__webpack_require__.C"; - readonly interceptModuleExecution: "__webpack_require__.i"; - readonly global: "__webpack_require__.g"; - readonly shareScopeMap: "__webpack_require__.S"; - readonly initializeSharing: "__webpack_require__.I"; - readonly currentRemoteGetScope: "__webpack_require__.R"; - readonly getUpdateManifestFilename: "__webpack_require__.hmrF"; - readonly hmrDownloadManifest: "__webpack_require__.hmrM"; - readonly hmrDownloadUpdateHandlers: "__webpack_require__.hmrC"; - readonly hmrModuleData: "__webpack_require__.hmrD"; - readonly hmrInvalidateModuleHandlers: "__webpack_require__.hmrI"; - readonly hmrRuntimeStatePrefix: "__webpack_require__.hmrS"; - readonly amdDefine: "__webpack_require__.amdD"; - readonly amdOptions: "__webpack_require__.amdO"; - readonly system: "__webpack_require__.System"; - readonly hasOwnProperty: "__webpack_require__.o"; - readonly systemContext: "__webpack_require__.y"; - readonly baseURI: "__webpack_require__.b"; - readonly relativeUrl: "__webpack_require__.U"; - readonly asyncModule: "__webpack_require__.a"; -}; - -// @public (undocumented) -type RuntimeModule = liteTapable.SyncHook<[ -JsRuntimeModule, -Chunk -], void>; - -// @public (undocumented) -type RuntimePlugins = string[]; - -// @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; - -// @public (undocumented) -export type SharedConfig = { - eager?: boolean; - import?: false | SharedItem; - packageName?: string; - requiredVersion?: false | string; - shareKey?: string; - shareScope?: string; - singleton?: boolean; - strictVersion?: boolean; - version?: false | string; -}; - -// @public (undocumented) -export type SharedItem = string; - -// @public (undocumented) -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; - singleton: boolean | undefined; - requiredVersion: string | false | undefined; - strictVersion: boolean | undefined; - }; - }[]; - // (undocumented) - _shareScope: string | undefined; -} - -// @public (undocumented) -export type SharePluginOptions = { - shareScope?: string; - shared: Shared; - enhanced: boolean; -}; - -// @public (undocumented) -export const sharing: { - ProvideSharedPlugin: typeof ProvideSharedPlugin; - ConsumeSharedPlugin: typeof ConsumeSharedPlugin; - SharePlugin: typeof SharePlugin; -}; - -// @public (undocumented) -export type SnapshotOptions = z.infer; - -// @public (undocumented) -const snapshotOptions: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>; - -// @public (undocumented) -abstract class Source { - // (undocumented) - buffer(): Buffer; - - // (undocumented) - map(options?: MapOptions): RawSourceMap | null; - - // (undocumented) - size(): number; - - // (undocumented) - source(): string | Buffer; - - // (undocumented) - sourceAndMap(options?: MapOptions): { - source: string | Buffer; - map: Object; - }; - - // (undocumented) - updateHash(hash: Hash): void; -} - -// @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): { - name: BuiltinPluginName; - _args: [options: SourceMapDevToolPluginOptions]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export interface SourceMapDevToolPluginOptions extends Omit { - // (undocumented) - exclude?: Rules; - // (undocumented) - include?: Rules; - // (undocumented) - test?: Rules; -} - -// @public (undocumented) -export type SourceMapFilename = z.infer; - -// @public (undocumented) -const sourceMapFilename: z.ZodString; - -export { sources } - -// @public (undocumented) -class SplitChunksPlugin extends RspackBuiltinPlugin { - constructor(options: OptimizationSplitChunksOptions); - // (undocumented) - affectedHooks: "thisCompilation"; - // (undocumented) - name: BuiltinPluginName; - // (undocumented) - raw(compiler: Compiler): BuiltinPlugin; -} - -// @public (undocumented) -export class Stats { - constructor(compilation: Compilation); - // (undocumented) - compilation: Compilation; - // (undocumented) - get endTime(): number | undefined; - // (undocumented) - hasErrors(): boolean; - // (undocumented) - get hash(): Readonly; - // (undocumented) - hasWarnings(): boolean; - // (undocumented) - get startTime(): number | undefined; - // (undocumented) - toJson(opts?: StatsValue, forToString?: boolean): StatsCompilation; - // (undocumented) - toString(opts?: StatsValue): string; -} - -// @public (undocumented) -export type StatsAsset = KnownStatsAsset & Record; - -// @public (undocumented) -export type StatsChunk = KnownStatsChunk & Record; - -// @public (undocumented) -type StatsChunkGroup = binding.JsStatsChunkGroup & Record; - -// @public (undocumented) -type StatsChunkOrigin = KnownStatsChunkOrigin & Record; - -// @public (undocumented) -export type StatsCompilation = KnownStatsCompilation & Record; - -// @public (undocumented) -export type StatsError = Omit & { - moduleIdentifier?: string; -} & Record; - -// @public (undocumented) -class StatsFactory { - constructor(); - // (undocumented) - create(type: string, data: any, baseContext: Omit): any; - // (undocumented) - _forEachLevel(hookMap: HookMap, cache: CacheHookMap, type: string, fn: CallFn): any; - // (undocumented) - _forEachLevelFilter(hookMap: HookMap, cache: CacheHookMap, type: string, items: any[], fn: CallFn, forceClone: boolean): any[]; - // (undocumented) - _forEachLevelWaterfall(hookMap: HookMap, cache: CacheHookMap, type: string, data: any, fn: CallFn): any; - // (undocumented) - _getAllLevelHooks(hookMap: HookMap, 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; - -// @public (undocumented) -type StatsModuleIssuer = Omit & { - identifier?: string; -} & Record; - -// @public (undocumented) -type StatsModuleReason = Omit & { - moduleIdentifier?: string; -} & Record; - -// @public (undocumented) -export type StatsOptions = z.infer; - -// @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; - 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; - groupModulesByType: z.ZodOptional; - groupModulesByCacheStatus: z.ZodOptional; - groupModulesByLayer: z.ZodOptional; - groupModulesByAttributes: z.ZodOptional; - groupModulesByPath: z.ZodOptional; - groupModulesByExtension: z.ZodOptional; - modulesSpace: z.ZodOptional; - chunkModulesSpace: z.ZodOptional; - nestedModulesSpace: z.ZodOptional; - relatedAssets: z.ZodOptional; - groupAssetsByEmitStatus: z.ZodOptional; - groupAssetsByInfo: z.ZodOptional; - groupAssetsByPath: z.ZodOptional; - groupAssetsByExtension: z.ZodOptional; - groupAssetsByChunk: z.ZodOptional; - assetsSpace: z.ZodOptional; - orphanModules: z.ZodOptional; - excludeModules: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodBoolean]>>; - excludeAssets: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>>; - modulesSort: z.ZodOptional; - chunkModulesSort: z.ZodOptional; - nestedModulesSort: z.ZodOptional; - chunksSort: z.ZodOptional; - assetsSort: z.ZodOptional; - performance: z.ZodOptional; - env: z.ZodOptional; - chunkGroupAuxiliary: z.ZodOptional; - chunkGroupChildren: z.ZodOptional; - chunkGroupMaxAssets: z.ZodOptional; - dependentModules: z.ZodOptional; - chunkOrigins: z.ZodOptional; - runtime: z.ZodOptional; - depth: z.ZodOptional; - reasonsSpace: z.ZodOptional; - groupReasonsByOrigin: z.ZodOptional; - errorDetails: z.ZodOptional; - errorStack: z.ZodOptional; - moduleTrace: z.ZodOptional; - cachedModules: z.ZodOptional; - cached: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; -}, { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; -}>; - -// @public (undocumented) -class StatsPrinter { - constructor(); - // (undocumented) - hooks: Readonly<{ - sortElements: HookMap>; - printElements: HookMap>; - sortItems: HookMap>; - getItemName: HookMap>; - printItems: HookMap>; - print: HookMap>; - result: HookMap>; - }>; - // (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.ZodBoolean, z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings", "minimal", "detailed", "summary"]>]>, 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; - 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; - groupModulesByType: z.ZodOptional; - groupModulesByCacheStatus: z.ZodOptional; - groupModulesByLayer: z.ZodOptional; - groupModulesByAttributes: z.ZodOptional; - groupModulesByPath: z.ZodOptional; - groupModulesByExtension: z.ZodOptional; - modulesSpace: z.ZodOptional; - chunkModulesSpace: z.ZodOptional; - nestedModulesSpace: z.ZodOptional; - relatedAssets: z.ZodOptional; - groupAssetsByEmitStatus: z.ZodOptional; - groupAssetsByInfo: z.ZodOptional; - groupAssetsByPath: z.ZodOptional; - groupAssetsByExtension: z.ZodOptional; - groupAssetsByChunk: z.ZodOptional; - assetsSpace: z.ZodOptional; - orphanModules: z.ZodOptional; - excludeModules: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodBoolean]>>; - excludeAssets: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, "many">, z.ZodString]>, z.ZodType]>, z.ZodFunction, z.ZodBoolean>]>>; - modulesSort: z.ZodOptional; - chunkModulesSort: z.ZodOptional; - nestedModulesSort: z.ZodOptional; - chunksSort: z.ZodOptional; - assetsSort: z.ZodOptional; - performance: z.ZodOptional; - env: z.ZodOptional; - chunkGroupAuxiliary: z.ZodOptional; - chunkGroupChildren: z.ZodOptional; - chunkGroupMaxAssets: z.ZodOptional; - dependentModules: z.ZodOptional; - chunkOrigins: z.ZodOptional; - runtime: z.ZodOptional; - depth: z.ZodOptional; - reasonsSpace: z.ZodOptional; - groupReasonsByOrigin: z.ZodOptional; - errorDetails: z.ZodOptional; - errorStack: z.ZodOptional; - moduleTrace: z.ZodOptional; - cachedModules: z.ZodOptional; - cached: z.ZodOptional; -}, "strict", z.ZodTypeAny, { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; -}, { - publicPath?: boolean | undefined; - hash?: boolean | undefined; - all?: boolean | undefined; - chunks?: boolean | undefined; - providedExports?: boolean | undefined; - usedExports?: boolean | undefined; - children?: boolean | undefined; - runtime?: boolean | undefined; - modules?: boolean | undefined; - moduleTrace?: boolean | undefined; - preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; - assets?: boolean | undefined; - entrypoints?: boolean | "auto" | undefined; - chunkGroups?: boolean | undefined; - warnings?: boolean | undefined; - warningsCount?: boolean | undefined; - errors?: boolean | undefined; - errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - reasons?: boolean | undefined; - outputPath?: boolean | undefined; - chunkModules?: boolean | undefined; - chunkRelations?: boolean | undefined; - ids?: boolean | undefined; - timings?: boolean | undefined; - builtAt?: boolean | undefined; - moduleAssets?: boolean | undefined; - nestedModules?: boolean | undefined; - source?: boolean | undefined; - logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | 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; - optimizationBailout?: boolean | undefined; - groupModulesByType?: boolean | undefined; - groupModulesByCacheStatus?: boolean | undefined; - groupModulesByLayer?: boolean | undefined; - groupModulesByAttributes?: boolean | undefined; - groupModulesByPath?: boolean | undefined; - groupModulesByExtension?: boolean | undefined; - modulesSpace?: number | undefined; - chunkModulesSpace?: number | undefined; - nestedModulesSpace?: number | undefined; - relatedAssets?: boolean | undefined; - groupAssetsByEmitStatus?: boolean | undefined; - groupAssetsByInfo?: boolean | undefined; - groupAssetsByPath?: boolean | undefined; - groupAssetsByExtension?: boolean | undefined; - groupAssetsByChunk?: boolean | undefined; - assetsSpace?: number | undefined; - orphanModules?: boolean | undefined; - excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined; - excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined; - modulesSort?: string | undefined; - chunkModulesSort?: string | undefined; - nestedModulesSort?: string | undefined; - chunksSort?: string | undefined; - assetsSort?: string | undefined; - performance?: boolean | undefined; - env?: boolean | undefined; - chunkGroupAuxiliary?: boolean | undefined; - chunkGroupChildren?: boolean | undefined; - chunkGroupMaxAssets?: number | undefined; - dependentModules?: boolean | undefined; - chunkOrigins?: boolean | undefined; - depth?: boolean | undefined; - reasonsSpace?: number | undefined; - groupReasonsByOrigin?: boolean | undefined; - errorDetails?: boolean | undefined; - errorStack?: boolean | undefined; - cachedModules?: boolean | undefined; - cached?: boolean | undefined; -}>]>; - -// @public (undocumented) -export type StatsWarnings = Omit & { - moduleIdentifier?: string; -} & Record; - -// @public (undocumented) -export type StrictModuleErrorHandling = z.infer; - -// @public (undocumented) -const strictModuleErrorHandling: z.ZodBoolean; - -// @public (undocumented) -export type StrictModuleExceptionHandling = z.infer; - -// @public (undocumented) -const strictModuleExceptionHandling: z.ZodBoolean; - -// @public (undocumented) -export const SwcCssMinimizerRspackPlugin: { - new (options?: SwcCssMinimizerRspackPluginOptions | undefined): { - name: BuiltinPluginName; - _args: [options?: SwcCssMinimizerRspackPluginOptions | undefined]; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -type SwcCssMinimizerRspackPluginOptions = { - test?: AssetConditions; - exclude?: AssetConditions; - include?: AssetConditions; -}; - -// @public (undocumented) -export const SwcJsMinimizerRspackPlugin: { - new (options?: SwcJsMinimizerRspackPluginOptions | undefined): { - name: BuiltinPluginName; - _args: [options?: SwcJsMinimizerRspackPluginOptions | undefined]; /** - * - `false`: removes all comments - * - `'some'`: preserves some comments - * - `'all'`: preserves all comments - * @default false - */ - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type SwcJsMinimizerRspackPluginOptions = { - test?: AssetConditions; - exclude?: AssetConditions; - include?: AssetConditions; - extractComments?: ExtractCommentsOptions | undefined; - minimizerOptions?: { - compress?: TerserCompressOptions | boolean; - mangle?: TerserMangleOptions | boolean; - format?: JsFormatOptions & ToSnakeCaseProperties; - module?: boolean; - }; -}; - -// @public (undocumented) -export interface SwcLoaderEnvConfig { - bugfixes?: boolean; - coreJs?: string; - // (undocumented) - debug?: boolean; - // (undocumented) - dynamicImport?: boolean; - // (undocumented) - exclude?: string[]; - forceAllTransforms?: boolean; - // (undocumented) - include?: string[]; - // (undocumented) - loose?: boolean; - // (undocumented) - mode?: "usage" | "entry"; - // (undocumented) - path?: string; - // (undocumented) - shippedProposals?: boolean; - skip?: string[]; - // (undocumented) - targets?: any; -} - -// @public (undocumented) -export interface SwcLoaderEsParserConfig { - decorators?: boolean; - decoratorsBeforeExport?: boolean; - exportDefaultFrom?: boolean; - functionBind?: boolean; - importAssertions?: boolean; - jsx?: boolean; - // (undocumented) - syntax: "ecmascript"; -} - -// @public (undocumented) -export interface SwcLoaderJscConfig { - // (undocumented) - baseUrl?: string; - experimental?: { - optimizeHygiene?: boolean; - keepImportAttributes?: boolean; - emitAssertForImportAttributes?: boolean; - cacheRoot?: string; - plugins?: Array<[string, Record]>; - disableBuiltinTransformsForInternalTesting?: boolean; - }; - externalHelpers?: boolean; - keepClassNames?: boolean; - // (undocumented) - loose?: boolean; - parser?: SwcLoaderParserConfig; - // (undocumented) - paths?: { - [from: string]: [string]; - }; - // (undocumented) - preserveAllComments?: boolean; - target?: JscTarget; - // (undocumented) - transform?: SwcLoaderTransformConfig; -} - -// @public (undocumented) -export type SwcLoaderModuleConfig = Es6Config | CommonJsConfig | UmdConfig | AmdConfig | NodeNextConfig | SystemjsConfig; - -// @public (undocumented) -export type SwcLoaderOptions = { - test?: string | string[]; - exclude?: string | string[]; - env?: SwcLoaderEnvConfig; - jsc?: SwcLoaderJscConfig; - module?: SwcLoaderModuleConfig; - minify?: boolean; - sourceMaps?: boolean; - inlineSourcesContent?: boolean; - isModule?: boolean | "unknown"; - rspackExperiments?: { - import?: PluginImportOptions; - }; -}; - -// @public (undocumented) -export type SwcLoaderParserConfig = SwcLoaderTsParserConfig | SwcLoaderEsParserConfig; - -// @public (undocumented) -export interface SwcLoaderTransformConfig { - // (undocumented) - constModules?: ConstModulesConfig; - decoratorMetadata?: boolean; - decoratorVersion?: "2021-12" | "2022-03"; - legacyDecorator?: boolean; - optimizer?: OptimizerConfig; - react?: ReactOptions; - // (undocumented) - treatConstEnumAsEnum?: boolean; - // (undocumented) - useDefineForClassFields?: boolean; -} - -// @public (undocumented) -export interface SwcLoaderTsParserConfig { - decorators?: boolean; - dynamicImport?: boolean; - // (undocumented) - syntax: "typescript"; - tsx?: boolean; -} - -// @public (undocumented) -interface SystemjsConfig { - // (undocumented) - allowTopLevelThis?: boolean; - // (undocumented) - type: "systemjs"; -} - -// @public (undocumented) -export type Target = z.infer; - -// @public (undocumented) -const target: z.ZodUnion<[z.ZodLiteral, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>; - -// @public (undocumented) -interface Targets { - // (undocumented) - android?: number; - // (undocumented) - chrome?: number; - // (undocumented) - edge?: number; - // (undocumented) - firefox?: number; - // (undocumented) - ie?: number; - // (undocumented) - ios_saf?: number; - // (undocumented) - opera?: number; - // (undocumented) - safari?: number; - // (undocumented) - samsung?: number; -} - -// @public -export class Template { - // (undocumented) - static asString(str: string | string[]): string; - // (undocumented) - static getFunctionContent(fn: Function): string; - // (undocumented) - static getModulesArrayBounds(modules: { - id: string | number; - }[]): [number, number] | false; - // (undocumented) - static indent(s: string | string[]): string; - // (undocumented) - static numberToIdentifier(num: number): string; - // (undocumented) - static numberToIdentifierContinuation(num: number): string; - // (undocumented) - static prefix(s: string | string[], prefix: string): string; - // (undocumented) - static toComment(str: string): string; - // (undocumented) - static toIdentifier(str: any): string; - // (undocumented) - static toNormalComment(str: string): string; - // (undocumented) - static toPath(str: string): string; -} - -// @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) -type 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; - -// @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; - -// @public (undocumented) -const umdNamedDefine: z.ZodBoolean; - -// @public (undocumented) -export type UniqueName = z.infer; - -// @public (undocumented) -const uniqueName: z.ZodString; - -// @public (undocumented) -export const util: { - createHash: (algorithm: (string & {}) | "debug" | "xxhash64" | "md4" | "native-md4" | (new () => default_2)) => default_2; - cleverMerge: (first: First, second: Second) => First | Second | (First & Second); -}; - -// @public (undocumented) -export const version: string; - -// @public (undocumented) -interface Wasm { - // (undocumented) - EnableWasmLoadingPlugin: typeof EnableWasmLoadingPlugin; -} - -// @public (undocumented) -export const wasm: Wasm; - -// @public (undocumented) -export type WasmLoading = z.infer; - -// @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; - -// @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) -class Watcher_2 extends EventEmitter { - constructor(directoryWatcher: DirectoryWatcher, filePath: string, startTime: number); - // (undocumented) - checkStartTime(mtime: number, initial: boolean): boolean; - // (undocumented) - close(): void; - // (undocumented) - data: number; - // (undocumented) - directoryWatcher: DirectoryWatcher; - // (undocumented) - path: string; - // (undocumented) - startTime: number; -} - -// @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); - // (undocumented) - blocked: boolean; - // (undocumented) - callbacks: Callback[]; - // (undocumented) - close(callback?: () => void): void; - // (undocumented) - compiler: Compiler; - // (undocumented) - handler: (error?: Error, stats?: Stats) => void; - // (undocumented) - invalid: boolean; - // (undocumented) - invalidate(callback?: Callback): void; - // (undocumented) - isBlocked?: () => boolean; - // (undocumented) - lastWatcherStartTime: number; - // (undocumented) - lazyCompilationInvalidate(files: Set): void; - // (undocumented) - onChange?: () => void; - // (undocumented) - onInvalid?: () => void; - // (undocumented) - pausedWatcher?: Watcher; - // (undocumented) - resume(): void; - // (undocumented) - running: boolean; - // (undocumented) - startTime?: number; - // (undocumented) - suspend(): void; - // (undocumented) - suspended: boolean; - // (undocumented) - watch(files: Iterable, dirs: Iterable, missing: Iterable): void; - // (undocumented) - watcher?: Watcher; - // (undocumented) - watchOptions: WatchOptions; -} - -// @public (undocumented) -export type WatchOptions = z.infer; - -// @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) -class Watchpack extends EventEmitter { - constructor(options: Watchpack.WatchOptions); - // (undocumented) - aggregatedChanges: Set; - // (undocumented) - aggregatedRemovals: Set; - // (undocumented) - aggregateTimeout: NodeJS.Timer; - close(): void; - collectTimeInfoEntries(fileInfoEntries: Map, directoryInfoEntries: Map): void; - // (undocumented) - _dirWatcher(item: string, watcher: Watcher_2): Watcher_2; - // (undocumented) - dirWatchers: Watcher_2[]; - // (undocumented) - _fileWatcher(file: string, watcher: Watcher_2): Watcher_2; - // (undocumented) - fileWatchers: Watcher_2[]; - getAggregated(): { - changes: Set; - removals: Set; - }; - getTimeInfoEntries(): Map; - // @deprecated - getTimes(): { - [path: string]: number; - }; - mtimes: { - [path: string]: number; - }; - // (undocumented) - on( - eventName: "change", - listener: ( - filePath: string, - modifiedTime: number, - explanation: string, - ) => void, - ): this; - // (undocumented) - on( - eventName: "remove", - listener: ( - filePath: string, - explanation: string, - ) => void, - ): this; - // (undocumented) - on( - eventName: "aggregated", - listener: ( - changes: Set, - removals: Set, - ) => void, - ): this; - // (undocumented) - _onChange(item: string, mtime: number, file?: string): void; - // (undocumented) - _onTimeout(): void; - // (undocumented) - options: Watchpack.WatchOptions; - pause(): void; - // (undocumented) - paused: boolean; - watch(options: { - files?: Iterable; - directories?: Iterable; - missing?: Iterable; - startTime?: number; - }): void; - // (undocumented) - watcherOptions: Watchpack.WatcherOptions; -} - -// @public (undocumented) -namespace Watchpack { - // (undocumented) - interface WatcherOptions { - // (undocumented) - followSymlinks?: boolean; - // (undocumented) - ignored?: string[] | string | RegExp | ((path: string) => boolean) | undefined; - // (undocumented) - poll?: boolean | number | undefined; - } - // (undocumented) - interface WatchOptions extends WatcherOptions { - // (undocumented) - aggregateTimeout?: number | undefined; - } -} - -// @public (undocumented) -interface Web { - // (undocumented) - FetchCompileAsyncWasmPlugin: typeof FetchCompileAsyncWasmPlugin; -} - -// @public (undocumented) -export const web: Web; - -// @public (undocumented) -export type WebassemblyModuleFilename = z.infer; - -// @public (undocumented) -const webassemblyModuleFilename: z.ZodString; - -// @public (undocumented) -export const WebpackError: ErrorConstructor; - -// @public (undocumented) -class WebpackError_2 extends Error { - // (undocumented) - [inspect.custom](): string; - // (undocumented) - chunk?: Chunk; - // (undocumented) - details?: string; - // (undocumented) - file?: string; - // (undocumented) - hideStack?: boolean; - // (undocumented) - loc?: DependencyLocation; - // (undocumented) - module?: Module; -} - -// @public (undocumented) -interface Webworker { - // (undocumented) - WebWorkerTemplatePlugin: typeof WebWorkerTemplatePlugin; -} - -// @public (undocumented) -export const webworker: Webworker; - -// @public (undocumented) -const WebWorkerTemplatePlugin: { - new (): { - name: BuiltinPluginName; - _args: []; - affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; - raw(compiler: Compiler_2): BuiltinPlugin; - apply(compiler: Compiler_2): void; - }; -}; - -// @public (undocumented) -export type WorkerPublicPath = z.infer; - -// @public (undocumented) -const workerPublicPath: z.ZodString; - -// @public (undocumented) -namespace z { - { type z_AnyZodObject as AnyZodObject, type z_AnyZodTuple as AnyZodTuple, type z_ArrayCardinality as ArrayCardinality, type z_ArrayKeys as ArrayKeys, type z_AssertArray as AssertArray, type z_AsyncParseReturnType as AsyncParseReturnType, type z_BRAND as BRAND, type z_CatchallInput as CatchallInput, type z_CatchallOutput as CatchallOutput, type z_CustomErrorParams as CustomErrorParams, z_DIRTY as DIRTY, type z_DenormalizedError as DenormalizedError, z_EMPTY_PATH as EMPTY_PATH, type z_Effect as Effect, type z_EnumLike as EnumLike, type z_EnumValues as EnumValues, type z_ErrorMapCtx as ErrorMapCtx, type z_FilterEnum as FilterEnum, z_INVALID as INVALID, type z_Indices as Indices, type z_InnerTypeOfFunction as InnerTypeOfFunction, type z_InputTypeOfTuple as InputTypeOfTuple, type z_InputTypeOfTupleWithRest as InputTypeOfTupleWithRest, type z_IpVersion as IpVersion, type z_IssueData as IssueData, type z_KeySchema as KeySchema, z_NEVER as NEVER, z_OK as OK, type z_ObjectPair as ObjectPair, type z_OuterTypeOfFunction as OuterTypeOfFunction, type z_OutputTypeOfTuple as OutputTypeOfTuple, type z_OutputTypeOfTupleWithRest as OutputTypeOfTupleWithRest, type z_ParseContext as ParseContext, type z_ParseInput as ParseInput, type z_ParseParams as ParseParams, type z_ParsePath as ParsePath, type z_ParsePathComponent as ParsePathComponent, type z_ParseResult as ParseResult, type z_ParseReturnType as ParseReturnType, z_ParseStatus as ParseStatus, type z_PassthroughType as PassthroughType, type z_PreprocessEffect as PreprocessEffect, type z_Primitive as Primitive, type z_ProcessedCreateParams as ProcessedCreateParams, type z_RawCreateParams as RawCreateParams, type z_RecordType as RecordType, type z_Refinement as Refinement, type z_RefinementCtx as RefinementCtx, type z_RefinementEffect as RefinementEffect, type z_SafeParseError as SafeParseError, type z_SafeParseReturnType as SafeParseReturnType, type z_SafeParseSuccess as SafeParseSuccess, type z_Scalars as Scalars, ZodType as Schema, type z_SomeZodObject as SomeZodObject, type z_StringValidation as StringValidation, type z_SuperRefinement as SuperRefinement, type z_SyncParseReturnType as SyncParseReturnType, type z_TransformEffect as TransformEffect, type z_TypeOf as TypeOf, type z_UnknownKeysParam as UnknownKeysParam, type z_Values as Values, type z_Writeable as Writeable, z_ZodAny as ZodAny, type z_ZodAnyDef as ZodAnyDef, z_ZodArray as ZodArray, type z_ZodArrayDef as ZodArrayDef, z_ZodBigInt as ZodBigInt, type z_ZodBigIntCheck as ZodBigIntCheck, type z_ZodBigIntDef as ZodBigIntDef, z_ZodBoolean as ZodBoolean, type z_ZodBooleanDef as ZodBooleanDef, z_ZodBranded as ZodBranded, type z_ZodBrandedDef as ZodBrandedDef, z_ZodCatch as ZodCatch, type z_ZodCatchDef as ZodCatchDef, type z_ZodCustomIssue as ZodCustomIssue, z_ZodDate as ZodDate, type z_ZodDateCheck as ZodDateCheck, type z_ZodDateDef as ZodDateDef, z_ZodDefault as ZodDefault, type z_ZodDefaultDef as ZodDefaultDef, z_ZodDiscriminatedUnion as ZodDiscriminatedUnion, type z_ZodDiscriminatedUnionDef as ZodDiscriminatedUnionDef, type z_ZodDiscriminatedUnionOption as ZodDiscriminatedUnionOption, z_ZodEffects as ZodEffects, type z_ZodEffectsDef as ZodEffectsDef, z_ZodEnum as ZodEnum, type z_ZodEnumDef as ZodEnumDef, z_ZodError as ZodError, type z_ZodErrorMap as ZodErrorMap, type z_ZodFirstPartySchemaTypes as ZodFirstPartySchemaTypes, z_ZodFirstPartyTypeKind as ZodFirstPartyTypeKind, type z_ZodFormattedError as ZodFormattedError, z_ZodFunction as ZodFunction, type z_ZodFunctionDef as ZodFunctionDef, z_ZodIntersection as ZodIntersection, type z_ZodIntersectionDef as ZodIntersectionDef, type z_ZodInvalidArgumentsIssue as ZodInvalidArgumentsIssue, type z_ZodInvalidDateIssue as ZodInvalidDateIssue, type z_ZodInvalidEnumValueIssue as ZodInvalidEnumValueIssue, type z_ZodInvalidIntersectionTypesIssue as ZodInvalidIntersectionTypesIssue, type z_ZodInvalidLiteralIssue as ZodInvalidLiteralIssue, type z_ZodInvalidReturnTypeIssue as ZodInvalidReturnTypeIssue, type z_ZodInvalidStringIssue as ZodInvalidStringIssue, type z_ZodInvalidTypeIssue as ZodInvalidTypeIssue, type z_ZodInvalidUnionDiscriminatorIssue as ZodInvalidUnionDiscriminatorIssue, type z_ZodInvalidUnionIssue as ZodInvalidUnionIssue, type z_ZodIssue as ZodIssue, type z_ZodIssueBase as ZodIssueBase, type z_ZodIssueCode as ZodIssueCode, type z_ZodIssueOptionalMessage as ZodIssueOptionalMessage, z_ZodLazy as ZodLazy, type z_ZodLazyDef as ZodLazyDef, z_ZodLiteral as ZodLiteral, type z_ZodLiteralDef as ZodLiteralDef, z_ZodMap as ZodMap, type z_ZodMapDef as ZodMapDef, z_ZodNaN as ZodNaN, type z_ZodNaNDef as ZodNaNDef, z_ZodNativeEnum as ZodNativeEnum, type z_ZodNativeEnumDef as ZodNativeEnumDef, z_ZodNever as ZodNever, type z_ZodNeverDef as ZodNeverDef, type z_ZodNonEmptyArray as ZodNonEmptyArray, type z_ZodNotFiniteIssue as ZodNotFiniteIssue, type z_ZodNotMultipleOfIssue as ZodNotMultipleOfIssue, z_ZodNull as ZodNull, type z_ZodNullDef as ZodNullDef, z_ZodNullable as ZodNullable, type z_ZodNullableDef as ZodNullableDef, type z_ZodNullableType as ZodNullableType, z_ZodNumber as ZodNumber, type z_ZodNumberCheck as ZodNumberCheck, type z_ZodNumberDef as ZodNumberDef, z_ZodObject as ZodObject, type z_ZodObjectDef as ZodObjectDef, z_ZodOptional as ZodOptional, type z_ZodOptionalDef as ZodOptionalDef, type z_ZodOptionalType as ZodOptionalType, type z_ZodParsedType as ZodParsedType, z_ZodPipeline as ZodPipeline, type z_ZodPipelineDef as ZodPipelineDef, z_ZodPromise as ZodPromise, type z_ZodPromiseDef as ZodPromiseDef, type z_ZodRawShape as ZodRawShape, z_ZodReadonly as ZodReadonly, type z_ZodReadonlyDef as ZodReadonlyDef, z_ZodRecord as ZodRecord, type z_ZodRecordDef as ZodRecordDef, ZodType as ZodSchema, z_ZodSet as ZodSet, type z_ZodSetDef as ZodSetDef, z_ZodString as ZodString, type z_ZodStringCheck as ZodStringCheck, type z_ZodStringDef as ZodStringDef, z_ZodSymbol as ZodSymbol, type z_ZodSymbolDef as ZodSymbolDef, type z_ZodTooBigIssue as ZodTooBigIssue, type z_ZodTooSmallIssue as ZodTooSmallIssue, ZodEffects as ZodTransformer, z_ZodTuple as ZodTuple, type z_ZodTupleDef as ZodTupleDef, type z_ZodTupleItems as ZodTupleItems, z_ZodType as ZodType, type z_ZodTypeAny as ZodTypeAny, type z_ZodTypeDef as ZodTypeDef, z_ZodUndefined as ZodUndefined, type z_ZodUndefinedDef as ZodUndefinedDef, z_ZodUnion as ZodUnion, type z_ZodUnionDef as ZodUnionDef, type z_ZodUnionOptions as ZodUnionOptions, z_ZodUnknown as ZodUnknown, type z_ZodUnknownDef as ZodUnknownDef, type z_ZodUnrecognizedKeysIssue as ZodUnrecognizedKeysIssue, z_ZodVoid as ZodVoid, type z_ZodVoidDef as ZodVoidDef, z_addIssueToContext as addIssueToContext, anyType as any, arrayType as array, type z_arrayOutputType as arrayOutputType, type z_baseObjectInputType as baseObjectInputType, type z_baseObjectOutputType as baseObjectOutputType, bigIntType as bigint, booleanType as boolean, z_coerce as coerce, z_custom as custom, dateType as date, z_datetimeRegex as datetimeRegex, errorMap as defaultErrorMap, type z_deoptional as deoptional, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, z_getErrorMap as getErrorMap, z_getParsedType as getParsedType, type TypeOf as infer, type z_inferFlattenedErrors as inferFlattenedErrors, type z_inferFormattedError as inferFormattedError, type z_input as input, instanceOfType as instanceof, intersectionType as intersection, z_isAborted as isAborted, z_isAsync as isAsync, z_isDirty as isDirty, z_isValid as isValid, z_late as late, lazyType as lazy, literalType as literal, z_makeIssue as makeIssue, mapType as map, type z_mergeTypes as mergeTypes, nanType as nan, nativeEnumType as nativeEnum, neverType as never, type z_noUnrecognized as noUnrecognized, nullType as null, nullableType as nullable, numberType as number, objectType as object, type z_objectInputType as objectInputType, type z_objectOutputType as objectOutputType, z_objectUtil as objectUtil, z_oboolean as oboolean, z_onumber as onumber, optionalType as optional, z_ostring as ostring, type z_output as output, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, z_quotelessJson as quotelessJson, recordType as record, setType as set, z_setErrorMap as setErrorMap, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, type z_typeToFlattenedError as typeToFlattenedError, type z_typecast as typecast, undefinedType as undefined, unionType as union, unknownType as unknown, z_util as util, voidType as void }; -} - -// (No @packageDocumentation comment for this package) - -```