/// <reference types="vite/client" />

interface ImportMetaEnv {
  /** 是否启用前端 Mock；默认关闭，仅限隔离前端开发时显式开启。 */
  readonly VITE_ENABLE_MOCK?: 'true' | 'false'
}

interface ImportMeta {
  readonly env: ImportMetaEnv
}

declare module '*.vue' {
  import type { DefineComponent } from 'vue'
  const component: DefineComponent<{}, {}, any>
  export default component
}
