/** * LLM Provider configurations for ralph-starter */ export type LLMProvider = 'anthropic' | 'openai' | 'openrouter'; export interface ProviderConfig { name: LLMProvider; displayName: string; envVar: string; apiUrl: string; defaultModel: string; consoleUrl: string; } /** * Model alias map for OpenRouter. * Users can pass short names (e.g. "sonnet", "gpt-4o") and they resolve * to fully-qualified OpenRouter model IDs. * * Any full OpenRouter model ID (containing '/') is passed through as-is, * so ALL OpenRouter models are supported. These aliases are convenience * shortcuts for the most popular models. * * Rankings source: https://openrouter.ai/rankings */ export declare const OPENROUTER_MODEL_ALIASES: Record; /** * Resolve a model name to a fully-qualified OpenRouter model ID. * If the name is already a full ID (contains '/'), it's returned as-is. */ export declare function resolveOpenRouterModel(model: string): string; export declare const PROVIDERS: Record; export declare const PROVIDER_NAMES: LLMProvider[]; /** * Auto-detect available provider from environment variables * Returns the first provider with an available API key, or null */ export declare function detectProviderFromEnv(): LLMProvider | null; /** * Get API key for a provider from environment */ export declare function getProviderKeyFromEnv(provider: LLMProvider): string | null; //# sourceMappingURL=providers.d.ts.map