Graduation / ui /.svelte-kit /ambient.d.ts
DuyTa's picture
Upload folder using huggingface_hub
bc20498 verified
// 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 OLLAMA_BASE_URL: string;
export const OPENAI_API_BASE_URL: string;
export const OPENAI_API_KEY: string;
export const SCARF_NO_ANALYTICS: string;
export const DO_NOT_TRACK: string;
export const ANONYMIZED_TELEMETRY: string;
export const WEBUI_NAME: string;
export const LESSOPEN: string;
export const CONDA_PROMPT_MODIFIER: string;
export const USER: string;
export const SSH_CLIENT: string;
export const npm_config_user_agent: string;
export const XDG_SESSION_TYPE: string;
export const GIT_ASKPASS: string;
export const npm_node_execpath: string;
export const SHLVL: string;
export const BROWSER: string;
export const npm_config_noproxy: string;
export const MOTD_SHOWN: string;
export const HOME: string;
export const CONDA_SHLVL: string;
export const OLDPWD: string;
export const TERM_PROGRAM_VERSION: string;
export const NVM_BIN: string;
export const VSCODE_IPC_HOOK_CLI: string;
export const npm_package_json: string;
export const NVM_INC: string;
export const npm_package_engines_node: string;
export const VSCODE_GIT_ASKPASS_MAIN: string;
export const VSCODE_GIT_ASKPASS_NODE: string;
export const SSL_CERT_FILE: string;
export const npm_config_userconfig: string;
export const npm_config_local_prefix: string;
export const DBUS_SESSION_BUS_ADDRESS: string;
export const npm_config_engine_strict: string;
export const COLORTERM: string;
export const _CE_M: string;
export const COLOR: string;
export const NVM_DIR: string;
export const npm_config_metrics_registry: string;
export const LOGNAME: string;
export const CONDA_ROOT: string;
export const _: string;
export const npm_config_prefix: string;
export const XDG_SESSION_CLASS: string;
export const TERM: string;
export const XDG_SESSION_ID: string;
export const npm_config_cache: string;
export const _CE_CONDA: string;
export const npm_config_node_gyp: string;
export const PATH: string;
export const NODE: string;
export const npm_package_name: string;
export const XDG_RUNTIME_DIR: string;
export const SSL_CERT_DIR: string;
export const LANG: string;
export const STY: string;
export const CONDA_PREFIX_1: string;
export const LS_COLORS: string;
export const VSCODE_GIT_IPC_HANDLE: string;
export const CONDA_PREFIX_2: string;
export const TERM_PROGRAM: string;
export const npm_lifecycle_script: string;
export const CONDA_PYTHON_EXE: string;
export const CONDA_PREFIX_3: string;
export const SHELL: string;
export const npm_package_version: string;
export const npm_lifecycle_event: string;
export const LESSCLOSE: string;
export const CONDA_DEFAULT_ENV: string;
export const WINDOW: string;
export const VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
export const npm_config_globalconfig: string;
export const npm_config_init_module: string;
export const PWD: string;
export const npm_execpath: string;
export const CONDA_EXE: string;
export const SSH_CONNECTION: string;
export const NVM_CD_FLAGS: string;
export const XDG_DATA_DIRS: string;
export const npm_config_global_prefix: string;
export const npm_package_engines_npm: string;
export const TERMCAP: string;
export const npm_command: string;
export const CONDA_PREFIX: string;
export const SGX_AESM_ADDR: string;
export const INIT_CWD: string;
export const EDITOR: 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: {
OLLAMA_BASE_URL: string;
OPENAI_API_BASE_URL: string;
OPENAI_API_KEY: string;
SCARF_NO_ANALYTICS: string;
DO_NOT_TRACK: string;
ANONYMIZED_TELEMETRY: string;
WEBUI_NAME: string;
LESSOPEN: string;
CONDA_PROMPT_MODIFIER: string;
USER: string;
SSH_CLIENT: string;
npm_config_user_agent: string;
XDG_SESSION_TYPE: string;
GIT_ASKPASS: string;
npm_node_execpath: string;
SHLVL: string;
BROWSER: string;
npm_config_noproxy: string;
MOTD_SHOWN: string;
HOME: string;
CONDA_SHLVL: string;
OLDPWD: string;
TERM_PROGRAM_VERSION: string;
NVM_BIN: string;
VSCODE_IPC_HOOK_CLI: string;
npm_package_json: string;
NVM_INC: string;
npm_package_engines_node: string;
VSCODE_GIT_ASKPASS_MAIN: string;
VSCODE_GIT_ASKPASS_NODE: string;
SSL_CERT_FILE: string;
npm_config_userconfig: string;
npm_config_local_prefix: string;
DBUS_SESSION_BUS_ADDRESS: string;
npm_config_engine_strict: string;
COLORTERM: string;
_CE_M: string;
COLOR: string;
NVM_DIR: string;
npm_config_metrics_registry: string;
LOGNAME: string;
CONDA_ROOT: string;
_: string;
npm_config_prefix: string;
XDG_SESSION_CLASS: string;
TERM: string;
XDG_SESSION_ID: string;
npm_config_cache: string;
_CE_CONDA: string;
npm_config_node_gyp: string;
PATH: string;
NODE: string;
npm_package_name: string;
XDG_RUNTIME_DIR: string;
SSL_CERT_DIR: string;
LANG: string;
STY: string;
CONDA_PREFIX_1: string;
LS_COLORS: string;
VSCODE_GIT_IPC_HANDLE: string;
CONDA_PREFIX_2: string;
TERM_PROGRAM: string;
npm_lifecycle_script: string;
CONDA_PYTHON_EXE: string;
CONDA_PREFIX_3: string;
SHELL: string;
npm_package_version: string;
npm_lifecycle_event: string;
LESSCLOSE: string;
CONDA_DEFAULT_ENV: string;
WINDOW: string;
VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
npm_config_globalconfig: string;
npm_config_init_module: string;
PWD: string;
npm_execpath: string;
CONDA_EXE: string;
SSH_CONNECTION: string;
NVM_CD_FLAGS: string;
XDG_DATA_DIRS: string;
npm_config_global_prefix: string;
npm_package_engines_npm: string;
TERMCAP: string;
npm_command: string;
CONDA_PREFIX: string;
SGX_AESM_ADDR: string;
INIT_CWD: string;
EDITOR: 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;
}
}