import { Plugin } from 'vite'; /** * Env Plugin options. */ interface EnvOptions { /** * prefix for client-side injection * @default 'VUE_APP' */ prefix: string; /** * client-side env path * @default 'process.env' */ mountedPath: 'process.env' | 'import.meta.env'; /** * write to process.env * vite default not,whilte vue-cli yes * @default false */ ignoreProcessEnv: boolean; } declare type UserOptions = Partial; declare function envCompatible(userOptions?: UserOptions): Plugin; export { type UserOptions as EnvCompatibleOptions, envCompatible as default };