import { InstallContext } from '../api/install';
import { Dependencies } from '../types';
import { Got } from '../network/got';
import { ResolvedDependencies } from 'pnpm-lockfile';
import { Resolution, PackageSpec, PackageMeta } from '../resolve';
export declare type PkgAddress = {
    nodeId: string;
    pkgId: string;
};
export declare type InstalledPackage = {
    id: string;
    resolution: Resolution;
    srcPath?: string;
    dev: boolean;
    optional: boolean;
    fetchingFiles: Promise<Boolean>;
    path: string;
    specRaw: string;
    name: string;
    version: string;
    peerDependencies: Dependencies;
    optionalDependencies: Set<string>;
    hasBundledDependencies: boolean;
    localLocation: string;
};
export default function installMultiple(ctx: InstallContext, specs: PackageSpec[], options: {
    force: boolean;
    prefix: string;
    referencedFrom: string;
    storePath: string;
    localRegistry: string;
    registry: string;
    metaCache: Map<string, PackageMeta>;
    got: Got;
    keypath: string[];
    parentNodeId: string;
    currentDepth: number;
    resolvedDependencies?: ResolvedDependencies;
    depth: number;
    engineStrict: boolean;
    nodeVersion: string;
    offline: boolean;
    isInstallable?: boolean;
    rawNpmConfig: Object;
    nodeModules: string;
    update: boolean;
}): Promise<PkgAddress[]>;
