import { type ExecaReturnValue, execa } from '@modern-js/codesmith-utils/execa'; export declare function execaWithStreamLog(command: string, args: string[], options: Record): execa.ExecaChildProcess; export declare function runInstallWithNvm(command: string, options: Record): Promise; export declare function npmInstall({ cwd, registryUrl, ignoreScripts, useNvm, }: { cwd: string; registryUrl?: string; ignoreScripts?: boolean; useNvm?: boolean; }): Promise; export declare function yarnInstall({ cwd, registryUrl, ignoreScripts, useNvm, }: { cwd: string; registryUrl?: string; ignoreScripts?: boolean; useNvm?: boolean; }): Promise; export declare function pnpmInstall({ cwd, registryUrl, ignoreScripts, useNvm, }: { cwd: string; registryUrl?: string; ignoreScripts?: boolean; useNvm?: boolean; }): Promise;