export declare type Options = { protocol?: string; hostname?: string; registry?: string; }; export declare function getNpmVersion(pkgName: string, options?: Options): Promise; export declare function getNpmVersions(pkgName: string, options?: Options): Promise; declare function npmVersionCheck(pkgName: string, v: string, options?: { protocol?: string; hostname?: string; }): Promise; export default npmVersionCheck;