import type { Command } from 'commander'; import { type RuntimeInstallOptions, type RuntimeStatus } from '../runtime-management/managed-runtime.js'; import { type RuntimeUpgradeStatusResponse } from '../../shared/runtime-upgrade.js'; interface RuntimeCliOptions { channel?: string; dashboardHost?: string; dashboardPort?: number; drainTimeoutMs?: number; force?: boolean; idleTimeoutMs?: number; logPath?: string; npm?: string; browser?: boolean; only?: 'agent' | 'web'; packageName?: string; previousStartedAt?: string; previousVersion?: string; releaseTrack?: string; runtimeDir?: string; skipInstall?: boolean; targetVersion?: string; version?: string; verifyTimeoutMs?: number; } type ServiceCommand = 'install' | 'restart' | 'start' | 'status' | 'stop' | 'uninstall'; interface RuntimeInstallForServiceResult { paths: RuntimeStatus['paths']; previousInstalled: boolean; previousVersion?: string; runtimeChanged: boolean; version: string; } export declare function registerRuntimeCommand(program: Command): void; export declare function registerTopLevelRuntimeCommands(program: Command): void; export declare function runtimeInstallOptions(options: RuntimeCliOptions, defaults?: { defaultChannel?: string; defaultVersion?: string; }): RuntimeInstallOptions; export declare function printRuntimeStatus(status: RuntimeStatus): void; export declare function printUpgradeStatus(status: RuntimeUpgradeStatusResponse): void; export declare function serviceCommandAfterRuntimeInstall(command: ServiceCommand, install: Pick | undefined): ServiceCommand; export declare function dashboardUrl(host: string, port: number): string; export declare function dashboardLaunchCommand(url: string, platform: NodeJS.Platform): { command: string; args: string[]; }; export {}; //# sourceMappingURL=runtime-cli.d.ts.map