/// interface ImportMetaEnv { readonly VITE_API_BASE?: string /** 管理端 API 基址;默认与 `VITE_API_BASE` / 站内 `/api` 同源,仅前缀不同 */ readonly VITE_ADMIN_API_BASE?: string } interface ImportMeta { readonly env: ImportMetaEnv } declare module '@wangeditor/editor-for-vue' { import type { DefineComponent } from 'vue' export const Editor: DefineComponent export const Toolbar: DefineComponent } declare module 'bootstrap' { export class Modal { static getInstance(element: HTMLElement): Modal | null static getOrCreateInstance(element: HTMLElement): Modal show(): void hide(): void } export class Dropdown { static getInstance(element: HTMLElement): Dropdown | null static getOrCreateInstance(element: HTMLElement): Dropdown toggle(): void hide(): void } }