interface NpmCheck { latestVersion: string; currentVersion: string; lastChecked: Date | null; } export declare class NpmChecker { static check: NpmCheck; static initialize(): void; /** * Checks for updates for the current package * @returns {boolean} True if an update is available, false otherwise */ static isUpdateAvailable(): boolean; /** * Exits the program if an update is available * @returns void */ static exitIfUpdateAvailable(): void; /** * Upgrades the current package to the latest version * @returns {boolean} True if the upgrade was successful, false otherwise */ static upgradeIfNotLatestVersion(): boolean; private static updateVersions; /** * Gets spawn options for the current platform * @returns Spawn options with shell: true on Windows for proper command resolution */ private static getSpawnOptions; private static getCurrentVersion; private static getLatestVersion; private static ensureEnvironmentsDir; private static readVersionFile; private static saveVersionFile; private static getPackageName; } export {}; //# sourceMappingURL=npm.d.ts.map