import { type RuntimeState } from './config.js'; import { type LaunchSpec } from './launch-spec.js'; export declare function validateRuntimeLaunchSpecIdentity(spec: LaunchSpec, runtime: RuntimeState): void; export declare function validateUpgradeLaunchSpec(spec: LaunchSpec, runtime: RuntimeState): void; export declare function snapshotUpgradeLaunchSpec(runtime: RuntimeState): string; export declare function refreshRuntimeLaunchSpecDir(runtime: RuntimeState, newDir: string, refreshHost?: (spec: LaunchSpec) => void): RuntimeState; export declare function refreshRuntimeLaunchSpecDeviceName(runtime: RuntimeState, deviceName: string | undefined, refreshHost?: (spec: LaunchSpec) => void): RuntimeState; export declare function restartAgentFromLaunchSpec(launchSpecPath: string, cliScriptPath: string): void;