blind_chat / .svelte-kit /ambient.d.ts
JoFrost
feat: add phi
0015338
raw
history blame
11.5 kB
// 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 MONGODB_URL: string;
export const MONGODB_DB_NAME: string;
export const MONGODB_DIRECT_CONNECTION: string;
export const COOKIE_NAME: string;
export const HF_ACCESS_TOKEN: string;
export const HF_API_ROOT: string;
export const SERPER_API_KEY: string;
export const SERPAPI_KEY: string;
export const OPENID_CLIENT_ID: string;
export const OPENID_CLIENT_SECRET: string;
export const OPENID_SCOPES: string;
export const OPENID_PROVIDER_URL: string;
export const USE_CLIENT_CERTIFICATE: string;
export const CERT_PATH: string;
export const KEY_PATH: string;
export const CA_PATH: string;
export const CLIENT_KEY_PASSWORD: string;
export const REJECT_UNAUTHORIZED: string;
export const MODELS: string;
export const OLD_MODELS: string;
export const PARQUET_EXPORT_DATASET: string;
export const PARQUET_EXPORT_HF_TOKEN: string;
export const PARQUET_EXPORT_SECRET: string;
export const RATE_LIMIT: string;
export const MESSAGES_BEFORE_LOGIN: string;
export const ACSetupSvcPort: string;
export const ACSvcPort: string;
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 DriverData: string;
export const EDITOR: string;
export const EFC_29500: string;
export const EnableLog: string;
export const GIT_ASKPASS: 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 NODE_EXE: string;
export const NPM_CLI_JS: string;
export const npm_command: string;
export const npm_config_cache: string;
export const npm_config_engine_strict: 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 NPM_PREFIX_NPM_CLI_JS: string;
export const NUMBER_OF_PROCESSORS: string;
export const OculusBase: string;
export const OneDrive: string;
export const OneDriveConsumer: string;
export const ORIGINAL_XDG_CURRENT_DESKTOP: string;
export const OS: string;
export const Path: string;
export const PATHEXT: 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 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 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 VSCODE_NONCE: string;
export const windir: 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' {
export const PUBLIC_ORIGIN: string;
export const PUBLIC_SHARE_PREFIX: string;
export const PUBLIC_GOOGLE_ANALYTICS_ID: string;
export const PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID: string;
export const PUBLIC_ANNOUNCEMENT_BANNERS: string;
export const PUBLIC_APP_NAME: string;
export const PUBLIC_APP_ASSETS: string;
export const PUBLIC_APP_COLOR: string;
export const PUBLIC_APP_DATA_SHARING: string;
export const PUBLIC_APP_DISCLAIMER: string;
export const PUBLIC_VERSION: string;
}
/**
* 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/master/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.
*
* ```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: {
MONGODB_URL: string;
MONGODB_DB_NAME: string;
MONGODB_DIRECT_CONNECTION: string;
COOKIE_NAME: string;
HF_ACCESS_TOKEN: string;
HF_API_ROOT: string;
SERPER_API_KEY: string;
SERPAPI_KEY: string;
OPENID_CLIENT_ID: string;
OPENID_CLIENT_SECRET: string;
OPENID_SCOPES: string;
OPENID_PROVIDER_URL: string;
USE_CLIENT_CERTIFICATE: string;
CERT_PATH: string;
KEY_PATH: string;
CA_PATH: string;
CLIENT_KEY_PASSWORD: string;
REJECT_UNAUTHORIZED: string;
MODELS: string;
OLD_MODELS: string;
PARQUET_EXPORT_DATASET: string;
PARQUET_EXPORT_HF_TOKEN: string;
PARQUET_EXPORT_SECRET: string;
RATE_LIMIT: string;
MESSAGES_BEFORE_LOGIN: string;
ACSetupSvcPort: string;
ACSvcPort: string;
ALLUSERSPROFILE: string;
APPDATA: string;
CHROME_CRASHPAD_PIPE_NAME: string;
COLOR: string;
COLORTERM: string;
CommonProgramFiles: string;
CommonProgramW6432: string;
COMPUTERNAME: string;
ComSpec: string;
DriverData: string;
EDITOR: string;
EFC_29500: string;
EnableLog: string;
GIT_ASKPASS: string;
HOME: string;
HOMEDRIVE: string;
HOMEPATH: string;
INIT_CWD: string;
LANG: string;
LOCALAPPDATA: string;
LOGONSERVER: string;
NODE: string;
NODE_ENV: string;
NODE_EXE: string;
NPM_CLI_JS: string;
npm_command: string;
npm_config_cache: string;
npm_config_engine_strict: 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;
NPM_PREFIX_NPM_CLI_JS: string;
NUMBER_OF_PROCESSORS: string;
OculusBase: string;
OneDrive: string;
OneDriveConsumer: string;
ORIGINAL_XDG_CURRENT_DESKTOP: string;
OS: string;
Path: string;
PATHEXT: 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;
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;
VSCODE_GIT_ASKPASS_EXTRA_ARGS: string;
VSCODE_GIT_ASKPASS_MAIN: string;
VSCODE_GIT_ASKPASS_NODE: string;
VSCODE_GIT_IPC_HANDLE: string;
VSCODE_INJECTION: string;
VSCODE_NONCE: string;
windir: 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.
*
* ```ts
* import { env } from '$env/dynamic/public';
* console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
* ```
*/
declare module '$env/dynamic/public' {
export const env: {
PUBLIC_ORIGIN: string;
PUBLIC_SHARE_PREFIX: string;
PUBLIC_GOOGLE_ANALYTICS_ID: string;
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID: string;
PUBLIC_ANNOUNCEMENT_BANNERS: string;
PUBLIC_APP_NAME: string;
PUBLIC_APP_ASSETS: string;
PUBLIC_APP_COLOR: string;
PUBLIC_APP_DATA_SHARING: string;
PUBLIC_APP_DISCLAIMER: string;
PUBLIC_VERSION: string;
[key: `PUBLIC_${string}`]: string | undefined;
}
}