export type CLIUpgradeInfo = { current?: string; latest?: string; type?: string; }; export declare const isCliGloballyInstalled: () => Promise; /** * Check if the CLI is globally installed via npm */ export declare function canCliBeAutoUpgraded(): Promise; export declare function getLatestCliVersion(): Promise<{ latest: string | null; next: string | null; }>; /** * Get update information using update-notifier */ export declare function getCliUpgradeInfo(): CLIUpgradeInfo; /** * Install a specific version of the CLI globally */ export declare function installCliVersion(version?: string): Promise;