import type { ProviderDefinition } from "./types"; /** * 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: "aimlapi"; readonly name: "AIML API"; } | { readonly id: "alibaba-coding-plan"; readonly name: "Alibaba Coding Plan"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly getApiKey: (credentials: import("./oauth").OAuthCredentials) => string; } | { readonly id: "amazon-bedrock"; readonly name: "Amazon Bedrock"; readonly envKeys: () => "" | undefined; } | { readonly id: "anthropic"; readonly name: "Anthropic (Claude Pro/Max)"; readonly envKeys: () => string | undefined; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; readonly callbackPort: 54545; readonly pasteCodeFlow: true; } | { readonly id: "azure"; readonly name: "Azure OpenAI"; } | { readonly id: "cerebras"; readonly name: "Cerebras"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "cloudflare-ai-gateway"; readonly name: "Cloudflare AI Gateway"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "coreweave"; readonly name: "CoreWeave Serverless Inference"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "cursor"; readonly name: "Cursor (Claude, GPT, etc.)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; } | { readonly id: "deepseek"; readonly name: "DeepSeek"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "devin"; readonly name: "Devin"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly callbackPort: 59653; readonly pasteCodeFlow: true; } | { readonly id: "firepass"; readonly name: "Fire Pass (Fireworks Kimi K2.6 Turbo subscription)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "fireworks"; readonly name: "Fireworks"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "github-copilot"; readonly name: "GitHub Copilot"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; } | { readonly id: "gitlab-duo"; readonly name: "GitLab Duo Non-Agentic"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").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").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; readonly callbackPort: 8080; readonly pasteCodeFlow: true; } | { readonly id: "google"; readonly name: "Google Gemini"; } | { readonly id: "google-antigravity"; readonly name: "Antigravity (Gemini 3, Claude, GPT-OSS)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").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").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").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").OAuthLoginCallbacks) => Promise; } | { readonly id: "kagi"; readonly name: "Kagi"; readonly envKeys: "KAGI_API_KEY"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "kilo"; readonly name: "Kilo Gateway"; readonly login: typeof import("./kilo").loginKilo; } | { readonly id: "kimi-code"; readonly name: "Kimi Code"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; } | { readonly id: "litellm"; readonly name: "LiteLLM"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "llama.cpp"; readonly name: "llama.cpp (Local OpenAI-compatible)"; readonly envKeys: "LLAMA_CPP_API_KEY"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "lm-studio"; readonly name: "LM Studio (Local OpenAI-compatible)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "minimax"; readonly name: "MiniMax"; } | { readonly id: "minimax-code"; readonly name: "MiniMax Token Plan (International)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "minimax-code-cn"; readonly name: "MiniMax Token Plan (China)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "mistral"; readonly name: "Mistral"; } | { readonly id: "moonshot"; readonly name: "Moonshot (Kimi API)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "nanogpt"; readonly name: "NanoGPT"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "nvidia"; readonly name: "NVIDIA"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "ollama"; readonly name: "Ollama (Local OpenAI-compatible)"; readonly login: typeof import("./ollama").loginOllama; } | { readonly id: "ollama-cloud"; readonly name: "Ollama Cloud"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "openai"; readonly name: "OpenAI"; } | { readonly id: "openai-codex"; readonly name: "ChatGPT Plus/Pro (Codex Subscription)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").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").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; readonly storeCredentialsAs: "openai-codex"; } | { readonly id: "opencode-go"; readonly name: "OpenCode Go"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "opencode-zen"; readonly name: "OpenCode Zen"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "openrouter"; readonly name: "OpenRouter"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "parallel"; readonly name: "Parallel"; readonly envKeys: "PARALLEL_API_KEY"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "perplexity"; readonly name: "Perplexity (Pro/Max)"; readonly envKeys: "PERPLEXITY_API_KEY"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "qianfan"; readonly name: "Qianfan"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "qwen-portal"; readonly name: "Qwen Portal"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "sakana"; readonly name: "Sakana AI"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "synthetic"; readonly name: "Synthetic"; readonly login: (options: import("./oauth").OAuthController) => Promise; } | { readonly id: "tavily"; readonly name: "Tavily"; readonly envKeys: "TAVILY_API_KEY"; readonly login: (cb: import("./oauth").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").OAuthLoginCallbacks) => Promise; } | { readonly id: "venice"; readonly name: "Venice"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "vercel-ai-gateway"; readonly name: "Vercel AI Gateway"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "vllm"; readonly name: "vLLM (Local OpenAI-compatible)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "wafer-serverless"; readonly name: "Wafer Serverless (pay-as-you-go)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "xai"; readonly name: "xAI"; } | { readonly id: "xai-oauth"; readonly name: "xAI Grok OAuth (SuperGrok Subscription)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; readonly refreshToken: (credentials: import("./oauth").OAuthCredentials) => Promise; } | { readonly id: "xiaomi"; readonly name: "Xiaomi MiMo"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "xiaomi-token-plan-ams"; readonly name: "Xiaomi Token Plan (Europe)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "xiaomi-token-plan-cn"; readonly name: "Xiaomi Token Plan (China)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "xiaomi-token-plan-sgp"; readonly name: "Xiaomi Token Plan (Singapore)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "zai"; readonly name: "Z.AI (GLM Coding Plan)"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "zenmux"; readonly name: "ZenMux"; readonly login: (cb: import("./oauth").OAuthLoginCallbacks) => Promise; } | { readonly id: "zhipu-coding-plan"; readonly name: "Zhipu Coding Plan (智谱)"; readonly login: (cb: import("./oauth").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 {};