1 | export interface CSpellEnvironmentVariables {
|
2 | |
3 |
|
4 |
|
5 |
|
6 | CSPELL_ENABLE_DICTIONARY_LOGGING?: string;
|
7 | |
8 |
|
9 |
|
10 | CSPELL_ENABLE_DICTIONARY_LOG_FILE?: string;
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | CSPELL_ENABLE_DICTIONARY_LOG_FIELDS?: string;
|
19 | CSPELL_GLOB_ROOT?: string;
|
20 | }
|
21 | export type EnvironmentKeys = keyof CSpellEnvironmentVariables;
|
22 | type EnvironmentKeyNames = {
|
23 | [K in EnvironmentKeys]: K;
|
24 | };
|
25 | export declare const environmentKeys: EnvironmentKeyNames;
|
26 | export declare function getEnvironmentVariables(): CSpellEnvironmentVariables;
|
27 | export declare function setEnvironmentVariable<K extends EnvironmentKeys>(key: K, value: CSpellEnvironmentVariables[K]): void;
|
28 | export declare function getEnvironmentVariable<K extends EnvironmentKeys>(key: K): CSpellEnvironmentVariables[K] | undefined;
|
29 | export declare function truthy(value: string | undefined): boolean;
|
30 | export {};
|
31 |
|
\ | No newline at end of file |