import { i as OpenClawConfig } from "./types.openclaw-lNZZW1-s.js";
import { s as ModelDefinitionConfig } from "./types.models-Nc1Z-tAz.js";
//#region extensions/cloudflare-ai-gateway/onboard.d.ts
/**
 * Builds the minimal config patch for provider setup and default model aliasing.
 */
declare function buildCloudflareAiGatewayConfigPatch(params: {
  accountId: string;
  gatewayId: string;
}): {
  models: {
    providers: {
      "cloudflare-ai-gateway": {
        baseUrl: string;
        api: "anthropic-messages";
        models: ModelDefinitionConfig[];
      };
    };
  };
  agents: {
    defaults: {
      models: {
        "cloudflare-ai-gateway/claude-sonnet-4-6": {
          alias: string;
        };
      };
    };
  };
};
/**
 * Applies provider model config while preserving existing agent model aliases.
 */
declare function applyCloudflareAiGatewayProviderConfig(cfg: OpenClawConfig, params?: {
  accountId?: string;
  gatewayId?: string;
}): OpenClawConfig;
/**
 * Applies Cloudflare AI Gateway config and makes its default model primary.
 */
declare function applyCloudflareAiGatewayConfig(cfg: OpenClawConfig, params?: {
  accountId?: string;
  gatewayId?: string;
}): OpenClawConfig;
//#endregion
export { applyCloudflareAiGatewayProviderConfig as n, buildCloudflareAiGatewayConfigPatch as r, applyCloudflareAiGatewayConfig as t };