import { configSchema } from "./core/config.js";
import { unpluginRouterCodeSplitterFactory } from "./core/router-code-splitter-plugin.js";
import { unpluginRouterGeneratorFactory } from "./core/router-generator-plugin.js";
import { unpluginRouterComposedFactory } from "./core/router-composed-plugin.js";
import { createVitePlugin } from "unplugin";
//#region src/vite.ts
/**
* @example
* ```ts
* export default defineConfig({
*   plugins: [tanstackRouterGenerator()],
*   // ...
* })
* ```
*/
var tanstackRouterGenerator = createVitePlugin(unpluginRouterGeneratorFactory);
/**
* @example
* ```ts
* export default defineConfig({
*   plugins: [tanStackRouterCodeSplitter()],
*   // ...
* })
* ```
*/
var tanStackRouterCodeSplitter = createVitePlugin(unpluginRouterCodeSplitterFactory);
/**
* @example
* ```ts
* export default defineConfig({
*   plugins: [tanstackRouter()],
*   // ...
* })
* ```
*/
var tanstackRouter = createVitePlugin(unpluginRouterComposedFactory);
/**
* @deprecated Use `tanstackRouter` instead.
*/
var TanStackRouterVite = tanstackRouter;
//#endregion
export { TanStackRouterVite, configSchema, tanstackRouter as default, tanstackRouter, tanStackRouterCodeSplitter, tanstackRouterGenerator };

//# sourceMappingURL=vite.js.map