shadow/frontend/.svelte-kit/ambient.d.ts

180 lines
6.7 KiB
TypeScript
Raw Normal View History

2024-04-21 19:42:24 +01:00
// this file is generated — do not edit it
/// <reference types="@sveltejs/kit" />
/**
* 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).
*
* _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.
*
* ```ts
* import { API_KEY } from '$env/static/private';
* ```
*
* 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:
*
* ```
* MY_FEATURE_FLAG=""
* ```
*
* You can override `.env` values from the command line like so:
*
* ```bash
* MY_FEATURE_FLAG="enabled" npm run dev
* ```
*/
declare module '$env/static/private' {
export const TERM_SESSION_ID: string;
export const USER: string;
export const npm_config_user_agent: string;
export const SSH_CLIENT: string;
export const XDG_SESSION_TYPE: string;
export const BUN_INSTALL: string;
export const npm_node_execpath: string;
export const SHLVL: string;
export const MOTD_SHOWN: string;
export const HOME: string;
export const OLDPWD: string;
export const npm_package_json: string;
export const SSH_TTY: string;
export const TERMINAL_EMULATOR: string;
export const _INTELLIJ_FORCE_SET_GOPATH: string;
export const npm_config_local_prefix: string;
export const GOROOT: string;
export const DBUS_SESSION_BUS_ADDRESS: string;
export const GOLAND_JDK: string;
export const LOGNAME: string;
export const GO111MODULE: string;
export const _: string;
export const XDG_SESSION_CLASS: string;
export const REMOTE_DEV_LAUNCHER_NAME_FOR_USAGE: string;
export const TERM: string;
export const XDG_SESSION_ID: string;
export const PATH: string;
export const NODE: string;
export const npm_package_name: string;
export const XDG_RUNTIME_DIR: string;
export const LANG: string;
export const GOLAND_VM_OPTIONS: string;
export const SSH_AUTH_SOCK: string;
export const SHELL: string;
export const npm_package_version: string;
export const npm_lifecycle_event: string;
export const GOPATH: string;
export const NODE_PATH: string;
export const REMOTE_DEV_NON_INTERACTIVE: string;
export const GOLAND_PROPERTIES: string;
export const _INTELLIJ_FORCE_SET_GOROOT: string;
export const _INTELLIJ_FORCE_PREPEND_PATH: string;
export const GPG_TTY: string;
export const PWD: string;
export const npm_execpath: string;
export const IDEA_RESTART_VIA_EXIT_CODE: string;
export const SSH_CONNECTION: string;
export const _INTELLIJ_FORCE_SET_GO111MODULE: string;
export const NODE_ENV: string;
}
/**
* 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.
*
* Values are replaced statically at build time.
*
* ```ts
* import { PUBLIC_BASE_URL } from '$env/static/public';
* ```
*/
declare module '$env/static/public' {
}
/**
* 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).
*
* This module cannot be imported into client-side code.
*
* Dynamic environment variables cannot be used during prerendering.
*
* ```ts
* import { env } from '$env/dynamic/private';
* console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
* ```
*
* > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
*/
declare module '$env/dynamic/private' {
export const env: {
TERM_SESSION_ID: string;
USER: string;
npm_config_user_agent: string;
SSH_CLIENT: string;
XDG_SESSION_TYPE: string;
BUN_INSTALL: string;
npm_node_execpath: string;
SHLVL: string;
MOTD_SHOWN: string;
HOME: string;
OLDPWD: string;
npm_package_json: string;
SSH_TTY: string;
TERMINAL_EMULATOR: string;
_INTELLIJ_FORCE_SET_GOPATH: string;
npm_config_local_prefix: string;
GOROOT: string;
DBUS_SESSION_BUS_ADDRESS: string;
GOLAND_JDK: string;
LOGNAME: string;
GO111MODULE: string;
_: string;
XDG_SESSION_CLASS: string;
REMOTE_DEV_LAUNCHER_NAME_FOR_USAGE: string;
TERM: string;
XDG_SESSION_ID: string;
PATH: string;
NODE: string;
npm_package_name: string;
XDG_RUNTIME_DIR: string;
LANG: string;
GOLAND_VM_OPTIONS: string;
SSH_AUTH_SOCK: string;
SHELL: string;
npm_package_version: string;
npm_lifecycle_event: string;
GOPATH: string;
NODE_PATH: string;
REMOTE_DEV_NON_INTERACTIVE: string;
GOLAND_PROPERTIES: string;
_INTELLIJ_FORCE_SET_GOROOT: string;
_INTELLIJ_FORCE_PREPEND_PATH: string;
GPG_TTY: string;
PWD: string;
npm_execpath: string;
IDEA_RESTART_VIA_EXIT_CODE: string;
SSH_CONNECTION: string;
_INTELLIJ_FORCE_SET_GO111MODULE: string;
NODE_ENV: string;
[key: `PUBLIC_${string}`]: undefined;
[key: `${string}`]: string | undefined;
}
}
/**
* 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.
*
* 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.
*
* Dynamic environment variables cannot be used during prerendering.
*
* ```ts
* import { env } from '$env/dynamic/public';
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
* ```
*/
declare module '$env/dynamic/public' {
export const env: {
[key: `PUBLIC_${string}`]: string | undefined;
}
}