1 | export declare const isWindows: boolean;
|
2 | export declare const isOSX: boolean;
|
3 | export declare const EOL: string;
|
4 | export type CMD = [string, string[]];
|
5 | export declare function cmd(command: string, ...args: string[]): CMD;
|
6 | export declare namespace OS {
|
7 | |
8 |
|
9 |
|
10 | enum Type {
|
11 | Windows = "Windows",
|
12 | Linux = "Linux",
|
13 | OSX = "OSX"
|
14 | }
|
15 | |
16 |
|
17 |
|
18 |
|
19 | function type(): OS.Type;
|
20 | const backend: {
|
21 | type: typeof type;
|
22 | isWindows: boolean;
|
23 | isOSX: boolean;
|
24 | EOL: string;
|
25 | };
|
26 | }
|
27 | export declare const OSBackendProviderPath = "/os";
|
28 | export declare const OSBackendProvider: unique symbol;
|
29 | export interface OSBackendProvider {
|
30 | getBackendOS(): Promise<OS.Type>;
|
31 | }
|
32 |
|
\ | No newline at end of file |