import { type AnthropicProvider } from '@ai-sdk/anthropic';
import { type GoogleGenerativeAIProvider } from '@ai-sdk/google';
import { type OpenAICompatibleProvider } from '@ai-sdk/openai-compatible';
import { type Agent } from 'undici';
import type { AIProviderConfig } from '../../types/index.js';
export type AIProvider = OpenAICompatibleProvider<string, string, string, string> | GoogleGenerativeAIProvider | AnthropicProvider;
/**
 * Creates an AI SDK provider based on the sdkProvider configuration.
 * Defaults to 'openai-compatible' if not specified.
 */
export declare function createProvider(providerConfig: AIProviderConfig, undiciAgent: Agent): AIProvider;
//# sourceMappingURL=provider-factory.d.ts.map