interface NpmHost { platform: NodeJS.Platform; execPath: string; env: NodeJS.ProcessEnv; exists: (p: string) => boolean; } /** npm's `bin/npm-cli.js` on Windows: the one npm itself reports when this * process runs under npm (`npm_execpath`), else the copy installed next to * node.exe, which is where the Windows Node installer puts it. */ export declare function windowsNpmCli(host?: NpmHost): string | undefined; /** `[command, args]` that runs `npm ` without a shell. */ export declare function npmInvocation(args: string[], host?: NpmHost): [string, string[]]; export {}; //# sourceMappingURL=npm-command.d.ts.map