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

declare interface ViteEnv {
  readonly VITE_APP_ENV: 'DEV' | 'PROD'
  readonly VITE_APP_NAME: string

  readonly VITE_PORT: number
  readonly VITE_PUBLIC_PATH: string
  readonly VITE_ROUTER_MODE: 'hash' | 'h5'
  readonly VITE_VITEST: boolean
  readonly VITE_HIDE_HOME: boolean
}

interface ImportMetaEnv extends ViteEnv {}

interface ImportMeta {
  readonly env: ImportMetaEnv
}
