export { pluginReplaceGlobalVariables }; export { getVirtualModuleCodeGlobalVariables }; export type _LoadDeclareGlobal__VIKE__IS = never; import type { Plugin } from 'vite'; import { type VikeConfigInternal } from '../shared/resolveVikeConfigInternal.js'; import '../assertEnvVite.js'; declare global { var __VIKE__IS_DEBUG: boolean; /** Like `import.meta.env.SSR` but works for `node_modules/` packages with `ssr.external` */ var __VIKE__IS_CLIENT: boolean; /** Like `import.meta.env.DEV` but works for `node_modules/` packages with `ssr.external` */ var __VIKE__IS_DEV: boolean; /** Whether the client gets the error page's pageContext from the server: the error page has a server-only hook and not every page is pre-rendered */ var __VIKE__FETCH_PAGE_CONTEXT_OF_ERROR_PAGE_FROM_SERVER: boolean; /** Whether the code was processed by Vite */ var __VIKE__NO_EXTERNAL: true | undefined; } declare function pluginReplaceGlobalVariables(): Plugin[]; declare function getVirtualModuleCodeGlobalVariables(isClientSide: boolean, isDev: boolean, vikeConfig: VikeConfigInternal, importStatements: string[]): string[];