import type { ProviderDefinition } from "./types.js"; /** * The single per-provider list. Adding a provider = create `./providers/.ts` * and add its export here. Every legacy structure (`KnownProvider`/`OAuthProvider` * unions, descriptors, env map, login list, refresh/login dispatch, CLI callback * maps) is derived from this registry. Order matches the interactive `/login` * list for the loginable providers; non-login model providers are appended. */ declare const ALL: ({ readonly id: "aiand"; readonly name: "ai&"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "aimlapi"; readonly name: "AIML API"; } | { readonly id: "alibaba-coding-plan"; readonly name: "Alibaba Coding Plan"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly getApiKey: (credentials: import("./oauth/index.js").OAuthCredentials) => string; } | { readonly id: "alibaba-token-plan"; readonly name: "QwenCloud Token Plan"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "amazon-bedrock"; readonly name: "Amazon Bedrock"; readonly envKeys: () => string | undefined; readonly mapSimpleOptions: (options: import("../index.js").SimpleStreamOptions) => { region: string | undefined; profile: string | undefined; bearerToken: string | undefined; }; } | { readonly id: "anthropic"; readonly name: "Anthropic (Claude Pro/Max)"; readonly envKeys: () => string | undefined; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly callbackPort: 54545; readonly pasteCodeFlow: true; } | { readonly id: "azure"; readonly name: "Azure OpenAI"; } | { readonly id: "baseten"; readonly name: "Baseten"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "bedrock-mantle"; readonly name: "Amazon Bedrock Mantle"; readonly envKeys: typeof import("./aws.js").resolveAwsRegistryApiKey; readonly allowsMissingApiKey: true; readonly prepareRequest: (model: import("@oh-my-pi/pi-catalog").Model, options: import("../index.js").StreamOptions) => import("../providers/bedrock-mantle.js").PreparedBedrockMantleRequest; readonly mapSimpleOptions: (options: import("../index.js").SimpleStreamOptions) => { providerOptions: Readonly> | undefined; }; readonly prepareModelDiscovery: (config: import("./types.js").ProviderModelDiscoveryConfig) => { baseUrl?: string; fetch?: import("@oh-my-pi/pi-utils").FetchImpl; apiKey: undefined; authenticated: false; } | { authenticated: true; baseUrl: string; fetch: import("@oh-my-pi/pi-utils").FetchImpl; }; } | { readonly id: "cerebras"; readonly name: "Cerebras"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "cloudflare-ai-gateway"; readonly name: "Cloudflare AI Gateway"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "coreweave"; readonly name: "CoreWeave Serverless Inference"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "cursor"; readonly name: "Cursor (Claude, GPT, etc.)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; } | { readonly id: "deepseek"; readonly name: "DeepSeek"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "devin"; readonly name: "Devin"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly callbackPort: 59653; readonly pasteCodeFlow: true; } | { readonly id: "exa"; readonly name: "Exa"; readonly envKeys: "EXA_API_KEY"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "firepass"; readonly name: "Fire Pass (Fireworks Kimi K2.6 Turbo subscription)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "fireworks"; readonly name: "Fireworks"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "github-copilot"; readonly name: "GitHub Copilot"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; } | { readonly id: "gitlab-duo"; readonly name: "GitLab Duo Non-Agentic"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly callbackPort: 8080; readonly pasteCodeFlow: true; } | { readonly id: "gitlab-duo-agent"; readonly name: "GitLab Duo Agent"; readonly envKeys: "GITLAB_TOKEN"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly callbackPort: 8080; readonly pasteCodeFlow: true; } | { readonly id: "gmi-cloud"; readonly name: "GMI Cloud"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "google"; readonly name: "Google Gemini"; } | { readonly id: "google-antigravity"; readonly name: "Antigravity (Gemini 3, Claude, GPT-OSS)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly callbackPort: 51121; readonly pasteCodeFlow: true; } | { readonly id: "google-gemini-cli"; readonly name: "Google Cloud Code Assist (Gemini CLI)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly callbackPort: 8085; readonly pasteCodeFlow: true; } | { readonly id: "google-vertex"; readonly name: "Google Vertex AI"; readonly envKeys: () => string | undefined; } | { readonly id: "groq"; readonly name: "Groq"; } | { readonly id: "huggingface"; readonly name: "Hugging Face Inference"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "kagi"; readonly name: "Kagi"; readonly envKeys: "KAGI_API_KEY"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "kilo"; readonly name: "Kilo Gateway"; readonly login: typeof import("./kilo.js").loginKilo; } | { readonly id: "kimi-code"; readonly name: "Kimi Code"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; } | { readonly id: "litellm"; readonly name: "LiteLLM"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "llama.cpp"; readonly name: "llama.cpp (Local OpenAI-compatible)"; readonly envKeys: "LLAMA_CPP_API_KEY"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "lm-studio"; readonly name: "LM Studio (Local OpenAI-compatible)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "meta"; readonly name: "Meta Model API"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "minimax"; readonly name: "MiniMax"; } | { readonly id: "minimax-code"; readonly name: "MiniMax Token Plan (International)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "minimax-code-cn"; readonly name: "MiniMax Token Plan (China)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "mistral"; readonly name: "Mistral"; } | { readonly id: "moonshot"; readonly name: "Moonshot (Kimi API)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "nanogpt"; readonly name: "NanoGPT"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { id: "novita"; name: string; login: (options: import("./oauth/index.js").OAuthController) => Promise; } | { readonly id: "nvidia"; readonly name: "NVIDIA"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "ollama"; readonly name: "Ollama (Local OpenAI-compatible)"; readonly login: typeof import("./ollama.js").loginOllama; } | { readonly id: "ollama-cloud"; readonly name: "Ollama Cloud"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "openai"; readonly name: "OpenAI"; } | { readonly id: "openai-codex"; readonly name: "ChatGPT Plus/Pro (Codex Subscription)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly callbackPort: 1455; readonly pasteCodeFlow: true; } | { readonly id: "openai-codex-device"; readonly name: "ChatGPT Plus/Pro (Codex, headless/device)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; readonly storeCredentialsAs: "openai-codex"; } | { readonly id: "opencode-go"; readonly name: "OpenCode Go"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "opencode-zen"; readonly name: "OpenCode Zen"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "openrouter"; readonly name: "OpenRouter"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "parallel"; readonly name: "Parallel"; readonly envKeys: "PARALLEL_API_KEY"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "perplexity"; readonly name: "Perplexity (Pro/Max)"; readonly envKeys: "PERPLEXITY_API_KEY"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "qianfan"; readonly name: "Qianfan"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "qwen-portal"; readonly name: "Qwen Portal"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "sakana"; readonly name: "Sakana AI"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "siliconflow"; readonly name: "SiliconFlow"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "siliconflow-cn"; readonly name: "SiliconFlow (China)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "synthetic"; readonly name: "Synthetic"; readonly login: (options: import("./oauth/index.js").OAuthController) => Promise; } | { readonly id: "tavily"; readonly name: "Tavily"; readonly envKeys: "TAVILY_API_KEY"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "together"; readonly name: "Together"; readonly login: (cb: Parameters[0]) => Promise; } | { readonly id: "umans"; readonly name: "Umans AI Coding Plan"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "venice"; readonly name: "Venice"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "vercel-ai-gateway"; readonly name: "Vercel AI Gateway"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "vllm"; readonly name: "vLLM (Local OpenAI-compatible)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "wafer-serverless"; readonly name: "Wafer Serverless (pay-as-you-go)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "xai"; readonly name: "xAI API"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "xai-oauth"; readonly name: "xAI Grok OAuth (SuperGrok or X Premium+)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth/index.js").OAuthCredentials) => Promise; } | { readonly id: "xiaomi"; readonly name: "Xiaomi MiMo"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "xiaomi-token-plan-ams"; readonly name: "Xiaomi Token Plan (Europe)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "xiaomi-token-plan-cn"; readonly name: "Xiaomi Token Plan (China)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "xiaomi-token-plan-sgp"; readonly name: "Xiaomi Token Plan (Singapore)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "zai"; readonly name: "Z.AI (GLM Coding Plan)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "zai-coding-plan"; readonly name: "Z.AI (GLM Coding Plan · Sign in)"; readonly storeCredentialsAs: "zai"; readonly callbackPort: 54548; readonly pasteCodeFlow: true; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "zenmux"; readonly name: "ZenMux"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; } | { readonly id: "zhipu-coding-plan"; readonly name: "Zhipu Coding Plan (智谱)"; readonly login: (cb: import("./oauth/index.js").OAuthLoginCallbacks) => Promise; })[]; export type RegistryDef = (typeof ALL)[number]; export declare const PROVIDER_REGISTRY: readonly ProviderDefinition[]; export declare function getProviderDefinition(id: string): ProviderDefinition | undefined; /** Loginable providers (those carrying a `login` flow). */ export type OAuthProviderUnion = Extract["id"]; export {};