/** * npm registry check module for auto-update * * Fetches the latest version from the npm registry and manages * the stale-while-revalidate cache pattern. */ /** * Fetch the latest version of nori-skillsets from the npm registry. * * @returns The latest version string, or null on any failure */ export declare const fetchLatestVersionFromNpm: () => Promise; /** * Refresh the version cache by checking npm if the cache is stale. * Preserves the dismissed_version field when refreshing. * Does not throw on failure. */ export declare const refreshVersionCache: () => Promise; /** * Check if an update is available based on cached version data. * Returns null if no update is available or if the update is dismissed. * Filters out prerelease versions and 0.0.0 development versions. * * @param args - Arguments * @param args.currentVersion - The currently running version * * @returns Object with latestVersion if update available, or null */ export declare const getAvailableUpdate: (args: { currentVersion: string; }) => Promise<{ latestVersion: string; } | null>; //# sourceMappingURL=npmRegistryCheck.d.ts.map