/**
 * Crewly Upgrade Command
 *
 * Provides a convenient way to check for and install the latest version
 * of Crewly from npm. Supports a --check flag for dry-run inspection
 * and --pro flag for installing Pro addon from a local tarball.
 *
 * @module cli/commands/upgrade
 */
/**
 * Options for the upgrade command
 */
interface UpgradeOptions {
    /** When true, only check for updates without installing */
    check?: boolean;
    /** When true, install the Pro addon instead of upgrading core */
    pro?: boolean;
    /** Cloud API token for downloading Pro addon */
    token?: string;
    /** Local path to a .tar.gz addon file */
    source?: string;
}
/**
 * Installs the Pro addon from a local tarball.
 *
 * Extracts the tarball into ~/.crewly/addons/crewly-pro/ and verifies
 * that a valid manifest.json exists in the extracted output.
 *
 * @param tarballPath - Absolute path to the .tar.gz file
 * @throws Error if tarball does not exist, extraction fails, or manifest is missing
 */
export declare function installProAddon(tarballPath: string): Promise<void>;
/**
 * Runs the upgrade command.
 *
 * With --check: queries npm for the latest version and prints the result.
 * With --pro: installs the Pro addon from a local tarball or Cloud API.
 * Without flags: runs `npm install -g crewly@latest` to upgrade in place.
 *
 * @param options - Command options
 */
export declare function upgradeCommand(options: UpgradeOptions): Promise<void>;
export {};
//# sourceMappingURL=upgrade.d.ts.map