UNPKG

499 BTypeScriptView Raw
1import { Interfaces } from '@oclif/core';
2import { LogLevel } from './log-level.js';
3import { ExecOptions, Output } from './spawn.js';
4export declare class Yarn {
5 private bin;
6 private config;
7 private logLevel;
8 constructor({ config, logLevel }: {
9 config: Interfaces.Config;
10 logLevel: LogLevel;
11 });
12 exec(args: string[] | undefined, options: ExecOptions): Promise<Output>;
13 install(args: string[], opts: ExecOptions): Promise<Output>;
14 private findYarn;
15}