1import { SpawnOptions } from '@expo/spawn-async'; 2export declare type Logger = (...args: any[]) => void; 3export interface PackageManager { 4 installAsync(): Promise<void>; 5 addWithParametersAsync(names: string[], parameters: string[]): Promise<void>; 6 addAsync(...names: string[]): Promise<void>; 7 addDevAsync(...names: string[]): Promise<void>; 8 versionAsync(): Promise<string>; 9 getConfigAsync(key: string): Promise<string>; 10 removeLockfileAsync(): Promise<void>; 11 cleanAsync(): Promise<void>; 12} 13export declare function getPossibleProjectRoot(): string; 14export declare function spawnSudoAsync(command: string[], spawnOptions: SpawnOptions): Promise<void>; 15