import type { PluginOption } from "vite"; import type { BaseFileSystemRouter } from "../router.ts"; export declare const fileSystemWatcher: (getRouter: (environment: string) => BaseFileSystemRouter | undefined, moduleId: string, /** Runs on every route change, before the module is invalidated. */ onReload?: () => void | Promise) => PluginOption;