import { Interfaces } from '@oclif/core'; import Yarn from './yarn'; export default class Plugins { config: Interfaces.Config; verbose: boolean; readonly yarn: Yarn; private readonly debug; constructor(config: Interfaces.Config); pjson(): Promise; list(): Promise<(Interfaces.PJSON.PluginTypes.User | Interfaces.PJSON.PluginTypes.Link)[]>; install(name: string, { tag, force }?: { tag?: string | undefined; force?: boolean | undefined; }): Promise; refresh(root: string, { prod }?: { prod?: boolean; }): Promise; link(p: string): Promise; add(plugin: Interfaces.PJSON.PluginTypes): Promise; remove(name: string): Promise; uninstall(name: string): Promise; update(): Promise; hasPlugin(name: string): Promise; yarnNodeVersion(): Promise; unfriendlyName(name: string): string | undefined; maybeUnfriendlyName(name: string): Promise; friendlyName(name: string): string; private createPJSON; private get pjsonPath(); private get npmRegistry(); private npmHasPackage; private savePJSON; private normalizePlugins; }