/**
 * Provider detection from model name strings.
 */
import type { ProviderName } from './types';
/**
 * Detect the LLM provider from a model name string.
 *
 * - gpt-*, o1-*, o3-*, o4-*, chatgpt-* → openai
 * - claude-* → anthropic
 * - everything else → openai-compatible (Groq, Together, local, etc.)
 */
export declare function detectProvider(model: string): ProviderName;
/**
 * Resolve the API key for a given provider.
 */
export declare function resolveApiKey(provider: ProviderName): string | undefined;
