import { BasePackageManager } from "./base-package-manager"; import { INodePackageManagerInstallOptions, INpmInstallResultInfo, INpmsResult } from "./declarations"; import { IChildProcess, IErrors, IFileSystem, IHostInfo, Server, IDictionary } from "./common/declarations"; export declare class YarnPackageManager extends BasePackageManager { private $errors; private $httpClient; private $logger; constructor($childProcess: IChildProcess, $errors: IErrors, $fs: IFileSystem, $hostInfo: IHostInfo, $httpClient: Server.IHttpClient, $logger: ILogger, $pacoteService: IPacoteService); install(packageName: string, pathToSave: string, config: INodePackageManagerInstallOptions): Promise; uninstall(packageName: string, config?: IDictionary, cwd?: string): Promise; view(packageName: string, config: Object): Promise; search(filter: string[], config: IDictionary): Promise; searchNpms(keyword: string): Promise; getRegistryPackageData(packageName: string): Promise; getCachePath(): Promise; }