UNPKG

754 BTypeScriptView Raw
1export declare const envVariablesPath = "/services/envs";
2export declare const EnvVariablesServer: unique symbol;
3export interface EnvVariablesServer {
4 getExecPath(): Promise<string>;
5 getVariables(): Promise<EnvVariable[]>;
6 getValue(key: string): Promise<EnvVariable | undefined>;
7 getConfigDirUri(): Promise<string>;
8 /**
9 * Resolves to a URI representing the current user's home directory.
10 */
11 getHomeDirUri(): Promise<string>;
12 /**
13 * Resolves to an array of URIs pointing to the available drives on the filesystem.
14 */
15 getDrives(): Promise<string[]>;
16}
17export interface EnvVariable {
18 readonly name: string;
19 readonly value: string | undefined;
20}
21//# sourceMappingURL=env-variables-protocol.d.ts.map
\No newline at end of file