import { SpawnOptions } from '@expo/spawn-async'; export declare type Logger = (...args: any[]) => void; export interface PackageManager { installAsync(): Promise; addWithParametersAsync(names: string[], parameters: string[]): Promise; addAsync(...names: string[]): Promise; addDevAsync(...names: string[]): Promise; versionAsync(): Promise; getConfigAsync(key: string): Promise; removeLockfileAsync(): Promise; cleanAsync(): Promise; } export declare function getPossibleProjectRoot(): string; export declare function spawnSudoAsync(command: string[], spawnOptions: SpawnOptions): Promise;