export default function createResolver(pnpmOpts: {
    rawNpmConfig: object;
    metaCache: Map<string, object>;
    store: string;
    cert?: string;
    key?: string;
    ca?: string;
    strictSsl?: boolean;
    proxy?: string;
    httpsProxy?: string;
    localAddress?: string;
    userAgent?: string;
    offline?: boolean;
    preferOffline?: boolean;
    fetchRetries?: number;
    fetchRetryFactor?: number;
    fetchRetryMintimeout?: number;
    fetchRetryMaxtimeout?: number;
}): (wantedDependency: ({
    alias?: string | undefined;
    pref?: string | undefined;
} & {
    alias: string;
    pref: string;
}) | ({
    alias?: string | undefined;
    pref?: string | undefined;
} & {
    alias: string;
}) | ({
    alias?: string | undefined;
    pref?: string | undefined;
} & {
    pref: string;
}), opts: {
    registry: string;
    prefix: string;
}) => Promise<any>;
