import {
  require_ai_agents_runtime
} from "../chunk-JENQHXFI.js";
import {
  authorize,
  createApiClient,
  createApiHandle,
  expand
} from "../chunk-6AO46HG5.js";
import "../chunk-YPSWSI3M.js";

// src/apis/ai-agents.ts
var loadDefinition = () => {
  const mod = require_ai_agents_runtime();
  return expand(mod.default ?? mod);
};
var _instance = null;
var resolve = () => {
  if (!_instance) {
    const def = loadDefinition();
    _instance = createApiClient({ definition: def, apiName: "aiAgents" });
  }
  return _instance;
};
var _handle = createApiHandle({
  resolveClient: resolve,
  createClient: () => createApiClient({ definition: loadDefinition(), apiName: "aiAgents" }),
  apiName: "aiAgents"
});
var getClient = _handle.getClient;
var createClient = _handle.createClient;
var aiAgents = _handle;
export {
  aiAgents,
  authorize,
  createClient,
  getClient
};
