import { ConfigPackageManagers, PackageManager } from '../Config/config';
/**
 * Return the package manager in use based different features. First, by
 * identifying the current runner through the `npm_config_user_agent` environment
 * variable. It such variable is not set, which is common for global runs,
 * attempts to identify the runner by locating the global `gobstones-scripts`
 * command. If no match is found, defaults to `npm`.
 *
 * @param availablePackageManagers - The list of all available package managers.
 * @param defaultPackageManager The default package manager to use.
 *
 * @returns The package manager in use
 */
export declare const getInUsePackageManager: (availablePackageManagers: ConfigPackageManagers, defaultPackageManager?: PackageManager) => PackageManager;
//# sourceMappingURL=getInUsePackageManager.d.ts.map