///
import { SpawnSyncOptions } from 'child_process';
/**
* Log a meaningful semantic error message sans stack track and then crash
* the program with exit code 1. Parameters are a passthrough to `console.error`.
*/
export declare function fatal(errOrMsg: string | Error, context?: Record): never;
export declare type SuccessfulRunResult = {
command: string;
stderr: null | string;
stdout: null | string;
signal: null | string;
exitCode: null | number;
error: null | Error;
};
export declare type RunOptions = Omit & {
envAdditions?: Record;
require?: boolean;
};
export declare function runSync(commandRaw: string, options?: RunOptions): SuccessfulRunResult;
export declare function run(commandRaw: string, options?: RunOptions): Promise;
export declare const createRunner: (cwd: string) => typeof runSync;
export declare function clearConsole(): void;
//# sourceMappingURL=index.d.ts.map