/// <reference types="node" />
import { ExecOptions, SpawnOptions } from 'child_process';
export declare function executeAndControlProcess(command: string, args?: any[], options?: {
    spawnOptions?: SpawnOptions;
    timeout?: number;
}): {
    subProcess: import("child_process").ChildProcess;
    exitPromise: Promise<unknown>;
};
export declare function executeProcess(command: string, args?: any[], options?: {
    spawnOptions?: SpawnOptions;
    timeout?: number;
}): Promise<unknown>;
export declare function sh(command: string, options?: {
    spawnOptions?: SpawnOptions;
    timeout?: number;
}): Promise<unknown>;
export declare function execute(command: string, options?: ExecOptions): Promise<{
    stdout: string;
    stderr: string;
    code: number;
}>;
