import { PackageJson } from '@pnpm/types';
import { PackageSpec } from '..';
import { Got } from '../../network/got';
export interface PackageMeta {
    'dist-tag': {
        [name: string]: string;
    };
    versions: {
        [name: string]: PackageInRegistry;
    };
}
export declare type PackageInRegistry = PackageJson & {
    dist: {
        integrity?: string;
        shasum: string;
        tarball: string;
    };
};
export default function loadPkgMetaNonCached(spec: PackageSpec, opts: {
    storePath: string;
    got: Got;
    metaCache: Map<string, PackageMeta>;
    offline: boolean;
    registry: string;
    downloadPriority: number;
}): Promise<PackageMeta>;
