import * as unocss from 'unocss'; import * as vite_plugin_vue_devtools from 'vite-plugin-vue-devtools'; import { UserConfig } from 'vite'; import Components from 'unplugin-vue-components/vite'; import * as vitepress from 'vitepress'; import { UserConfig as UserConfig$1 } from 'vitepress'; declare const unocssConfig: unocss.UserConfig; /** * 获取常用的 vite 配置 * get common vite config */ declare function getViteConfig(options?: { /** * @default true * @see https://unocss.dev/ */ unocss?: unocss.UserConfig | boolean; /** * unplugin-vue-components options */ componentsOptions?: Parameters[0]; /** * custom components dirs */ componentsDirs?: string[]; /** * @default true */ vueDevTools?: vite_plugin_vue_devtools.VitePluginVueDevToolsOptions | boolean; }): UserConfig; declare const markdown: UserConfig$1['markdown']; declare const themeConfig: UserConfig$1['themeConfig']; /** * default UserConfig for VitePress */ declare const userConfig: UserConfig$1>; /** * 获取默认配置 * * - 例如: * - 当传入 `repo` 时,默认设置 `editLink` 和 `socialLinks` * - `editLink` 为 repo + `/edit/main/docs/:path` */ declare function getVitepressConfig(options?: { repo?: string; }): UserConfig$1; declare const componentsDir: string; declare const templatesDir: string; export { componentsDir, getViteConfig, getVitepressConfig, markdown, templatesDir, themeConfig, unocssConfig, userConfig };