import { i as OpenClawConfig } from "../types.openclaw-oSBece7v.js"; import { n as PluginMetadataSnapshot } from "../plugin-metadata-snapshot.types-0_3PfPMQ.js"; //#region src/agents/models-config-state.d.ts type ModelsJsonReadyResult = { agentDir: string; wrote: boolean; }; //#endregion //#region src/agents/models-config.d.ts type EnsureOpenClawModelsJsonOptions = { pluginMetadataSnapshot?: Pick; workspaceDir?: string; providerDiscoveryProviderIds?: readonly string[]; providerDiscoveryTimeoutMs?: number; providerDiscoveryEntriesOnly?: boolean; }; /** Best-effort chmod for generated models.json and plugin catalog files. */ /** Ensures models.json and plugin catalog sidecars are current for an agent. */ declare function ensureOpenClawModelsJson(config?: OpenClawConfig, agentDirOverride?: string, options?: EnsureOpenClawModelsJsonOptions): Promise; //#endregion export { ensureOpenClawModelsJson };