|
| 1 | + |
| 2 | +// this file is generated — do not edit it |
| 3 | + |
| 4 | + |
| 5 | +/// <reference types="@sveltejs/kit" /> |
| 6 | + |
| 7 | +/** |
| 8 | + * Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured). |
| 9 | + * |
| 10 | + * _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination. |
| 11 | + * |
| 12 | + * ```ts |
| 13 | + * import { API_KEY } from '$env/static/private'; |
| 14 | + * ``` |
| 15 | + * |
| 16 | + * Note that all 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: |
| 17 | + * |
| 18 | + * ``` |
| 19 | + * MY_FEATURE_FLAG="" |
| 20 | + * ``` |
| 21 | + * |
| 22 | + * You can override `.env` values from the command line like so: |
| 23 | + * |
| 24 | + * ```bash |
| 25 | + * MY_FEATURE_FLAG="enabled" npm run dev |
| 26 | + * ``` |
| 27 | + */ |
| 28 | +declare module '$env/static/private' { |
| 29 | + export const SHELL: string; |
| 30 | + export const SESSION_MANAGER: string; |
| 31 | + export const COLORTERM: string; |
| 32 | + export const XDG_CONFIG_DIRS: string; |
| 33 | + export const XDG_SESSION_PATH: string; |
| 34 | + export const COREPACK_ENABLE_DOWNLOAD_PROMPT: string; |
| 35 | + export const HISTCONTROL: string; |
| 36 | + export const XDG_MENU_PREFIX: string; |
| 37 | + export const GTK_IM_MODULE: string; |
| 38 | + export const FNM_ARCH: string; |
| 39 | + export const PTYXIS_PROFILE: string; |
| 40 | + export const HISTSIZE: string; |
| 41 | + export const HOSTNAME: string; |
| 42 | + export const ICEAUTHORITY: string; |
| 43 | + export const GUESTFISH_OUTPUT: string; |
| 44 | + export const SSH_AUTH_SOCK: string; |
| 45 | + export const MEMORY_PRESSURE_WRITE: string; |
| 46 | + export const FNM_NODE_DIST_MIRROR: string; |
| 47 | + export const HOMEBREW_PREFIX: string; |
| 48 | + export const DESKTOP_SESSION: string; |
| 49 | + export const GTK_RC_FILES: string; |
| 50 | + export const GDK_CORE_DEVICE_EVENTS: string; |
| 51 | + export const GPG_TTY: string; |
| 52 | + export const EDITOR: string; |
| 53 | + export const XDG_SEAT: string; |
| 54 | + export const PWD: string; |
| 55 | + export const LOGNAME: string; |
| 56 | + export const XDG_SESSION_DESKTOP: string; |
| 57 | + export const XDG_SESSION_TYPE: string; |
| 58 | + export const SYSTEMD_EXEC_PID: string; |
| 59 | + export const _: string; |
| 60 | + export const XAUTHORITY: string; |
| 61 | + export const SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS: string; |
| 62 | + export const GUESTFISH_RESTORE: string; |
| 63 | + export const XKB_DEFAULT_MODEL: string; |
| 64 | + export const GTK2_RC_FILES: string; |
| 65 | + export const HOME: string; |
| 66 | + export const COREPACK_ROOT: string; |
| 67 | + export const SSH_ASKPASS: string; |
| 68 | + export const LANG: string; |
| 69 | + export const FNM_COREPACK_ENABLED: string; |
| 70 | + export const LS_COLORS: string; |
| 71 | + export const _JAVA_AWT_WM_NONREPARENTING: string; |
| 72 | + export const XDG_CURRENT_DESKTOP: string; |
| 73 | + export const npm_package_version: string; |
| 74 | + export const MEMORY_PRESSURE_WATCH: string; |
| 75 | + export const VTE_VERSION: string; |
| 76 | + export const WAYLAND_DISPLAY: string; |
| 77 | + export const GUESTFISH_PS1: string; |
| 78 | + export const XDG_SEAT_PATH: string; |
| 79 | + export const INVOCATION_ID: string; |
| 80 | + export const MANAGERPID: string; |
| 81 | + export const INIT_CWD: string; |
| 82 | + export const STEAM_FRAME_FORCE_CLOSE: string; |
| 83 | + export const KDE_SESSION_UID: string; |
| 84 | + export const INFOPATH: string; |
| 85 | + export const XKB_DEFAULT_LAYOUT: string; |
| 86 | + export const XDG_SESSION_CLASS: string; |
| 87 | + export const TERM: string; |
| 88 | + export const npm_package_name: string; |
| 89 | + export const LESSOPEN: string; |
| 90 | + export const PROJECT_CWD: string; |
| 91 | + export const USER: string; |
| 92 | + export const HOMEBREW_CELLAR: string; |
| 93 | + export const QT_WAYLAND_RECONNECT: string; |
| 94 | + export const KDE_SESSION_VERSION: string; |
| 95 | + export const PAM_KWALLET5_LOGIN: string; |
| 96 | + export const SUDO_ASKPASS: string; |
| 97 | + export const DISPLAY: string; |
| 98 | + export const npm_lifecycle_event: string; |
| 99 | + export const SHLVL: string; |
| 100 | + export const GUESTFISH_INIT: string; |
| 101 | + export const HOMEBREW_REPOSITORY: string; |
| 102 | + export const FNM_VERSION_FILE_STRATEGY: string; |
| 103 | + export const XDG_VTNR: string; |
| 104 | + export const XDG_SESSION_ID: string; |
| 105 | + export const MANAGERPIDFDID: string; |
| 106 | + export const npm_config_user_agent: string; |
| 107 | + export const npm_execpath: string; |
| 108 | + export const XDG_RUNTIME_DIR: string; |
| 109 | + export const FNM_RESOLVE_ENGINES: string; |
| 110 | + export const DEBUGINFOD_URLS: string; |
| 111 | + export const npm_package_json: string; |
| 112 | + export const BUN_INSTALL: string; |
| 113 | + export const DEBUGINFOD_IMA_CERT_PATH: string; |
| 114 | + export const KDEDIRS: string; |
| 115 | + export const BERRY_BIN_FOLDER: string; |
| 116 | + export const JOURNAL_STREAM: string; |
| 117 | + export const XDG_DATA_DIRS: string; |
| 118 | + export const KDE_FULL_SESSION: string; |
| 119 | + export const PATH: string; |
| 120 | + export const DBUS_SESSION_BUS_ADDRESS: string; |
| 121 | + export const KDE_APPLICATIONS_AS_SCOPE: string; |
| 122 | + export const MAIL: string; |
| 123 | + export const FNM_DIR: string; |
| 124 | + export const PTYXIS_VERSION: string; |
| 125 | + export const FNM_MULTISHELL_PATH: string; |
| 126 | + export const BREW_BASH_COMPLETION: string; |
| 127 | + export const npm_node_execpath: string; |
| 128 | + export const FLATPAK_TTY_PROGRESS: string; |
| 129 | + export const FNM_LOGLEVEL: string; |
| 130 | + export const OLDPWD: string; |
| 131 | + export const NODE_ENV: string; |
| 132 | +} |
| 133 | + |
| 134 | +/** |
| 135 | + * Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code. |
| 136 | + * |
| 137 | + * Values are replaced statically at build time. |
| 138 | + * |
| 139 | + * ```ts |
| 140 | + * import { PUBLIC_BASE_URL } from '$env/static/public'; |
| 141 | + * ``` |
| 142 | + */ |
| 143 | +declare module '$env/static/public' { |
| 144 | + |
| 145 | +} |
| 146 | + |
| 147 | +/** |
| 148 | + * This module provides access to runtime environment variables, as 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://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured). |
| 149 | + * |
| 150 | + * This module cannot be imported into client-side code. |
| 151 | + * |
| 152 | + * Dynamic environment variables cannot be used during prerendering. |
| 153 | + * |
| 154 | + * ```ts |
| 155 | + * import { env } from '$env/dynamic/private'; |
| 156 | + * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE); |
| 157 | + * ``` |
| 158 | + * |
| 159 | + * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter. |
| 160 | + */ |
| 161 | +declare module '$env/dynamic/private' { |
| 162 | + export const env: { |
| 163 | + SHELL: string; |
| 164 | + SESSION_MANAGER: string; |
| 165 | + COLORTERM: string; |
| 166 | + XDG_CONFIG_DIRS: string; |
| 167 | + XDG_SESSION_PATH: string; |
| 168 | + COREPACK_ENABLE_DOWNLOAD_PROMPT: string; |
| 169 | + HISTCONTROL: string; |
| 170 | + XDG_MENU_PREFIX: string; |
| 171 | + GTK_IM_MODULE: string; |
| 172 | + FNM_ARCH: string; |
| 173 | + PTYXIS_PROFILE: string; |
| 174 | + HISTSIZE: string; |
| 175 | + HOSTNAME: string; |
| 176 | + ICEAUTHORITY: string; |
| 177 | + GUESTFISH_OUTPUT: string; |
| 178 | + SSH_AUTH_SOCK: string; |
| 179 | + MEMORY_PRESSURE_WRITE: string; |
| 180 | + FNM_NODE_DIST_MIRROR: string; |
| 181 | + HOMEBREW_PREFIX: string; |
| 182 | + DESKTOP_SESSION: string; |
| 183 | + GTK_RC_FILES: string; |
| 184 | + GDK_CORE_DEVICE_EVENTS: string; |
| 185 | + GPG_TTY: string; |
| 186 | + EDITOR: string; |
| 187 | + XDG_SEAT: string; |
| 188 | + PWD: string; |
| 189 | + LOGNAME: string; |
| 190 | + XDG_SESSION_DESKTOP: string; |
| 191 | + XDG_SESSION_TYPE: string; |
| 192 | + SYSTEMD_EXEC_PID: string; |
| 193 | + _: string; |
| 194 | + XAUTHORITY: string; |
| 195 | + SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS: string; |
| 196 | + GUESTFISH_RESTORE: string; |
| 197 | + XKB_DEFAULT_MODEL: string; |
| 198 | + GTK2_RC_FILES: string; |
| 199 | + HOME: string; |
| 200 | + COREPACK_ROOT: string; |
| 201 | + SSH_ASKPASS: string; |
| 202 | + LANG: string; |
| 203 | + FNM_COREPACK_ENABLED: string; |
| 204 | + LS_COLORS: string; |
| 205 | + _JAVA_AWT_WM_NONREPARENTING: string; |
| 206 | + XDG_CURRENT_DESKTOP: string; |
| 207 | + npm_package_version: string; |
| 208 | + MEMORY_PRESSURE_WATCH: string; |
| 209 | + VTE_VERSION: string; |
| 210 | + WAYLAND_DISPLAY: string; |
| 211 | + GUESTFISH_PS1: string; |
| 212 | + XDG_SEAT_PATH: string; |
| 213 | + INVOCATION_ID: string; |
| 214 | + MANAGERPID: string; |
| 215 | + INIT_CWD: string; |
| 216 | + STEAM_FRAME_FORCE_CLOSE: string; |
| 217 | + KDE_SESSION_UID: string; |
| 218 | + INFOPATH: string; |
| 219 | + XKB_DEFAULT_LAYOUT: string; |
| 220 | + XDG_SESSION_CLASS: string; |
| 221 | + TERM: string; |
| 222 | + npm_package_name: string; |
| 223 | + LESSOPEN: string; |
| 224 | + PROJECT_CWD: string; |
| 225 | + USER: string; |
| 226 | + HOMEBREW_CELLAR: string; |
| 227 | + QT_WAYLAND_RECONNECT: string; |
| 228 | + KDE_SESSION_VERSION: string; |
| 229 | + PAM_KWALLET5_LOGIN: string; |
| 230 | + SUDO_ASKPASS: string; |
| 231 | + DISPLAY: string; |
| 232 | + npm_lifecycle_event: string; |
| 233 | + SHLVL: string; |
| 234 | + GUESTFISH_INIT: string; |
| 235 | + HOMEBREW_REPOSITORY: string; |
| 236 | + FNM_VERSION_FILE_STRATEGY: string; |
| 237 | + XDG_VTNR: string; |
| 238 | + XDG_SESSION_ID: string; |
| 239 | + MANAGERPIDFDID: string; |
| 240 | + npm_config_user_agent: string; |
| 241 | + npm_execpath: string; |
| 242 | + XDG_RUNTIME_DIR: string; |
| 243 | + FNM_RESOLVE_ENGINES: string; |
| 244 | + DEBUGINFOD_URLS: string; |
| 245 | + npm_package_json: string; |
| 246 | + BUN_INSTALL: string; |
| 247 | + DEBUGINFOD_IMA_CERT_PATH: string; |
| 248 | + KDEDIRS: string; |
| 249 | + BERRY_BIN_FOLDER: string; |
| 250 | + JOURNAL_STREAM: string; |
| 251 | + XDG_DATA_DIRS: string; |
| 252 | + KDE_FULL_SESSION: string; |
| 253 | + PATH: string; |
| 254 | + DBUS_SESSION_BUS_ADDRESS: string; |
| 255 | + KDE_APPLICATIONS_AS_SCOPE: string; |
| 256 | + MAIL: string; |
| 257 | + FNM_DIR: string; |
| 258 | + PTYXIS_VERSION: string; |
| 259 | + FNM_MULTISHELL_PATH: string; |
| 260 | + BREW_BASH_COMPLETION: string; |
| 261 | + npm_node_execpath: string; |
| 262 | + FLATPAK_TTY_PROGRESS: string; |
| 263 | + FNM_LOGLEVEL: string; |
| 264 | + OLDPWD: string; |
| 265 | + NODE_ENV: string; |
| 266 | + [key: `PUBLIC_${string}`]: undefined; |
| 267 | + [key: `${string}`]: string | undefined; |
| 268 | + } |
| 269 | +} |
| 270 | + |
| 271 | +/** |
| 272 | + * Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code. |
| 273 | + * |
| 274 | + * Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead. |
| 275 | + * |
| 276 | + * Dynamic environment variables cannot be used during prerendering. |
| 277 | + * |
| 278 | + * ```ts |
| 279 | + * import { env } from '$env/dynamic/public'; |
| 280 | + * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE); |
| 281 | + * ``` |
| 282 | + */ |
| 283 | +declare module '$env/dynamic/public' { |
| 284 | + export const env: { |
| 285 | + [key: `PUBLIC_${string}`]: string | undefined; |
| 286 | + } |
| 287 | +} |
0 commit comments