UNPKG

939 BTypeScriptView Raw
1import { Interfaces } from './types';
2export declare function exec(command: string): Promise<{
3 stdout: string;
4 stderr: string;
5} | Error>;
6export declare function getHostOS(): string;
7export declare function getInterfaceType(): Interfaces;
8export declare function homeDir(): string;
9export declare function log(...args: any[]): void;
10export declare function getStatePath(): string;
11export declare function getConfigPath(): string;
12export declare function setState(key: string, value: any): Promise<void>;
13export declare function getState(key: string): Promise<any>;
14export declare function setConfig(key: string, value: any): Promise<void>;
15export declare function getConfig(key: string): Promise<any>;
16export declare function getSecret(key: string): Promise<any>;
17export declare function setSecret(key: string, value: string): Promise<any>;
18export declare function track(tags: string[] | string, metadata: object): Promise<void>;