import webpack from 'webpack'; export type ConfigOptions = { /** * - default * - rsc: react server components */ arch?: 'default' | 'rsc'; watch?: boolean; target?: 'client' | 'server'; dependencies?: Record; mode?: 'production' | 'development'; /** * module federation shared */ shared?: Record; /** * entry */ entry?: string; output?: { filename?: string; path?: string; } & any; /** * module federation name */ name?: string; /** * module federation filename */ filename?: string; /** * module federation exposes */ exposes?: Record; publicPath?: string; template?: string; templateParameters?: Record; title?: string; minify?: Record; alias?: Record; externals?: Record; externalsPresets?: Record; usedExports?: boolean; /** * module federation remotes */ remotes?: Record; babelIncludes?: any[]; /** * dotenv path */ dotenvPath?: string; appDirectory?: string; outputPath?: string; presets?: any; cache?: boolean; cacheConfig?: string; defineProcessEnv?: boolean; minimize?: boolean; }; export declare function createConfig(options?: ConfigOptions): webpack.Configuration;