import { Config, Context } from "semantic-release";
import { NpmConfig } from "./interfaces/npm.interface";
import { PackageInfo } from "./interfaces/package-info.interface";
import { Npm } from "./npm";
import { NpmApi } from "./npm-api";
export declare class PackageInfoRetriever {
    private readonly npmApi;
    private readonly npm;
    constructor(npmApi: NpmApi, npm: Npm);
    getInfo(npmConfig: NpmConfig, context: Context & Config): Promise<PackageInfo | undefined>;
    private getBasicInfo;
}
