/**
 * Update command for Night Watch CLI
 * Reinstalls global CLI and refreshes cron entries for one or more projects.
 */
import { Command } from 'commander';
export declare const DEFAULT_GLOBAL_SPEC = "@jonit-dev/night-watch-cli@latest";
export interface IUpdateOptions {
    projects?: string;
    globalSpec: string;
    global?: boolean;
}
/**
 * Parse project directories from a comma-separated CLI option.
 * Defaults to current working directory when option is omitted.
 */
export declare function parseProjectDirs(projects: string | undefined, cwd: string): string[];
export declare function shouldInstallGlobal(options: Pick<IUpdateOptions, 'global'>): boolean;
/**
 * Register update command.
 */
export declare function updateCommand(program: Command): void;
//# sourceMappingURL=update.d.ts.map