backwards.dev/.svelte-kit/ambient.d.ts
2025-01-11 08:26:48 -05:00

282 lines
10 KiB
TypeScript

// 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://svelte.dev/docs/kit/$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://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured).
*
* _Unlike_ [`$env/dynamic/private`](https://svelte.dev/docs/kit/$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 ALLUSERSPROFILE: string;
export const APPDATA: string;
export const CHROME_CRASHPAD_PIPE_NAME: string;
export const COLOR: string;
export const COLORTERM: string;
export const CommonProgramFiles: string;
export const CommonProgramW6432: string;
export const COMPUTERNAME: string;
export const ComSpec: string;
export const CSII_ENTITIESVERSION: string;
export const CSII_INSTALLATIONPATH: string;
export const CSII_LOCALMODSPATH: string;
export const CSII_MANAGEDPATH: string;
export const CSII_MODPOSTPROCESSORPATH: string;
export const CSII_MODPUBLISHERPATH: string;
export const CSII_PATHSET: string;
export const CSII_PDXCACHEPATH: string;
export const CSII_PDXMODSPATH: string;
export const CSII_TOOLPATH: string;
export const CSII_UNITYMODPROJECTPATH: string;
export const CSII_UNITYVERSION: string;
export const CSII_USERDATAPATH: string;
export const DriverData: string;
export const EDITOR: string;
export const EFC_13360: string;
export const FPS_BROWSER_APP_PROFILE_STRING: string;
export const FPS_BROWSER_USER_PROFILE_STRING: string;
export const GIT_ASKPASS: string;
export const GOPATH: string;
export const HOME: string;
export const HOMEDRIVE: string;
export const HOMEPATH: string;
export const INIT_CWD: string;
export const LANG: string;
export const LOCALAPPDATA: string;
export const LOGONSERVER: string;
export const NODE: string;
export const NODE_ENV: 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_author_name: string;
export const npm_config_init_license: string;
export const npm_config_init_module: string;
export const npm_config_local_prefix: string;
export const npm_config_node_gyp: string;
export const npm_config_noproxy: string;
export const npm_config_npm_version: 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 OculusBase: string;
export const OneDrive: string;
export const OPENSSL_ia32cap: string;
export const ORIGINAL_XDG_CURRENT_DESKTOP: string;
export const OS: string;
export const Path: string;
export const PATHEXT: string;
export const PNPM_HOME: 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 PT8HOME: string;
export const PUBLIC: string;
export const RlsSvcPort: string;
export const SESSIONNAME: string;
export const SystemDrive: string;
export const SystemRoot: string;
export const TEMP: string;
export const TERM_PROGRAM: string;
export const TERM_PROGRAM_VERSION: string;
export const TMP: string;
export const USERDOMAIN: string;
export const USERDOMAIN_ROAMINGPROFILE: string;
export const USERNAME: string;
export const USERPROFILE: string;
export const VBOX_MSI_INSTALL_PATH: string;
export const VS160COMCOMNTOOLS: string;
export const VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
export const VSCODE_GIT_ASKPASS_MAIN: string;
export const VSCODE_GIT_ASKPASS_NODE: string;
export const VSCODE_GIT_IPC_HANDLE: string;
export const VSCODE_INJECTION: string;
export const windir: string;
export const __PSLockDownPolicy: string;
}
/**
* Similar to [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/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://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`. 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).
*
* 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: {
ALLUSERSPROFILE: string;
APPDATA: string;
CHROME_CRASHPAD_PIPE_NAME: string;
COLOR: string;
COLORTERM: string;
CommonProgramFiles: string;
CommonProgramW6432: string;
COMPUTERNAME: string;
ComSpec: string;
CSII_ENTITIESVERSION: string;
CSII_INSTALLATIONPATH: string;
CSII_LOCALMODSPATH: string;
CSII_MANAGEDPATH: string;
CSII_MODPOSTPROCESSORPATH: string;
CSII_MODPUBLISHERPATH: string;
CSII_PATHSET: string;
CSII_PDXCACHEPATH: string;
CSII_PDXMODSPATH: string;
CSII_TOOLPATH: string;
CSII_UNITYMODPROJECTPATH: string;
CSII_UNITYVERSION: string;
CSII_USERDATAPATH: string;
DriverData: string;
EDITOR: string;
EFC_13360: string;
FPS_BROWSER_APP_PROFILE_STRING: string;
FPS_BROWSER_USER_PROFILE_STRING: string;
GIT_ASKPASS: string;
GOPATH: string;
HOME: string;
HOMEDRIVE: string;
HOMEPATH: string;
INIT_CWD: string;
LANG: string;
LOCALAPPDATA: string;
LOGONSERVER: string;
NODE: string;
NODE_ENV: string;
npm_command: string;
npm_config_cache: string;
npm_config_globalconfig: string;
npm_config_global_prefix: string;
npm_config_init_author_name: string;
npm_config_init_license: string;
npm_config_init_module: string;
npm_config_local_prefix: string;
npm_config_node_gyp: string;
npm_config_noproxy: string;
npm_config_npm_version: 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;
OculusBase: string;
OneDrive: string;
OPENSSL_ia32cap: string;
ORIGINAL_XDG_CURRENT_DESKTOP: string;
OS: string;
Path: string;
PATHEXT: string;
PNPM_HOME: string;
PROCESSOR_ARCHITECTURE: string;
PROCESSOR_IDENTIFIER: string;
PROCESSOR_LEVEL: string;
PROCESSOR_REVISION: string;
ProgramData: string;
ProgramFiles: string;
ProgramW6432: string;
PROMPT: string;
PSModulePath: string;
PT8HOME: string;
PUBLIC: string;
RlsSvcPort: string;
SESSIONNAME: string;
SystemDrive: string;
SystemRoot: string;
TEMP: string;
TERM_PROGRAM: string;
TERM_PROGRAM_VERSION: string;
TMP: string;
USERDOMAIN: string;
USERDOMAIN_ROAMINGPROFILE: string;
USERNAME: string;
USERPROFILE: string;
VBOX_MSI_INSTALL_PATH: string;
VS160COMCOMNTOOLS: string;
VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
VSCODE_GIT_ASKPASS_MAIN: string;
VSCODE_GIT_ASKPASS_NODE: string;
VSCODE_GIT_IPC_HANDLE: string;
VSCODE_INJECTION: string;
windir: string;
__PSLockDownPolicy: string;
[key: `PUBLIC_${string}`]: undefined;
[key: `${string}`]: string | undefined;
}
}
/**
* Similar to [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/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;
}
}