///
import childProcess from 'child_process';
import { Interfaces } from './types';
export interface Env {
[key: string]: string | undefined;
}
export interface ExecOptions {
spawn?: boolean;
env?: Env;
}
export declare function exec(command: string, options?: ExecOptions): Promise<{
stdout: string;
stderr: string;
} | childProcess.ChildProcess>;
export declare function getHostOS(): string;
export declare function getInterfaceType(): Interfaces;
export declare function homeDir(): string;
export declare function log(...args: any[]): void;
export declare function getStatePath(): string;
export declare function getConfigPath(): string;
export declare function setState(key: string, value: any): Promise;
export declare function getAllState(): Promise;
export declare function getState(key: string): Promise;
export declare function setConfig(key: string, value: string): Promise;
export declare function getConfig(key: string): Promise;
export declare function getAllConfig(): Promise