import * as Execa from 'execa';
import { Provider } from '../../';
import { Dir } from '../Dir';
export declare type Params = {
/**
* Which package manager should `runPackageScript` use?
*
* @default `'npm'`
*/
packageManager?: 'npm' | 'yarn' | 'pnpm';
/**
* Enable debug mode.
*
* When debug mode is enabled then commands will attach to the parent process stdio. This can be helpful
* when trying to see what a child process is doing via its emitted logs, errors, etc.
*
* @default false
*/
debug?: boolean;
};
export declare type Needs = Partial
;
export declare type Contributes = {
run(command: string, options?: Execa.SyncOptions): Execa.ExecaSyncReturnValue;
runPackageScript(command: string, options?: Execa.SyncOptions): Execa.ExecaSyncReturnValue;
runAsync(command: string, options?: Execa.SyncOptions): Execa.ExecaChildProcess;
runOrThrow(command: string, options?: Execa.SyncOptions): Execa.ExecaSyncReturnValue;
runOrThrowPackageScript(command: string, options?: Execa.SyncOptions): Execa.ExecaSyncReturnValue;
};
/**
* Create a Run provider.
*
* Run provider makes it easy to run child processes.
*
* It uses [Execa](https://github.com/sindresorhus/execa) under the hood.
*
* If upstream includes `Dir` provider then is used to get the default CWD for commands.
*/
export declare const create: (params?: Params | undefined) => Provider;
//# sourceMappingURL=Run.d.ts.map