1*8d3f3824SCedric van Puttenimport { BasePackageManager } from './BasePackageManager';
2*8d3f3824SCedric van Puttenexport declare class YarnPackageManager extends BasePackageManager {
3*8d3f3824SCedric van Putten    readonly name = "yarn";
4*8d3f3824SCedric van Putten    readonly bin = "yarnpkg";
5*8d3f3824SCedric van Putten    readonly lockFile = "yarn.lock";
6*8d3f3824SCedric van Putten    /** Check if Yarn is running in offline mode, and add the `--offline` flag */
7*8d3f3824SCedric van Putten    private withOfflineFlagAsync;
8*8d3f3824SCedric van Putten    workspaceRoot(): YarnPackageManager | null;
9*8d3f3824SCedric van Putten    installAsync(flags?: string[]): import("../utils/spawn").PendingSpawnPromise<import("@expo/spawn-async").SpawnResult>;
10*8d3f3824SCedric van Putten    addAsync(namesOrFlags?: string[]): import("../utils/spawn").PendingSpawnPromise<import("@expo/spawn-async").SpawnResult>;
11*8d3f3824SCedric van Putten    addDevAsync(namesOrFlags?: string[]): import("../utils/spawn").PendingSpawnPromise<import("@expo/spawn-async").SpawnResult>;
12*8d3f3824SCedric van Putten    addGlobalAsync(namesOrFlags?: string[]): import("../utils/spawn").PendingSpawnPromise<import("@expo/spawn-async").SpawnResult>;
13*8d3f3824SCedric van Putten    removeAsync(namesOrFlags: string[]): import("@expo/spawn-async").SpawnPromise<import("@expo/spawn-async").SpawnResult>;
14*8d3f3824SCedric van Putten    removeDevAsync(namesOrFlags: string[]): import("@expo/spawn-async").SpawnPromise<import("@expo/spawn-async").SpawnResult>;
15*8d3f3824SCedric van Putten    removeGlobalAsync(namesOrFlags: string[]): import("@expo/spawn-async").SpawnPromise<import("@expo/spawn-async").SpawnResult>;
16*8d3f3824SCedric van Putten}
17