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