import type { Compiler, Configuration, RspackOptionsNormalized } from '@rspack/core'; type RspackConfigShape = Partial; /** * Apply rspack/react config for the compose path (e.g. `withReact`): * sync tweaks + push react-refresh into `config.plugins`. Plugins that * participate in rspack's lifecycle should call * `applyReactConfigSync(...)` + `applyReactHotReloadToCompiler(...)` * instead. */ export declare function applyReactConfig(options?: Record, config?: RspackConfigShape): void; export declare function applyReactConfigSync(config: RspackConfigShape): void; export declare function applyReactHotReloadToCompiler(compiler: Compiler): void; export {};