import type { PreferenceKey } from "./config.js"; import type { WandConfig } from "./types.js"; export declare const DEPLOYMENT_CONFIG_KEYS: readonly ["host", "port", "https", "shell"]; export type DeploymentConfigKey = (typeof DEPLOYMENT_CONFIG_KEYS)[number]; /** Keeps the active process configuration separate from values persisted for the next restart. */ export declare class RuntimeConfigState { readonly activeConfig: WandConfig; private desiredConfig; constructor(activeConfig: WandConfig); desiredSnapshot(): WandConfig; createCandidate(): WandConfig; commit(candidate: WandConfig, hotPreferenceKeys: Iterable): void; hasPendingRestart(candidate?: WandConfig): boolean; activeDeployment(): Pick; desiredDeployment(candidate?: WandConfig): Pick; }