// this file is generated — do not edit it /// /** * This module provides access to environment variables that are injected _statically_ into your bundle at build time and are limited to _private_ access. * * | | Runtime | Build time | * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ | * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) | * | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) | * * Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination. * * **_Private_ access:** * * - This module cannot be imported into client-side code * - This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured) * * For example, given the following build time environment: * * ```env * ENVIRONMENT=production * PUBLIC_BASE_URL=http://site.com * ``` * * With the default `publicPrefix` and `privatePrefix`: * * ```ts * import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/private'; * * console.log(ENVIRONMENT); // => "production" * console.log(PUBLIC_BASE_URL); // => throws error during build * ``` * * The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values. */ declare module '$env/static/private' { export const ACSetupSvcPort: string; export const ACSvcPort: string; export const ALLUSERSPROFILE: string; export const ANDROID_SDK_HOME: string; export const APPDATA: string; export const APPLICATIONINSIGHTS_CONFIGURATION_CONTENT: string; export const APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: string; export const APPLICATION_INSIGHTS_NO_STATSBEAT: string; export const CHROME_CRASHPAD_PIPE_NAME: string; export const CLAUDECODE: string; export const CLAUDE_AGENT_SDK_VERSION: string; export const CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING: string; export const CLAUDE_CODE_ENTRYPOINT: string; export const COLOR: string; export const COMMONPROGRAMFILES: string; export const CommonProgramW6432: string; export const COMPUTERNAME: string; export const COMSPEC: string; export const COPILOT_OTEL_ENABLED: string; export const COPILOT_OTEL_EXPORTER_TYPE: string; export const COPILOT_OTEL_FILE_EXPORTER_PATH: string; export const COREPACK_ENABLE_AUTO_PIN: string; export const CUDA_PATH: string; export const CUDA_PATH_V10_1: string; export const CUDA_PATH_V12_0: string; export const CUDA_PATH_V12_4: string; export const CUDA_PATH_V13_1: string; export const CUDA_PATH_V13_2: string; export const DriverData: string; export const EDITOR: string; export const ELECTRON_RUN_AS_NODE: string; export const EXEPATH: string; export const FPS_BROWSER_APP_PROFILE_STRING: string; export const FPS_BROWSER_USER_PROFILE_STRING: string; export const GIT_EDITOR: string; export const GOPATH: string; export const HOME: string; export const HOMEDRIVE: string; export const HOMEPATH: string; export const INIT_CWD: string; export const LOCALAPPDATA: string; export const LOGONSERVER: string; export const MSYSTEM: string; export const NODE: string; export const NoDefaultCurrentDirectoryInExePath: string; export const NODE_ENV: string; export const NODE_UNC_HOST_ALLOWLIST: string; export const npm_command: string; export const npm_config_cache: string; export const npm_config_globalconfig: string; export const npm_config_global_prefix: string; export const npm_config_init_module: string; export const npm_config_local_prefix: string; export const npm_config_metrics_registry: string; export const npm_config_node_gyp: string; export const npm_config_noproxy: string; export const npm_config_prefix: string; export const npm_config_userconfig: string; export const npm_config_user_agent: string; export const npm_execpath: string; export const npm_lifecycle_event: string; export const npm_lifecycle_script: string; export const npm_node_execpath: string; export const npm_package_json: string; export const npm_package_name: string; export const npm_package_version: string; export const NUMBER_OF_PROCESSORS: string; export const NVCUDASAMPLES10_1_ROOT: string; export const NVCUDASAMPLES_ROOT: string; export const NVTOOLSEXT_PATH: string; export const OLDPWD: string; export const OneDrive: string; export const OneDriveConsumer: string; export const OS: string; export const OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: string; export const OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT: string; export const PATH: string; export const PATHEXT: string; export const PLINK_PROTOCOL: string; export const PROCESSOR_ARCHITECTURE: string; export const PROCESSOR_IDENTIFIER: string; export const PROCESSOR_LEVEL: string; export const PROCESSOR_REVISION: string; export const ProgramData: string; export const PROGRAMFILES: string; export const ProgramW6432: string; export const PROMPT: string; export const PSModulePath: string; export const PUBLIC: string; export const PWD: string; export const PyCharm: string; export const QtMsBuild: string; export const RlsSvcPort: string; export const SESSIONNAME: string; export const SHELL: string; export const SHLVL: string; export const SYSTEMDRIVE: string; export const SYSTEMROOT: string; export const TEMP: string; export const TERM: string; export const TMP: string; export const USERDOMAIN: string; export const USERDOMAIN_ROAMINGPROFILE: string; export const USERNAME: string; export const USERPROFILE: string; export const VIRTUAL_ENV: string; export const VSCODE_CODE_CACHE_PATH: string; export const VSCODE_CRASH_REPORTER_PROCESS_TYPE: string; export const VSCODE_CWD: string; export const VSCODE_DOTNET_INSTALL_TOOL_ORIGINAL_HOME: string; export const VSCODE_ESM_ENTRYPOINT: string; export const VSCODE_HANDLES_UNCAUGHT_ERRORS: string; export const VSCODE_IPC_HOOK: string; export const VSCODE_L10N_BUNDLE_LOCATION: string; export const VSCODE_NLS_CONFIG: string; export const VSCODE_PID: string; export const VsPythonPath: string; export const WebStorm: string; export const WINDIR: string; export const _: string; } /** * This module provides access to environment variables that are injected _statically_ into your bundle at build time and are _publicly_ accessible. * * | | Runtime | Build time | * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ | * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) | * | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) | * * Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination. * * **_Public_ access:** * * - This module _can_ be imported into client-side code * - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included * * For example, given the following build time environment: * * ```env * ENVIRONMENT=production * PUBLIC_BASE_URL=http://site.com * ``` * * With the default `publicPrefix` and `privatePrefix`: * * ```ts * import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/public'; * * console.log(ENVIRONMENT); // => throws error during build * console.log(PUBLIC_BASE_URL); // => "http://site.com" * ``` * * The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values. */ declare module '$env/static/public' { } /** * This module provides access to environment variables set _dynamically_ at runtime and that are limited to _private_ access. * * | | Runtime | Build time | * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ | * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) | * | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) | * * Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`. * * **_Private_ access:** * * - This module cannot be imported into client-side code * - This module includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured) * * > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter. * * > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed: * > * > ```env * > MY_FEATURE_FLAG= * > ``` * > * > You can override `.env` values from the command line like so: * > * > ```sh * > MY_FEATURE_FLAG="enabled" npm run dev * > ``` * * For example, given the following runtime environment: * * ```env * ENVIRONMENT=production * PUBLIC_BASE_URL=http://site.com * ``` * * With the default `publicPrefix` and `privatePrefix`: * * ```ts * import { env } from '$env/dynamic/private'; * * console.log(env.ENVIRONMENT); // => "production" * console.log(env.PUBLIC_BASE_URL); // => undefined * ``` */ declare module '$env/dynamic/private' { export const env: { ACSetupSvcPort: string; ACSvcPort: string; ALLUSERSPROFILE: string; ANDROID_SDK_HOME: string; APPDATA: string; APPLICATIONINSIGHTS_CONFIGURATION_CONTENT: string; APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: string; APPLICATION_INSIGHTS_NO_STATSBEAT: string; CHROME_CRASHPAD_PIPE_NAME: string; CLAUDECODE: string; CLAUDE_AGENT_SDK_VERSION: string; CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING: string; CLAUDE_CODE_ENTRYPOINT: string; COLOR: string; COMMONPROGRAMFILES: string; CommonProgramW6432: string; COMPUTERNAME: string; COMSPEC: string; COPILOT_OTEL_ENABLED: string; COPILOT_OTEL_EXPORTER_TYPE: string; COPILOT_OTEL_FILE_EXPORTER_PATH: string; COREPACK_ENABLE_AUTO_PIN: string; CUDA_PATH: string; CUDA_PATH_V10_1: string; CUDA_PATH_V12_0: string; CUDA_PATH_V12_4: string; CUDA_PATH_V13_1: string; CUDA_PATH_V13_2: string; DriverData: string; EDITOR: string; ELECTRON_RUN_AS_NODE: string; EXEPATH: string; FPS_BROWSER_APP_PROFILE_STRING: string; FPS_BROWSER_USER_PROFILE_STRING: string; GIT_EDITOR: string; GOPATH: string; HOME: string; HOMEDRIVE: string; HOMEPATH: string; INIT_CWD: string; LOCALAPPDATA: string; LOGONSERVER: string; MSYSTEM: string; NODE: string; NoDefaultCurrentDirectoryInExePath: string; NODE_ENV: string; NODE_UNC_HOST_ALLOWLIST: string; npm_command: string; npm_config_cache: string; npm_config_globalconfig: string; npm_config_global_prefix: string; npm_config_init_module: string; npm_config_local_prefix: string; npm_config_metrics_registry: string; npm_config_node_gyp: string; npm_config_noproxy: string; npm_config_prefix: string; npm_config_userconfig: string; npm_config_user_agent: string; npm_execpath: string; npm_lifecycle_event: string; npm_lifecycle_script: string; npm_node_execpath: string; npm_package_json: string; npm_package_name: string; npm_package_version: string; NUMBER_OF_PROCESSORS: string; NVCUDASAMPLES10_1_ROOT: string; NVCUDASAMPLES_ROOT: string; NVTOOLSEXT_PATH: string; OLDPWD: string; OneDrive: string; OneDriveConsumer: string; OS: string; OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: string; OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT: string; PATH: string; PATHEXT: string; PLINK_PROTOCOL: string; PROCESSOR_ARCHITECTURE: string; PROCESSOR_IDENTIFIER: string; PROCESSOR_LEVEL: string; PROCESSOR_REVISION: string; ProgramData: string; PROGRAMFILES: string; ProgramW6432: string; PROMPT: string; PSModulePath: string; PUBLIC: string; PWD: string; PyCharm: string; QtMsBuild: string; RlsSvcPort: string; SESSIONNAME: string; SHELL: string; SHLVL: string; SYSTEMDRIVE: string; SYSTEMROOT: string; TEMP: string; TERM: string; TMP: string; USERDOMAIN: string; USERDOMAIN_ROAMINGPROFILE: string; USERNAME: string; USERPROFILE: string; VIRTUAL_ENV: string; VSCODE_CODE_CACHE_PATH: string; VSCODE_CRASH_REPORTER_PROCESS_TYPE: string; VSCODE_CWD: string; VSCODE_DOTNET_INSTALL_TOOL_ORIGINAL_HOME: string; VSCODE_ESM_ENTRYPOINT: string; VSCODE_HANDLES_UNCAUGHT_ERRORS: string; VSCODE_IPC_HOOK: string; VSCODE_L10N_BUNDLE_LOCATION: string; VSCODE_NLS_CONFIG: string; VSCODE_PID: string; VsPythonPath: string; WebStorm: string; WINDIR: string; _: string; [key: `PUBLIC_${string}`]: undefined; [key: `${string}`]: string | undefined; } } /** * This module provides access to environment variables set _dynamically_ at runtime and that are _publicly_ accessible. * * | | Runtime | Build time | * | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ | * | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) | * | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) | * * Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`. * * **_Public_ access:** * * - This module _can_ be imported into client-side code * - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included * * > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter. * * > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed: * > * > ```env * > MY_FEATURE_FLAG= * > ``` * > * > You can override `.env` values from the command line like so: * > * > ```sh * > MY_FEATURE_FLAG="enabled" npm run dev * > ``` * * For example, given the following runtime environment: * * ```env * ENVIRONMENT=production * PUBLIC_BASE_URL=http://example.com * ``` * * With the default `publicPrefix` and `privatePrefix`: * * ```ts * import { env } from '$env/dynamic/public'; * console.log(env.ENVIRONMENT); // => undefined, not public * console.log(env.PUBLIC_BASE_URL); // => "http://example.com" * ``` * * ``` * * ``` */ declare module '$env/dynamic/public' { export const env: { [key: `PUBLIC_${string}`]: string | undefined; } }