import { type RuleSetRule } from 'webpack'; import { type EntryMapItem } from '../../types/types-entry-map.js'; import { type FlatEvolveOptions } from '../../types/types-options.js'; /** * Actually, style-loader is the one that is responsible for CSS HMR * https://github.com/webpack-contrib/style-loader/blob/master/src/index.js#L31-L42 * @param serveMode * @param entryMapItem * @param evolveOptions `builtin` loaders */ export declare const webpackRuleCss: (serveMode: boolean, entryMapItem: EntryMapItem, evolveOptions: FlatEvolveOptions, useCssModule?: boolean) => RuleSetRule;