///
import { SpawnOptions } from '@expo/spawn-async';
import { Transform } from 'stream';
import { Logger } from './PackageManager';
/** Exposed for testing */
export declare class PnpmStdoutTransform extends Transform {
private isPeerDepsWarning;
_transform(chunk: Buffer, encoding: string, callback: (error?: Error | null, data?: any) => void): void;
}
export declare class PnpmPackageManager {
options: SpawnOptions;
private log;
constructor({ cwd, log, silent }: {
cwd: string;
log?: Logger;
silent?: boolean;
});
get name(): string;
installAsync(): Promise;
addWithParametersAsync(names: string[], parameters: string[]): Promise;
addAsync(...names: string[]): Promise;
addDevAsync(...names: string[]): Promise;
addGlobalAsync(...names: string[]): Promise;
removeAsync(...names: string[]): Promise;
versionAsync(): Promise;
getConfigAsync(key: string): Promise;
removeLockfileAsync(): Promise;
cleanAsync(): Promise;
private _runAsync;
}