import { UserConfig as UserConfig$1 } from 'vite'; interface UserConfig { title?: string; description?: string; themeConfig?: ThemeConfig; vite?: UserConfig$1; aiConfig?: AiConfig; } interface ThemeConfig { nav?: NavItemWithLink[]; sidebar?: Sidebar; footer?: Footer; } type NavItemWithLink = { text: string; link: string; }; interface Sidebar { [path: string]: SidebarGroup[]; } interface Footer { message: string; } interface SidebarGroup { text: string; items: SidebarItem[]; } type SidebarItem = { text: string; link: string; }; interface AiServer { ask: string; upload: string; } interface AiConfig { project: string; root?: string; include?: string[]; exclude?: string[]; server: AiServer; } declare function defineConfig(config: UserConfig): UserConfig; export { defineConfig };