import {
  getConfig
} from "./chunk-2MAQ6JFL.js";

// src/backends/pi/auth.ts
function buildPiAuthEnv() {
  const cfg = getConfig();
  const env = {};
  if (cfg.anthropicApiKey) env.ANTHROPIC_API_KEY = cfg.anthropicApiKey;
  if (cfg.openAiApiKey) env.OPENAI_API_KEY = cfg.openAiApiKey;
  if (cfg.geminiApiKey) env.GEMINI_API_KEY = cfg.geminiApiKey;
  return env;
}
function validatePiRuntime() {
  return null;
}

export {
  buildPiAuthEnv,
  validatePiRuntime
};
