/**
 * Admin 宿主 Vite 一站式插件 + 别名辅助。
 *
 * 插件顺序须对齐旧版宿主：
 *   resolve 插件 → vue → tailwind / eps → autoImport
 * autoImport 不能压在 vue() 前面。
 *
 * Admin **不要** `...coreAlias(root)` 映 `@core/admin`：会被 optimizeDeps 按 `@core/...`
 * 预构建，拆掉 setCrudConfig / vm-search 共享的 style 单例。
 */
import type { Plugin, ProxyOptions } from 'vite';
export { ensureMicroAppProxy, coreAlias } from './vite-micro-proxy.js';
export { createAdminAutoImportPlugins } from './vite-auto-import.js';
export { vomeAdminNoOptimizePlugin, vomeHostEsbuildPlugin, vomePeerDepsPlugin, vomeResolvePlugin, } from './vite-resolve.js';
export type CreateAdminViteOptions = {
    root: string;
    /** 宿主 src，默认 root/src */
    hostSrc?: string;
};
export declare const adminDedupe: readonly ["vue", "vue-router", "pinia", "@vueuse/core", "reka-ui", "clsx", "tailwind-merge", "@lucide/vue", "lucide-vue-next", "wujie"];
/**
 * 宿主 optimizeDeps.include：把易踩 CJS/ESM 的 peer 预构建进 Vite。
 * wujie 尤其必须：其 esm 依赖 `@babel/runtime/regenerator` default。
 */
export declare const adminOptimizeDepsInclude: readonly ["dompurify", "marked", "vue-sonner", "pinia", "wujie", "@lucide/vue", "reka-ui", "xlsx"];
/** peer + resolve + 禁 optimize（放在 vue() 之前） */
export declare function createAdminResolvePlugins(opts: CreateAdminViteOptions): Plugin[];
/** optimizeDeps.esbuildOptions.plugins */
export declare function createAdminOptimizeDepsPlugins(opts: CreateAdminViteOptions): import("esbuild").Plugin[];
/** 开发代理：补 `/vome/`、`/socket/` */
export declare function adminDevProxy<T extends Record<string, string | ProxyOptions>>(proxy: T): T & {
    '/vome/'?: ProxyOptions;
    '/socket/'?: ProxyOptions;
};
/**
 * 开发 watch.ignored：跳过 eps 产物与其它 node_modules。
 * 放行 vome-core，否则升包后新增的 dist/admin 下 vm-*.vue 不会被 Components 扫到。
 */
export declare const adminWatchIgnored: Array<string | ((id: string) => boolean)>;
