import { Store } from 'package-store';
import { StrictPnpmOptions } from '../types';
import { Shrinkwrap } from 'pnpm-shrinkwrap';
import { PackageJson } from '@pnpm/types';
export declare type PnpmContext = {
    pkg: PackageJson;
    storeIndex: Store;
    storePath: string;
    root: string;
    existsWantedShrinkwrap: boolean;
    existsCurrentShrinkwrap: boolean;
    currentShrinkwrap: Shrinkwrap;
    wantedShrinkwrap: Shrinkwrap;
    skipped: Set<string>;
};
export default function getContext(opts: StrictPnpmOptions, installType?: 'named' | 'general'): Promise<PnpmContext>;
