UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

22 lines 1.01 kB
import { r as OpenClawConfig } from "./types.openclaw-BdCLfP4c.js"; import { n as RuntimeEnv } from "./runtime-DlqUc5_p.js"; import "./config-OY7NIjWm.js"; import "./model-selection-CI7zzVMC.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 };