import { Packager, InstallOptions, PruneOptions, AddOptions } from './packager-protocol'; export declare class Yarn implements Packager { get lockfileName(): string; get copyPackageSectionNames(): string[]; get mustCopyModules(): boolean; getProdDependencies(depth: number, cwd?: string): Promise<{ problems: never[]; dependencies: any; }>; readLockfile(lockfilePath: string): Promise; writeLockfile(lockfilePath: string, content: string): Promise; rebaseLockfile(pathToPackageRoot: string, lockfile: string): string; install(opts?: InstallOptions, cwd?: string): Promise; add(packages: string[], opts?: AddOptions, cwd?: string): Promise; prune(opts?: PruneOptions, cwd?: string): Promise; runScripts(scriptNames: string[], cwd?: string): Promise; } //# sourceMappingURL=yarn.d.ts.map