You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
681 B

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