/**
 * some utilities for interfacing with npm in the `tap plugin` command
 */
import { LoadedConfig } from '@tapjs/config';
export declare const npmFindCwd: (projectRoot: string) => Promise<string>;
export declare const npmExe: string;
/**
 * Run an npm command in the background, returning the result
 */
export declare const npmBg: (args: string[], npmCwd: string) => import("child_process").SpawnSyncReturns<string>;
export declare const install: (pkgs: string[], config: LoadedConfig) => Promise<void>;
export declare const uninstall: (pkgs: string[], config: LoadedConfig) => Promise<void>;
//# sourceMappingURL=npm.d.ts.map