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