export interface UpdateNotifierOptions { readonly pkg: { readonly name: string; readonly version: string; }; readonly updateCheckInterval: number; } export interface UpdateNotifierInstance { readonly notify: (options: { readonly defer: boolean; readonly message: string; }) => void; } export type UpdateNotifier = (options: UpdateNotifierOptions) => UpdateNotifierInstance; export interface NotifyIfCliOutdatedOptions { readonly currentVersion?: string; readonly updateNotifier?: UpdateNotifier; } export declare const CLI_PACKAGE_NAME = "@ingraft/cli"; export declare const UPDATE_CHECK_INTERVAL_MS: number; export declare const UPDATE_BANNER_MESSAGE = "Update available: {packageName} {currentVersion} -> {latestVersion}\nRun npm install -g {packageName}@latest to upgrade."; export declare function notifyIfCliOutdated({ currentVersion, updateNotifier: notifier }?: NotifyIfCliOutdatedOptions): void; //# sourceMappingURL=update-notifier.d.ts.map