1 | import { Interfaces } from './types';
|
2 | export declare function exec(command: string): Promise<{
|
3 | stdout: string;
|
4 | stderr: string;
|
5 | }>;
|
6 | export declare function getHostOS(): string;
|
7 | export declare function getInterfaceType(): Interfaces;
|
8 | export declare function homeDir(): string;
|
9 | export declare function log(...args: any[]): void;
|
10 | export declare function getStatePath(): string;
|
11 | export declare function getConfigPath(): string;
|
12 | export declare function setState(key: string, value: any): Promise<void>;
|
13 | export declare function getAllState(): Promise<any>;
|
14 | export declare function getState(key: string): Promise<any>;
|
15 | export declare function setConfig(key: string, value: string): Promise<void>;
|
16 | export declare function getConfig(key: string): Promise<string>;
|
17 | export declare function getAllConfig(): Promise<object>;
|
18 | export declare function deleteConfig(key: string): Promise<boolean>;
|
19 | export declare function getSecret(key: string, hidden?: boolean): Promise<any>;
|
20 | export declare function setSecret(key: string, value: string): Promise<any>;
|
21 | export declare function track(tags: string[] | string, metadata: object): Promise<void>;
|
22 | export declare function events(start: string, end?: string): Promise<any>;
|