import { PnpmOptions, Dependencies } from '../types';
import { InstalledPackage } from '../install/installMultiple';
import { Shrinkwrap } from '../fs/shrinkwrap';
import { MemoizedFunc } from '../memoize';
export declare type InstalledPackages = {
    [name: string]: InstalledPackage;
};
export declare type InstallContext = {
    installs: InstalledPackages;
    installationSequence: string[];
    shrinkwrap: Shrinkwrap;
    installed: Set<string>;
    fetchingLocker: MemoizedFunc<Boolean>;
};
export declare function install(maybeOpts?: PnpmOptions): Promise<void>;
/**
 * Perform installation.
 *
 * @example
 *     install({'lodash': '1.0.0', 'foo': '^2.1.0' }, { silent: true })
 */
export declare function installPkgs(fuzzyDeps: string[] | Dependencies, maybeOpts?: PnpmOptions): Promise<void>;
