import { UnpluginFactory } from 'unplugin'; import { Config } from './config.js'; import { HmrStyle } from './hmr.js'; import { RouterPluginContext } from './router-plugin-context.js'; /** * This plugin adds HMR support for file routes. * It is only added to the composed plugin in dev when autoCodeSplitting is disabled, since the code splitting plugin * handles HMR for code-split routes itself. */ export declare function createRouterHmrPlugin(options: Partial Config)> | undefined, routerPluginContext: RouterPluginContext, hmrStyle?: HmrStyle): ReturnType | undefined>>; export declare const unpluginRouterHmrFactory: UnpluginFactory | undefined>;