1 | export declare const DISPLAY_VERSION: string;
|
2 | export declare function isDeveloperBuild(): boolean;
|
3 | export declare function versionNumber(): string;
|
4 | export declare class VersionCheckTTL {
|
5 | static timestampFilePath(): string;
|
6 | private readonly file;
|
7 | private readonly ttlSecs;
|
8 | constructor(file?: string, ttlSecs?: number);
|
9 | hasExpired(): Promise<boolean>;
|
10 | update(latestVersion?: string): Promise<void>;
|
11 | }
|
12 | export declare function latestVersionIfHigher(currentVersion: string, cacheFile: VersionCheckTTL): Promise<string | null>;
|
13 | export declare function displayVersionMessage(currentVersion?: string, versionCheckCache?: VersionCheckTTL): Promise<void>;
|