import { type Configuration } from 'webpack'; import type { FlatCliOptions } from '../../types/types-cli-options.js'; import { type EvolveEntryMap } from '../../types/types-entry-map.js'; import { type FlatEvolveOptions } from '../../types/types-options.js'; /** * Try to organization the configuraiton object of `webpack` * @param mode Enable production optimizations or development hints. * @param entryMap The only single one `servedEntry` or `toBuildEntry` * @param overrideOptions The manually override configuration options for flatjsEvolve */ export declare const loadWebpackConfig: (mode: "production" | "development", entryMap: EvolveEntryMap, evolveOptions: FlatEvolveOptions, cliOptions?: FlatCliOptions) => Promise>;