import { r as OpenClawConfig } from "./types.openclaw-Cv-8Xdxq.js";
import { n as RuntimeEnv } from "./runtime-DlqUc5_p.js";
import "./config-D58Uw46T.js";
import "./model-selection-BRUYsZr0.js";
//#region src/config/logging.d.ts
type LogConfigUpdatedOptions = {
  path?: string;
  backupPath?: string | false;
  suffix?: string;
};
/** Emits the standard config-updated message through the active runtime logger. */
declare function logConfigUpdated(runtime: RuntimeEnv, opts?: LogConfigUpdatedOptions): void;
//#endregion
//#region src/commands/models/shared.d.ts
/** Runtime config snapshot supplied to model config mutators. */
type UpdateConfigContext = {
  runtimeConfig: OpenClawConfig;
};
/** Reads source config, applies a mutator, and writes only the source-form config. */
declare function updateConfig(mutator: (cfg: OpenClawConfig, context: UpdateConfigContext) => OpenClawConfig | Promise<OpenClawConfig>): Promise<OpenClawConfig>;
//#endregion
export { logConfigUpdated as n, updateConfig as t };