import { Environment, Plugin } from "vite"; //#region src/vite.d.ts /** Absolute path of the directory that will be served, or `undefined` when static * serving is off. Vite leaves `build.outDir` and a configured path relative to * `config.root`, so both are anchored to it rather than to `process.cwd()`. */ declare function resolveStaticDir(env: Environment, configured: string | boolean | undefined): string | undefined; /** Compute the value baked into `__UD_STATIC__`. Absolute paths pass through — * the user owns them. Otherwise we emit a path relative to the server entry so * the artifact is portable across filesystems. * * Derives from `resolveStaticDir` so the directory precompression walks and the * directory the server resolves at runtime cannot diverge. */ declare function resolveStaticHint(env: Environment, configured: string | boolean | undefined): string | false; declare function node(options?: { static?: string | boolean; importer?: string; }): Plugin[]; //#endregion export { node as default, node, resolveStaticDir, resolveStaticHint };