/**
 *
 * Returns the name of package manager to use,
 * preferring yarn over npm if available
 *
 * @returns {String} - The package manager name
 */
declare type PackageName = 'npm' | 'yarn';
export declare function getPackageManager(): PackageName;
/**
 *
 * Returns the path to globally installed
 * npm packages, depending on the available
 * package manager determined by `getPackageManager`
 *
 * @returns {String} path - Path to global node_modules folder
 */
export declare function getPathToGlobalPackages(): string;
export declare function packageExists(packageName: string): boolean;
/**
 *
 * @param packageName
 * @param preMessage Message to show before the question
 */
export declare function promptInstallation(packageName: string, preMessage?: Function): Promise<boolean>;
export {};
