export default class PackageUpdater { private _incompatible; private _currentVersion; private _newestVersion; private _registry; private _pkg; constructor(pkg?: any, registry?: string); start(): void; check(): void; update(): void; render(): string; generateUpdateCmd(registry: string, pkg?: any): string; }