/// import { PortablePath } from '@yarnpkg/fslib'; import { Readable, Writable } from 'stream'; export declare type PipevpOptions = { cwd: PortablePath; env?: { [key: string]: string | undefined; }; strict?: boolean; stdin: Readable | null; stdout: Writable; stderr: Writable; }; export declare function pipevp(fileName: string, args: Array, { cwd, env, strict, stdin, stdout, stderr }: PipevpOptions): Promise<{ code: number; }>; export declare type ExecvpOptions = { cwd: PortablePath; env?: { [key: string]: string | undefined; }; encoding?: string; strict?: boolean; }; export declare function execvp(fileName: string, args: Array, opts: ExecvpOptions & { encoding: 'buffer'; }): Promise<{ code: number; stdout: Buffer; stderr: Buffer; }>; export declare function execvp(fileName: string, args: Array, opts: ExecvpOptions & { encoding: string; }): Promise<{ code: number; stdout: string; stderr: string; }>; export declare function execvp(fileName: string, args: Array, opts: ExecvpOptions): Promise<{ code: number; stdout: string; stderr: string; }>;