UNPKG

679 BTypeScriptView Raw
1import { SemVer } from 'semver';
2import { Release } from './getLatestRelease';
3/**
4 * Logs out a message if the user's version is behind a stable version of React Native
5 */
6export declare function logIfUpdateAvailable(projectRoot: string): Promise<void>;
7type Update = {
8 upgrade: Release;
9 current: string;
10 name: string;
11};
12/**
13 * Finds the latest stables version of React Native > current version
14 */
15export declare function latest(projectRoot: string): Promise<Update | undefined>;
16/**
17 * Gets the current project's version parsed as Semver
18 */
19export declare function current(projectRoot: string): SemVer | undefined;
20export {};
21//# sourceMappingURL=index.d.ts.map
\No newline at end of file