/// <reference types="vite/client" />
/// <reference types="@vue/compiler-sfc" />

// 声明全局变量
declare const __APP_VERSION__: string
declare const __BUILD_TIME__: string

interface ImportMetaEnv {
  // 基础配置
  readonly NODE_ENV: 'development' | 'production' | 'test'
  readonly VITE_ENV: 'dev' | 'test' | 'pre' | 'prod'
  readonly MODE: string
  readonly VITE_APP_TITLE: string
  readonly VITE_API_BASE_URL: string
}

interface ImportMeta {
  readonly env: ImportMetaEnv
}
