UNPKG

aws-cdk

Version:

AWS CDK CLI, the command line tool for CDK apps

14 lines (13 loc) 674 B
export declare function displayVersion(): string; export declare function isDeveloperBuild(): boolean; export declare function versionNumber(): string; export declare class VersionCheckTTL { static timestampFilePath(): string; private readonly file; private readonly ttlSecs; constructor(file?: string, ttlSecs?: number); hasExpired(): Promise<boolean>; update(latestVersion?: string): Promise<void>; } export declare function latestVersionIfHigher(currentVersion: string, cacheFile: VersionCheckTTL): Promise<string | null>; export declare function displayVersionMessage(currentVersion?: string, versionCheckCache?: VersionCheckTTL): Promise<void>;