import type { Configuration, rspack as Rspack } from '@rspack/core'; import type { CompanionExtensionsConfig } from '../lib/companion-extensions/types.js'; import { type ConfigEnvTarget } from '../lib/config-loader.js'; import type { NormalizedBrowser } from '../lib/paths.js'; import type { ProjectStructure } from '../lib/project.js'; import type { BrowserDefaulted, BuildOptions, WebpackConfigOptions } from '../types.js'; export declare function createBuildCompilerConfig(input: { buildOptions: BrowserDefaulted | undefined; mergedBuildOptions: BuildOptions; zipDir: string | undefined; resolvedExtensionsConfig: CompanionExtensionsConfig | undefined; browser: NormalizedBrowser; resolvedMode: 'development' | 'production' | 'none'; stagingDistPath: string; distPath: string; projectStructure: ProjectStructure; packageJsonDir: string; envTarget: ConfigEnvTarget; liveDevSession: unknown; rspack: typeof Rspack; webpackConfig: (projectStructure: ProjectStructure, options: WebpackConfigOptions) => Configuration; }): Promise<{ metadataCommand: import("../types.js").SessionCommand; configOptions: WebpackConfigOptions; compilerConfig: import("@rspack/core").RspackOptions; useStagingSwap: boolean; displayDistPath: string; }>;