import execa from 'execa'; export type PackageManagerResult = execa.ExecaReturnValue & { success: boolean; }; export type PackageManagerOptions = execa.Options & { cwd: string; }; /** * Run a package manager command. Returns the error result instead of throwing on failure. * @param manager The package manager to use * @param args Package manager command and arguments * @param options cwd must be specified in options to reduce the chance of accidentally running * commands in the wrong place. If it's definitely irrelevant in this case, use undefined. */ export declare function packageManager(manager: 'npm' | 'yarn' | 'pnpm', args: string[], options: PackageManagerOptions): Promise; //# sourceMappingURL=packageManager.d.ts.map