import { BaseCommand } from '@yarnpkg/cli'; import { Report, CommandContext } from '@yarnpkg/core'; import { Project } from '@yarnpkg/core'; import { PortablePath } from '@yarnpkg/fslib'; import { Usage } from 'clipanion'; export default class PluginImportSourcesCommand extends BaseCommand { static paths: string[][]; static usage: Usage; installPath: string | undefined; repository: string; branch: string; noMinify: boolean; force: boolean; name: string; execute(): Promise<0 | 1>; } export type BuildAndSavePluginsSpec = { context: CommandContext; noMinify: boolean; }; export declare function buildAndSavePlugin(pluginSpec: string, { context, noMinify }: BuildAndSavePluginsSpec, { project, report, target }: { project: Project; report: Report; target: PortablePath; }): Promise;