import type { GeneratorCore } from '@modern-js/codesmith'; import type { ExecaReturnValue } from '@modern-js/codesmith-utils/execa'; export * from './utils'; export declare class NpmAPI { protected readonly generatorCore: GeneratorCore; constructor(generatorCore: GeneratorCore); npmInstall({ cwd, registryUrl, ignoreScripts, }: { cwd?: string; registryUrl?: string; ignoreScripts?: boolean; useNvm?: boolean; }): Promise; yarnInstall({ cwd, registryUrl, ignoreScripts, }: { cwd?: string; registryUrl?: string; ignoreScripts?: boolean; useNvm?: boolean; }): Promise; pnpmInstall({ cwd, registryUrl, ignoreScripts, }: { cwd?: string; registryUrl?: string; ignoreScripts?: boolean; useNvm?: boolean; }): Promise; }